GetSimple Support Forum
Link to secure payment page through CMS - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16)
+--- Thread: Link to secure payment page through CMS (/showthread.php?tid=4954)



Link to secure payment page through CMS - bsalva - 2013-07-17

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.


RE: Link to secure payment page through CMS - Timbow - 2013-07-17

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>



RE: Link to secure payment page through CMS - shawn_a - 2013-07-17

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.


RE: Link to secure payment page through CMS - bsalva - 2013-07-17

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.