Forums / General Questions / Contact Us link in the Information Box has no SSL

Contact Us link in the Information Box has no SSL

Started by rjugalbot on 19 Jan 2012, 9:47 AM · Views: 541

Results 1 to 4 of 4
19 Jan 2012, 9:47 AM
#1
rjugalbot avatar

rjugalbot

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.

19 Jan 2012, 11:53 AM
#2
usernamenone avatar

usernamenone

Totally Zenned

Join Date:
Sep 2006
Posts:
541
Plugin Contributions:
0

Re: Contact Us link in the Information Box has no SSL

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.
19 Jan 2012, 2:34 PM
#3
rjugalbot avatar

rjugalbot

New Zenner

Join Date:
Jan 2012
Posts:
14
Plugin Contributions:
0

Re: Contact Us link in the Information Box has no SSL

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.

19 Jan 2012, 5:09 PM
#4
usernamenone avatar

usernamenone

Totally Zenned

Join Date:
Sep 2006
Posts:
541
Plugin Contributions:
0

Re: Contact Us link in the Information Box has no SSL

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.