Thread: header buttons

Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2009
    Posts
    102
    Plugin Contributions
    0

    Default header buttons

    im trying to change and add buttons to the head on my site http://www.testvip.myfreeola.com

    The "New Products, Specials, My Account, View Cart" buttons i can not seem to change them, iv'e tried editing tpl_top_nav.php but with no joy. any advice would be great thanks
    Last edited by TheBuz; 24 Apr 2009 at 03:24 AM.

  2. #2
    Join Date
    Mar 2007
    Location
    AZ
    Posts
    1,911
    Plugin Contributions
    2

    Default Re: header buttons

    A few notes for you.

    1. Look at your site in ie (it has some problems)
    2. The designer link in your footer forces your customers to leave your site - should open a new window (IMHO)
    Now to answer your question, look into the EZ pages in admin - tools
    The background is an image (includes/templates/pure_black/images/ezpages_bg.gif)


    Tina

  3. #3
    Join Date
    Apr 2009
    Posts
    102
    Plugin Contributions
    0

    Default Re: header buttons

    Hi thanks, didn't think about the footer links nice catch :)

    in EZ-pages it only show the pages i created it doesn't allow me to add them to the header bar in the template.

    i will short those issues out but the site is quite a way for being finished. i thought i had to change some code like this from tpl_top_nav.php

    <?php
    if ($current_page_base == 'products_new') { $active = 'tab_active';
    } else { $active = '';
    }?>
    <li id="<?php echo $active;?>"><a href="index.php?main_page=products_new"><?php echo TOP_MENU_NEW_PRODUCTS;?></a></li>

    Changing : current_page_base == 'products_new' and href

    allow me to change the name and link of the button, but i cannot figure our what i should replace "TOP_MENU_NEW_PRODUCTS" with, if it is an EZ-Page for example...

  4. #4
    Join Date
    Apr 2009
    Posts
    102
    Plugin Contributions
    0

    Default Re: header buttons

    ok i've got further, i can add and edit pages in the header. however i cannot set it up with EZ-Pages or Products.

    an example of the code i use to set-up a button is

    Code:
    <?php
    if ($current_page_base ==privacy '') { $active = 'tab_active'; 
    	} else { $active = '';
    }?>
    		<li id="<?php echo $active;?>"><a href="index.php?main_page=privacy"><?php echo TOP_MENU_PRIVACY;?></a></li>
    Which is fine for most pages, but not EZ-Pages the code

    Code:
    if ($current_page_base
    will not work for EZ-pages or product anyone know the code the i should be using for those pages? thanks in advance :)

  5. #5
    Join Date
    Apr 2009
    Posts
    35
    Plugin Contributions
    0

    Default Re: header buttons

    i got the same problem.....
    nice template, but i will drop it if i cant add buttons on

  6. #6
    Join Date
    May 2009
    Posts
    1
    Plugin Contributions
    0

    Default Re: header buttons

    how did you end up changing them out?

 

 

Similar Threads

  1. v151 removing header menu buttons
    By ken1 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 17 Apr 2014, 08:07 PM
  2. header buttons
    By typoe in forum General Questions
    Replies: 4
    Last Post: 1 Feb 2011, 06:44 PM
  3. Buttons in main pg header
    By kburner in forum Templates, Stylesheets, Page Layout
    Replies: 22
    Last Post: 2 Oct 2009, 11:31 PM
  4. header buttons?
    By sinsister in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 3 Feb 2009, 11:43 AM
  5. Add Header Buttons
    By thefashionhut in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 23 Feb 2008, 09:53 PM

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