Results 1 to 9 of 9
  1. #1
    Join Date
    Jul 2005
    Posts
    29
    Plugin Contributions
    0

    Default Possibly Deleted Code - EZ Page Header Links

    I customized a site I'm working on, but I think I deleted the code for the ez pages header. I have it turned on both in the sidebox and on the header but it only shows up in the sidebox. Can someone take a look and let me know what I'm missing?

    www.painfulmuscles.com/index.php

    Thanks in advance!

    Tina

  2. #2

    Default Re: Possibly Deleted Code - EZ Page Header Links

    Go to your configuration/EZ-pages settings and make sure all the ez-pages are enabled for the header (EZ-Pages Display Status - HeaderBar - should have a value of 1)
    http://www.customscripts.co.za - Custom development for open-source applications

    http://www.pcservice.co.za - Website Development, Domain Registration, Hosting

  3. #3
    Join Date
    Jul 2005
    Posts
    29
    Plugin Contributions
    0

    Default Re: Possibly Deleted Code - EZ Page Header Links

    Did that, both the sidebox and the header are set the same, both are green, and both have a 1 next to them.

    Oh yeah... it's also turned on in my config.
    Last edited by silkenstrand; 24 Mar 2009 at 08:55 PM. Reason: additional note

  4. #4

    Default Re: Possibly Deleted Code - EZ Page Header Links

    Did you edit anything in the code that it is possible that the code could be deleted?

    If the code is in fact deleted, make sure you have a file called tpl_ezpages_bar_header.php in your includes/templates/template_default/templates folder or in your includes/templates/YOUR_TEMPLATE_NAME/templates folder

    the code that should be in those files is
    PHP Code:
    <?php
     
    include(DIR_WS_MODULES zen_get_module_directory('ezpages_bar_header.php'));
    ?>
    <?php 
    if (sizeof($var_linksList) >= 1) { ?>
    <div id="navEZPagesTop">
    <?php for ($i=1$n=sizeof($var_linksList); $i<=$n$i++) {  ?>
      <a href="<?php echo $var_linksList[$i]['link']; ?>"><?php echo $var_linksList[$i]['name']; ?></a><?php echo ($i $n EZPAGES_SEPARATOR_HEADER '') . "\n"?>
    <?php 
    // end FOR loop ?>
    </div>
    <?php ?>
    Last edited by Pierre; 24 Mar 2009 at 09:00 PM. Reason: Typo
    http://www.customscripts.co.za - Custom development for open-source applications

    http://www.pcservice.co.za - Website Development, Domain Registration, Hosting

  5. #5
    Join Date
    Jul 2005
    Posts
    29
    Plugin Contributions
    0

    Default Re: Possibly Deleted Code - EZ Page Header Links

    I edited my main page document so that it defaults to a product page. That's why I'm thinking I lost something.

  6. #6

    Default Re: Possibly Deleted Code - EZ Page Header Links

    and in your includes/templates/template_default/common/tpl_header.php or includes/templates/YOUR_TEMPLATE_NAME/common/tpl_header.php

    make sure you have the following code somewhere in that file (in the place where you want the ezpages to display):

    PHP Code:
    <?php if (EZPAGES_STATUS_HEADER == '1' or (EZPAGES_STATUS_HEADER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE$_SERVER['REMOTE_ADDR'])))) { ?>
    <?php 
    require($template->get_template_dir('tpl_ezpages_bar_header.php',DIR_WS_TEMPLATE$current_page_base,'templates'). '/tpl_ezpages_bar_header.php'); ?>
    <?php 
    ?>
    http://www.customscripts.co.za - Custom development for open-source applications

    http://www.pcservice.co.za - Website Development, Domain Registration, Hosting

  7. #7
    Join Date
    Jul 2005
    Posts
    29
    Plugin Contributions
    0

    Default Re: Possibly Deleted Code - EZ Page Header Links

    that appears to be missing. I'll check it out.

  8. #8
    Join Date
    Jul 2005
    Posts
    29
    Plugin Contributions
    0

    Default Re: Possibly Deleted Code - EZ Page Header Links

    That was exactly the problem. Now I just have to figure out how to put it where I want it. Thanks for your help.

  9. #9
    Join Date
    Jan 2009
    Posts
    18
    Plugin Contributions
    0

    Default Re: Possibly Deleted Code - EZ Page Header Links

    I have the opposite problem.
    I went in and turned off ez pages how it says to do so in tutorials and FAQ but it will NOT go away.
    Is there a code to change else where to make it disappear?

    store in question http://desireddesignsnscraps.com/store

 

 

Similar Threads

  1. v1371 EZ Page header links
    By The Chad in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 22 Aug 2012, 08:11 PM
  2. EZ Page "back to page top links"-how to code?
    By notageek in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 20 May 2010, 11:31 AM
  3. Replies: 2
    Last Post: 4 Dec 2009, 09:21 PM
  4. Oops... deleted code that links to header...
    By vairvixen in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 7 Jul 2006, 12:43 AM

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