+1-888-365-2779
Try Now
More in this section

Forums / Designing & Styling / Module Builder Question

Module Builder Question

6 posts, 0 answered
  1. Exchange
    Exchange avatar
    8 posts
    Registered:
    18 Oct 2012
    18 Oct 2012
    Link to this post
    I'm sure this is an easy one, but, I have built a module that I want to be able to link to an external page, or an internal page within Sitefinity. I am able to create the external link option (simple text field with a regex), but I'm not sure how to link to internal pages.  Any suggestion?


    thanks!
  2. Tim
    Tim avatar
    258 posts
    Registered:
    22 Jun 2011
    19 Oct 2012 in reply to Exchange
    Link to this post
    Exchange,

    I was able to do it like this...
    http://www.sitefinity.com/devnet/forums/developing-with-sitefinity/page-selector#AB_9iZenkkaqV98dskoU_Q

    If this answer was helpful, please click the "Mark as Featured" link in the top right corner of the post.
  3. Exchange
    Exchange avatar
    8 posts
    Registered:
    18 Oct 2012
    26 Oct 2012 in reply to Tim
    Link to this post
    I've seen this and a couple similar, but i have a question. This looks like the code behind on a widget, how can you get to this? I seem to be confused on how to do this.
  4. Tim
    Tim avatar
    258 posts
    Registered:
    22 Jun 2011
    27 Oct 2012 in reply to Exchange
    Link to this post
    From the post: "After creating a dynamic module via Module Builder, a DynamicModulesConfig.config should get generated in the App_Data/Sitefinity/Configurations folder. This should create the views for your dynamic module. There should be 4x views, a BackendList, an BackendInsertView, a BackendPreviewView and a BackendEditView. What I did was to change the view/sections/../field element for an existing TextField."
  5. Exchange
    Exchange avatar
    8 posts
    Registered:
    18 Oct 2012
    31 Oct 2012 in reply to Tim
    Link to this post
    ah, yes. Took me a bit to actually find the right spots. When I asked the question I was actually talking about the other post for the code behind. But this method does work for a single page selection. Do you know if it is possible to allow the user to choose between this method or a static text? Allowing an internal site or external link?
  6. Richard
    Richard avatar
    64 posts
    Registered:
    09 Oct 2012
    07 Nov 2012 in reply to Exchange
    Link to this post
    Exchange did you figure out how to do this? This is what I also need. Or does anyone else have a solution that would work?

    Thanks!
6 posts, 0 answered