Hi Toby,
I'm still not getting how to do this.
I have the page types made, I am looking to view the same content on the Page.ss in the site, but if the setup is different, I want to call up the content into PagePopup.ss
Can you explain a little more based on what I am trying to do here please?
I have a site that will navigate normally with navigation buttons. At the bottom are the disclaimer links. These links open up their content on Page.ss. All good.
However, there is an option I have setup that allow the user to remove the navigation to generate a one page capture page if they like. The disclaimers links are still in place, but because I do not want to show navigation, I have made another page PagePopup.ss which does not include navigation.
When the user chooses the option to have no navigation, I have an if statement in the Page.ss file to one set of hrefs or another set with javascript popups. I am hoping to open the popups into PagePopup.ss. I have this done... see below.
I hope this helps, but I am not understanding the URLSegment or how it is used to get what I am after here.
Thank you,
Steve
<% if ShowMyFooter %>
<div>$callSocialScripts.SocialScripts</div>
<div class="typography">$callGlobalFooter.MyFooter</div>
<% end_if %>
<% if ShowFootNav %>
<div id="disclaimer"><a href="disclaimer/" target="_top">Disclaimer</a> <span style="color:#666;">|</span> <a href="terms-of-use/" target="_top">Terms of Use</a> <span style="color:#666;">|</span> <a href="income-disclaimer/" target="_top">Income Disclaimer</a> <span style="color:#666;">|</span> <a href="privacy-policy/" target="_top">Privacy Policy</a></div>
<% else %>
<div id="disclaimer">
<a href="disclaimer/?t=12" onclick="javascript:void window.open('disclaimer','1262634071452','width=860,height=500,toolbar=0,menubar=0,location=0,status=0,scrollbars=1,resizable=1');return false;">Disclaimer</a> <span style="color:#666;">|</span> <a href="terms-of-use/" onclick="javascript:void window.open('terms-of-use/','1262634071452','width=860,height=500,toolbar=0,menubar=0,location=0,status=0,scrollbars=1,resizable=1');return false;">Terms of Use</a> <span style="color:#666;">|</span> <a href="income-disclaimer/" onclick="javascript:void window.open('income-disclaimer/','1262634071452','width=860,height=500,toolbar=0,menubar=0,location=0,status=0,scrollbars=1,resizable=1');return false;">Income Disclaimer</a> <span style="color:#666;">|</span> <a href="privacy-policy/" onclick="javascript:void window.open('privacy-policy/','1262634071452','width=860,height=500,toolbar=0,menubar=0,location=0,status=0,scrollbars=1,resizable=1');return false;">Privacy Policy</a></div>
<% end_if %>