Thread: EZ Pages

Results 1 to 9 of 9
  1. #1
    Join Date
    Sep 2012
    Posts
    196
    Plugin Contributions
    0

    Default EZ Pages

    I am trying to figure out how to add a new page to my site on the header via EZ Pages but so far am not having much luck. I am hoping someone can help me out and lead me to the right direction. I am setting it up on a "test" site first and then if all is well I will do the same on my "live" site. Anyways I went to Tools-EZ Pages-New Page. I clicked edit and renamed it Special Orders. I then clicked the red square under the Header and made it green. I clicked my store and nothing shows on the header or anywhere for that matter. What am I doing wrong?

    Any help is greatly appreciated.

    Thanks
    Mark

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: EZ Pages

    Check that the 'sort order' field in the header selection has a non-zero number in it.

  3. #3
    Join Date
    Sep 2012
    Posts
    196
    Plugin Contributions
    0

    Default Re: EZ Pages

    Quote Originally Posted by stevesh View Post
    Check that the 'sort order' field in the header selection has a non-zero number in it.
    This may be another stupid question but is there a way for me to change where the link / button is on the header. I appreciate all the help. I had a "Zero" for the sort order.

    Thanks
    Mark

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: EZ Pages

    Quote Originally Posted by firstcapitalfirearms View Post
    is there a way for me to change where the link / button is on the header.

    Mark
    Not sure what you mean.

  5. #5
    Join Date
    Sep 2012
    Posts
    196
    Plugin Contributions
    0

    Default Re: EZ Pages

    Quote Originally Posted by stevesh View Post
    Not sure what you mean.
    Sorry for example on my site www.firstcapitalfirearms.com I would like to place the new EZ Page between the "Shop" and the "About Us" on the header. Is that possible and if so how hard is it and where do I need to go to make that possible.

    Thanks
    Mark

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: EZ Pages

    Give a link to your test site
    Zen-Venom Get Bitten

  7. #7
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,267
    Plugin Contributions
    3

    Default Re: EZ Pages

    Quote Originally Posted by firstcapitalfirearms View Post
    I would like to place the new EZ Page between the "Shop" and the "About Us" on the header.
    That is not the EZPages header. It's a mega-menu header. You can code in the link on the menu's TPL file, but this would throw out the current CSS settings too, so you would have to adjust the CSS once your new link has been coded in.
    20 years a Zencart User

  8. #8
    Join Date
    Sep 2012
    Posts
    196
    Plugin Contributions
    0

    Default Re: EZ Pages

    Quote Originally Posted by schoolboy View Post
    That is not the EZPages header. It's a mega-menu header. You can code in the link on the menu's TPL file, but this would throw out the current CSS settings too, so you would have to adjust the CSS once your new link has been coded in.
    Ok, would it be easier for me to create a sidebar/banner page instead. I am totally new to all of this and am not sure what you are talking about above. It seems too difficult for me with the little bit of experience that I have.

    My test site is http://firstcapitalfirearms.com/test2/

    Thanks
    Mark

  9. #9
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,267
    Plugin Contributions
    3

    Default Re: EZ Pages

    Your template seems to be using Picaflor Azul's MEGA MENU.

    ... and you are HIDING some of the menu options using {display:none} declarations in the stylesheet. (That's OK to do this - just bear in mind that you/your designer has chosen to DISABLE some features in the MEGA-MENU through CSS, rather than make edits to core code. This is a GOOD WAY of disabling the display of stuff on a website - if you are unsure of CODE EDITING).

    Now...

    You will have a file on your server...

    includes\templates\bradford_pure\common\tpl_mega_menu.php

    Around Line 146 / 147, you should see:

    Code:
    </li><!-- eof shop by brand    -->
    
    	<li class="aboutus-li"><a href="<?php echo zen_href_link(FILENAME_ABOUT_US); ?>" class="drop"><?php echo HEADER_TITLE_ABOUT_US; ?></a><!-- bof about us -->
    You can ADD your new link just AFTER that (<!-- eof shop by brand -->) bit.

    Something like:

    Code:
    </li><!-- eof shop by brand    -->
    
    <li class="specialorders-li"><a href="index.php?main_page=page&id=17">Special Orders</a></li>
    
    <li class="aboutus-li"><a href="<?php echo zen_href_link(FILENAME_ABOUT_US); ?>" class="drop"><?php echo HEADER_TITLE_ABOUT_US; ?></a><!-- bof about us -->
    ... Where " 17 " is the ID of that EZpage you created.

    You may need to use the li class="specialorders-li" for styling purposes.

    BACKUP the tpl_mega_menu.php file first... then try my addition.
    Last edited by schoolboy; 14 Mar 2013 at 10:10 PM.
    20 years a Zencart User

 

 

Similar Threads

  1. v151 Is there a simple approach to renaming ez pages to look like my core pages
    By mrcastle in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 17 Sep 2014, 01:00 PM
  2. v151 Banners show in all pages, except for product pages. Help!
    By AquaticAddiction in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 6 Mar 2014, 05:56 PM
  3. v150 EZ-Pages Meta tag fields + Multi-Language Support for EZ-Pages
    By ShopVille in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 11 Nov 2012, 09:25 PM
  4. German pack: Define Pages editor works, EZ pages does not
    By jami1955 in forum Addon Language Packs
    Replies: 1
    Last Post: 8 Jul 2010, 10:52 AM

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