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

Forums / 3.x Pre-release forums (retired) / Adding Non-Sitefinity Pages to Site

Adding Non-Sitefinity Pages to Site

11 posts, 0 answered
  1. Ben Alexandra
    Ben Alexandra avatar
    215 posts
    Registered:
    15 Sep 2012
    13 Jan 2007
    Link to this post
    Hi,

    Is it possible to add .aspx pages that are outside of Sitefinity?  What I mean is this.  What if I want to create a page in VS2005 and put in my root (e.g. ~/test_page.aspx) that maybe has some custom content or a redirect to an outside site, or something.  Currently, if I do it and put a link to it in Sitefinity the SF page comes up, not the real .net page.  Is there any way to get real pages to fire before pages out of the database?

    Another example of this is actually more important:  I have a shopping cart that is written in 1.1 and is in a sub-folder called ~/shop/.  The problem is that if I go to the shopping cart folder (which has its own web.config and is set to be a 1.1 site), I get an error from Sitefinity saying:

    Line 11: <configSections>
    Line 12: <sectionGroup name="telerik">
    Line 13: <section name="cmsEngine" type="Telerik.Cms.Engine.Configuration.SectionHandler, Telerik.Cms.Engine" requirePermission="false"/>
    Line 14: <section name="security" type="Telerik.Security.SecuritySectionHandler, Telerik.Security" requirePermission="false"/>
    Line 15: <section name="nolics" type="Telerik.DataAccess.ConnectionSectionHandler, Telerik.DataAccess" requirePermission="false"/>


    Any ideas how to get the 1.1 sub-folder to ignore the parent folder and not be handled by Sitefinity at all?

    Thanks a bunch!

    Ben
  2. Vlad
    Vlad avatar
    498 posts
    Registered:
    15 Jul 2016
    15 Jan 2007
    Link to this post
    Hello Ben,

    You are right, it is possible to have pages outside of Sitefinity, but such a page can be requested only if a page with the same link does not exist in the Sitefinity database. Currently you cannot change this behavior.

    As for your second question:
    Unfortunately, you cannot ignore the parent application configuration. It is normal to get such errors in the web.config, because some of the configuration elements are new in .NET 2.0 and were not supported in 1.1, so the sub-application cannot recognize them.
    The only tips we can currently give you are:
    • convert the shopping cart application from 1.1 to 2.0 or find a .NET 2.0 version
    • move the shopping cart out of the Sitefinity web site
    In the future we will provide a shopping cart module with Sitefinity.

    Sorry for not being able to help you any further.

    Kind regards,
    Vlad
    the telerik team
  3. Ben Alexandra
    Ben Alexandra avatar
    215 posts
    Registered:
    15 Sep 2012
    15 Jan 2007
    Link to this post
    Hi,

    I don't seem to be able to add non-Sitefinity pages.  If I create an actual page, such as ~/test.aspx and link to it, it comes up with the Sitefinity page, not the real page there.  If I put a real page, say ~/test2.aspx but don't link to it, I do get the page, but that doesn't help me, as I'd like it show up in the menus.

    Also, what's the proper way to have links from multiple locations to a single page?  For example, lets say I want to put a link to Contact Us from each menu in the system, how would I do it?  Currently the DB won't allow for multiple records to have the same URL.  I guess that's so if someone goes to the page it knows which content to pull.  Seems like you need a LINK page.  Not just a page with content, but the ability to link to existing pages from other menus and to link to outside sites.  Right?

    Thanks

    Ben
  4. Sean
    Sean avatar
    271 posts
    Registered:
    31 May 2006
    15 Jan 2007
    Link to this post
    Hi,

    For your shopping cart problem what about using the

    <location inheritInChildApplications=”false”>

    In the web.config as described here: http://aspadvice.com/blogs/ssmith/archive/2006/08/21/HttpModule-Breaks-SubApplications-Problem-Solved.aspx

    I know this only talks about http modules but I have wrapped this around all sorts of values that I don't want to propagate down to the child apps...

    Sean
  5. Ben Alexandra
    Ben Alexandra avatar
    215 posts
    Registered:
    15 Sep 2012
    15 Jan 2007
    Link to this post
    Hi Sean,

    That sounds like exactly what i'm looking for.  It says, however, that it's 2.0 feature.  I'll try it anyways, but am not hopeful, as the shopping cart is a 1.1 cart

    Thanks, though

    Ben
  6. Ben Alexandra
    Ben Alexandra avatar
    215 posts
    Registered:
    15 Sep 2012
    15 Jan 2007
    Link to this post
    Hi Sean,

    That sounds like exactly what i'm looking for.  It says, however, that it's 2.0 feature.  I'll try it anyways, but am not hopeful, as the shopping cart is a 1.1 cart

    Thanks, though

    Ben
  7. Sean
    Sean avatar
    271 posts
    Registered:
    31 May 2006
    15 Jan 2007
    Link to this post
    Hi Ben,

    Yeah see how it goes, and let me know, unfortunately I uninstalled my VS 2003 the other day so I couldn't check first.  But at least if you put the Telerik config sections and the like inside those tags hopefully it will work, it is quite tricky though because you can't just put the whole config inside the location tag, there are only certain attributes that it works with....
  8. Ben Alexandra
    Ben Alexandra avatar
    215 posts
    Registered:
    15 Sep 2012
    16 Jan 2007
    Link to this post
    Hi Sean,

    Yeah, that didn't work for the shopping cart, but it did work for putting a folder called ~/go/ and making it it's own 2.0 app and then adding your code to the ~/web.config.  When the ~/go/test.aspx page was called, it ran the code in the actual page, not the code in Sitefinity, as had been happening.  Not exactly sure how that's going to help me yet, but thanks! 

    Thanks

    Ben
  9. Ben Alexandra
    Ben Alexandra avatar
    215 posts
    Registered:
    15 Sep 2012
    16 Jan 2007
    Link to this post
    Having a "Link" type page, instead of just Page type page would allow me to do a lot of what I need (link to PDFs, Word docs, outside pages and websites, multiple links to existing Sitefinity pages, etc.).

    Seems like a problem that a lot of people would have, so hopefully it's something they'll be adding.  Has anyone heard?  Does anyone else have this issue, or it just me?

    Thanks

    Ben
  10. Sean
    Sean avatar
    271 posts
    Registered:
    31 May 2006
    16 Jan 2007
    Link to this post
    Hi Ben,

    Well that is good to know that it doesn't work...just so I don't tell anyone else it does :)

    Well hopefully you can find another solution...

    As for External pages which is what you want, it is something that Telerik have said they will be including but is only going to make it into the Release Candidate, even the manual mentions it.  I think it is definitely a useful feature and they are on to it.

    I am also hoping this will let us link to anything.
  11. Ben Alexandra
    Ben Alexandra avatar
    215 posts
    Registered:
    15 Sep 2012
    16 Jan 2007
    Link to this post
    Great.  Hopefully it'll work as we all need.

    Thanks for your help, Sean.

    Ben
Register for webinar
11 posts, 0 answered