Forums / Templates, Stylesheets, Page Layout / Privacy notice link?

Privacy notice link?

Views: 923

Results 1 to 3 of 3
10 Jan 2014, 2:30 AM
#1
lizardleg avatar

lizardleg

New Zenner

Join Date:
Jan 2014
Location:
Lousiana
Posts:
7
Plugin Contributions:
0

Privacy notice link?

I am doing custom headers/footers, and mistakenly took the Privacy link out of my tpl_footer.php page., and need to add it back in.

The define_privacy.php is located in /cart/includes/languages/english/html_includes/custom/, but no matter how I try I cannot get the php link to work in my footer. I get a page that says Privacy Notice or a 404 - and nothing else.

Under admin>tools>define pages>define_privacy.php lists the correct path - cart/includes/languages/english/html_includes/custom/define_privacy.php.

The code I used to pull the link into the footer that isn't working...

<li><?php echo '<a href="' . zen_href_link(FILENAME_PRIVACY_NOTICE, '', 'SSL') . '">' . BOX_INFORMATION_PRIVACY. '</a>'; ?></li>

Help?

10 Jan 2014, 2:40 AM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Privacy notice link?

"define_privacy.php" indicates that the module filename for the page is privacy.php, not privacy_notice.php, and the constant that holds the filename should most likely be FILENAME_PRIVACY, not FILENAME_PRIVACY_NOTICE.

10 Jan 2014, 2:53 AM
#3
lizardleg avatar

lizardleg

New Zenner

Join Date:
Jan 2014
Location:
Lousiana
Posts:
7
Plugin Contributions:
0

Re: Privacy notice link?

DOH! Thanks... need more coffee I guess.

Working now.