New Zenner
- Join Date:
- Jan 2012
- Posts:
- 14
- Plugin Contributions:
- 0
Contact Us link in the Information Box has no SSL
I just find out that the CONTACT US link in the Information Box has no SSL support.
How do I add SSL support to that link?
Thank you.
Started by rjugalbot on 19 Jan 2012, 9:47 AM · Views: 541
New Zenner
I just find out that the CONTACT US link in the Information Box has no SSL support.
How do I add SSL support to that link?
Thank you.
Totally Zenned
You are absoluty right to be concerned.
includes>modules>sideboxes>information.php
I also put a folder with my template name in the sideboxes.
Find this code
if (DEFINE_CONTACT_US_STATUS <= 1) {
$information[] = '<a href="' . zen_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a>';
and replace with this code
if (DEFINE_CONTACT_US_STATUS <= 1) {
$information[] = '<a href="' . zen_href_link(FILENAME_CONTACT_US, '', 'SSL') . '">' . BOX_INFORMATION_CONTACT . '</a>';
Play with it long enough and you will break it.
New Zenner
usernamenone:
You are absoluty right to be concerned.
includes>modules>sideboxes>information.php
I also put a folder with my template name in the sideboxes.
Find this code
if (DEFINE_CONTACT_US_STATUS <= 1) {
$information[] = '<a href="' . zen_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a>';
>
> and replace with this code
> ```
if (DEFINE_CONTACT_US_STATUS <= 1) {
$information[] = '<a href="' . zen_href_link(FILENAME_CONTACT_US, '', 'SSL') . '">' . BOX_INFORMATION_CONTACT . '</a>';
thanks. done and with SSL support already.
Totally Zenned
Your welcome, anyone else having links elsewhere, header or footer, etc. this is the proper way to link the contact us page
<a href="<?php echo zen_href_link(FILENAME_CONTACT_US, '', 'SSL') ?>">Contact Us</a>
or
<a href="' . zen_href_link(FILENAME_CONTACT_US, '', 'SSL') . '">' . BOX_INFORMATION_CONTACT . '</a>
and again in the
includes>modules>sideboxes>information.php
if (DEFINE_CONTACT_US_STATUS <= 1) {
$information[] = '<a href="' . zen_href_link(FILENAME_CONTACT_US, '', 'SSL') . '">' . BOX_INFORMATION_CONTACT . '</a>';
Play with it long enough and you will break it.
Tell staff why this post should be reviewed.