Hi Linda,
So what is the syntax to say allow this page to be viewed? When I use this in my header. This is without changing anything in init_customer_auth.php.
Code:
<li><a href="<?php echo zen_href_link(FILENAME_CONTACT_US, '', '$request_type'); ?>" rel="nofollow">Contact</a></li>
and I click on the link, it works.
but using the exact code and just changing the contact us to conditions, that link doesn't work.
Code:
<li><a href="<?php echo zen_href_link(FILENAME_CONDITIONS, '', '$request_type'); ?>" rel="nofollow">Contact</a></li>
I think I know which area (case) I need to modify. But I'm not sure what the code is to say, allow these pages to be viewed.
Does this code
Code:
(in_array($_GET['main_page'], array(FILENAME_LOGOFF, FILENAME_PRIVACY, FILENAME_PASSWORD_FORGOTTEN, FILENAME_CONTACT_US, FILENAME_CONDITIONS, FILENAME_SHIPPING, FILENAME_UNSUBSCRIBE))):
mean that allow all those files to be viewable?
Sorry for asking so many questions, I'm trying my best to understand this section.
Bookmarks