Quote Originally Posted by Annie_zaz View Post
Ok So I've managed to change the link text in the menu. Using the includes/templates/responsive_sheffield_blue/templates/tpl_modules_mobile_categories_tabs.php
Now I need to get my links working.
The pages I have created by renaming pages define_page_2,3,4.They show up in Admin>Tools>Define pages.
One of the pages is now called sell_gold.php
These pages are not visible in the EZ pages.
To link to from menu to the page this is what I've done in the tpl_modules_mobile_categories_tabs.php page :
<a href="<?php echo zen_href_link(FILENAME_SELL_GOLD); ?>" class="drop"><?php echo HEADER_TITLE_SELL_GOLD; ?></a>
and I've tried this too:
<a href="http://www.kinectwebdesign.com/ingleburncashexchange/index.php?main_page=sell_gold" class="drop"><?php echo HEADER_TITLE_SELL_GOLD; ?></a>

Both go to a page not found 404 message. Any help appreciated.
I found out what the problem was with the help of this thread https://www.zen-cart.com/showthread....ing-a-New-Page Bunyip's comment made me realise that I had the link format correct but I hadn't completely connected the dots when it came to page creation. I hadn't created the filenames in the includes/extra_datafiles folder and I hadn't put my pages into the templates/template_default/templates folder. That connected all the dots and its all working.

For anyone else this was helpful also https://www.zen-cart.com/wiki/index....ating_the_link

Also for a newbie the correct link format is like this: <a href="<?php echo zen_href_link(FILENAME_SELL_GOLD); ?>" class="drop"><?php echo HEADER_TITLE_SELL_GOLD; ?></a>
If for some reason it takes you to a 404 page not found it means you haven't completed all the necessary steps for page creation.
I hope this helps someone :)