ASPX templates
Version 2.x > ASPX templates > 2.1b Home Page View modes: 
User avatar
Member
Member
michaelstrauss - 3/12/2007 3:47:17 PM
   
2.1b Home Page
I have a new project in 2.1b. I have exported it to a live server. In the header of my master template I have set the logo as an image button to redirect to the home page (home page uses the master.master and located in the CMSTemplates/MySite directory).
I have set the Default Alias Path in CMSSiteManager to '/home' and created a Page Menu item in CMSDesk called 'home'.

My issue comes up when I click a couple of links into the site and then hit the logo (which uses a PastBackURL of 'http://siteURL' (I've also tried ~/default.aspx). When clicked the site/default.aspx shows up, but with NO content.

Is there something I am missing in order for this simple button click to take me to the home page with it's content?

If you need further info, please let me know.

User avatar
Member
Member
michaelstrauss - 3/16/2007 9:12:41 PM
   
RE:2.1b Home Page
I figured this out by not using the PostBackURL. I simply added an attribute to do 'onclick' and window.open javascript.

Not sure why this worked vs. the PostBackURL that's built into the control, but it did :)