Quote Originally Posted by autoace View Post
Hi Clyde,

I am trying to apply the html name attribute for links in the footer_menu_defines file with no success

In an effort to cut down on non-product pages, I have combined all of my policies to the 2 pages that comes standard with ZC, conditions and privacy. For instance, I placed my returns policy on the same page as my TOS. I need to provide a link that takes the customer to the returns section on the conditions page.

I have tried this:
Define('RETURNS', '<li><a href="'http://www.mydomain.com/index.php?main_page=conditions#returns'");
but it just gets commented out when you add '//' or '#' in the url.

and this:
Define('CONDITIONS','<li><a href="' . zen_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS#returns . '</a></li>');
but again the '#' just comments it all out.

Is there another way of doing it that works? Any help is greatly appreciated.
I haven't tired this but maybe you can use something similiar to the way includes/languages/english/gv_faq.php is set up.

I believe that you'll need to set up the case statements on your conditions page.

Then do the define statements in includes/languages/english/extra_definitions/YOUR_TEMPLATE/footer_menu_defines.php
something like this:

Define('CONDITIONS','<li><a href="' . zen_href_link(FILENAME_CONDITIONS,'faq_item=1','NONSSL') . '">' . BOX_INFORMATION_CONDITIONS . '</a></li>');
Define('RETURNS','<li><a href="' . zen_href_link(FILENAME_CONDITIONS,'faq_item=2','NONSSL') . '">' . BOX_INFORMATION_CONDITIONS . '</a></li>');