Add Link to Information in Mega Menu and footer
I have a created a Payment Information page with Define Pages.
I would like to add it to the Mega Menu in the Info/Customer list. I would also like to add the link to the footer under Information.
Generally I can figure out how to make changes, but this one is being a tuffy.
Overall this temp[lte has been very nice to work with.
http://ffpetsupplies.com/
Re: Add Link to Information in Mega Menu and footer
Quote:
Originally Posted by
14all41
I have a created a Payment Information page with Define Pages.
I would like to add it to the Mega Menu in the Info/Customer list. I would also like to add the link to the footer under Information.
Generally I can figure out how to make changes, but this one is being a tuffy.
Overall this temp[lte has been very nice to work with.
http://ffpetsupplies.com/
I am happy that you like the template ;)
You will edit the includes/templates/brighton_pets/common/tpl_mega_menu.php file and the includes/languages/english/extra_definitions/brighton_pets/footer_menu_defines.php file.
Thanks,
Anne
Re: Add Link to Information in Mega Menu and footer
Thanks for the info Anne. I have tried duplicating the existing code to add define_page_2 and the mega menu disappeared. I had a back up file and got it working again. Would you be will to help me with the code in these two mega menu files?
Re: Add Link to Information in Mega Menu and footer
Quote:
Originally Posted by
14all41
Thanks for the info Anne. I have tried duplicating the existing code to add define_page_2 and the mega menu disappeared. I had a back up file and got it working again. Would you be will to help me with the code in these two mega menu files?
You will just add your link in the standard format to the ul group that you want it to appear in :
Code:
<li><a href="your url here">Your link name</a></li>
Thanks,
Anne
Re: Add Link to Information in Mega Menu and footer
<?php if (DEFINE_PAYMENT_OPTIONS <= 1) { ?>
<li><a href="<?php echo zen_href_link(FILENAME_PAGE_2); ?>"><?php echo BOX_INFORMATION_Payment_Options; ?></a></li>
Here is the code I used and the link did appeared, but the link name in the dropdown is showing as BOX_INFORMATION_Payment_Options.
What did I do wrong?