Results 1 to 10 of 10
  1. #1
    Join Date
    Feb 2011
    Posts
    106
    Plugin Contributions
    0

    Default EZ-Pages -Adding to header menu

    Hi all,
    I have created some new pages using EZ-pages and I have them showing in the sidebox (turned off for now) but how do i add them to the header menus?
    Please see my website here :: https://www.selfbuildplans.co.uk and I have attached a screenshot as i would like the new EZ-pages menu under the more information... or as a new heading below more information, how do i do this?
    Thanks.
    Attached Images Attached Images  
    Last edited by J9MM0; 7 Apr 2020 at 12:28 AM.

  2. #2
    Join Date
    Feb 2011
    Posts
    106
    Plugin Contributions
    0

    Default Re: EZ-Pages -Adding to header menu

    Just giving a nudge, to see if anyone has chance review this for me..?

  3. #3
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    7,068
    Plugin Contributions
    267

    Default Re: EZ-Pages -Adding to header menu

    Does your template have a file called

    includes/templates/YOURTEMPLATE/templates/tpl_modules_mobile_categories_tabs.php

    If so, that's what you want to modify.

    What's the name of your template ?
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.

  4. #4
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    7,068
    Plugin Contributions
    267

    Default Re: EZ-Pages -Adding to header menu

    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.

  5. #5
    Join Date
    Feb 2011
    Posts
    106
    Plugin Contributions
    0

    Default Re: EZ-Pages -Adding to header menu

    Hi swguy,
    Thanks for your advice, I will try to amend that file now.
    Also I have been through the link you provided many times and this doesn't add the pages to the menu.
    I will come back and let you know how I get on.
    Thanks.

  6. #6
    Join Date
    Feb 2011
    Posts
    106
    Plugin Contributions
    0

    Default Re: EZ-Pages -Adding to header menu

    HI swguy,
    your advise was excellent and when i tweak this file it does move the menus around and i've managed to add a new link under the EZ-Page heading but i cant seem to find/get the actual link to the page correct. This is the code:
    Code:
    <ul><li><a href="<?php echo zen_href_link(FILENAME_DRAWING_PACKAGES, '', 'SSL'); ?>"><?php echo EZ_PAGES_Drawing_Packages; ?></a></li>
    </ul>
    I've mostly been guessing the code required...
    Could you advise on the correct code required to get a link to one of the EZ_Pages to work? My EZ_Pages are under the sidebox heading of 'Information' on this page https://www.selfbuildplans.co.uk/ind...=index&cPath=1
    Thanks.

  7. #7
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    7,068
    Plugin Contributions
    267

    Default Re: EZ-Pages -Adding to header menu

    Under your drawing package link you want

    <li><a href="<?php echo zen_href_link(FILENAME_EZPAGES, 'id=11'); ?>"><?php echo "Planning Application Services"; ?></a></li>

    this will link to
    https://www.selfbuildplans.co.uk/ind...age=page&id=11
    Last edited by swguy; 11 Apr 2020 at 08:54 PM.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.

  8. #8
    Join Date
    Feb 2011
    Posts
    106
    Plugin Contributions
    0

    Default Re: EZ-Pages -Adding to header menu

    Hi swguy,
    Thanks very much for the code.
    I've added all thie links into the menu but they all point/load the index page and not the numbered page....?
    I've attached an image of the code for your review.
    Any further help to resolve would be ace.
    Thanks.
    Click image for larger version. 

Name:	EZ Pages Menu Links.jpg 
Views:	6 
Size:	78.2 KB 
ID:	18940

  9. #9
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    7,068
    Plugin Contributions
    267

    Default Re: EZ-Pages -Adding to header menu

    Sorry there was a typo in that code when I originally entered it. Second parameter should be 'id=11' not just '11'.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.

  10. #10
    Join Date
    Feb 2011
    Posts
    106
    Plugin Contributions
    0

    Default Re: EZ-Pages -Adding to header menu

    Brillant, that now works a treat.....thanks swguy.

 

 

Similar Threads

  1. v154 EZ-Pages in Header Menu
    By PudzPud in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 1 Aug 2017, 01:07 PM
  2. Adding new element to header menu
    By GabyWalker in forum Basic Configuration
    Replies: 5
    Last Post: 5 Dec 2013, 09:52 PM
  3. adding pages to header menu
    By alexdog1805 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 6 Mar 2011, 06:06 PM
  4. Adding additional menu links to header.
    By raydeez in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 29 Apr 2009, 11:29 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR