GetSimple Support Forum

Full Version: Link to secure payment page through CMS
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there any way to modify, or add an external link to the menu? I would like to link to the https version of a single page. The documentation recommends forcing https on the entire site to enable a secure connection. I only want a single page.
The GS Menu generation doesn't have that flexibility. But you can add any link to the end (or beginning) of the menu as part of the menu <ul>, so in your template:
Code:
<ul id="nav">
            <?php get_navigation(return_page_slug()); ?>
            <li> your link here </li>
    </ul>
I guess you could also do some php magic on that page to detect non secure then redirect to ssl page.
No special links needed, but that probably wont work because you might get non secure content warnings.
Thanks Guys,

I think I'll make a feature request for the menu options.

I'll probably make a special template that checks/redirects to secure. I'll fix the content warnings by not linking to non secure elements in that template file. I just wanted to ask around and see if there was a better option.