Page 1 of 3 123 LastLast
Results 1 to 10 of 28
  1. #1
    Join Date
    Jan 2007
    Posts
    148
    Plugin Contributions
    0

    red flag Can the header include an HTML table?

    the table holds 5 hyperlinked navigation images.

    can i put this in the header instead of a logo or other nav buttons?

    thx,
    alice

  2. #2
    Join Date
    Apr 2004
    Location
    Montreal
    Posts
    755
    Plugin Contributions
    1

    Default Re: Can the header include an HTML table?

    I don't see why not, just modify the right files and dump them in your template folder
    IntelCos

  3. #3
    Join Date
    Jan 2007
    Posts
    148
    Plugin Contributions
    0

    Default Re: Can the header include an HTML table?

    Great, which file(s) do i need to modify? i've looked around and thru the forums too, but am not seeing it for some reason.

    Thanks in advance,
    Alice

    Quote Originally Posted by IntelCos View Post
    I don't see why not, just modify the right files and dump them in your template folder

  4. #4
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

    Default Re: Can the header include an HTML table?

    includes/templates/YOUR_CUSTOM_TEMPLATE/common/tpl_header.php

    Just copy the one from the default template and after you edit it save it to your custom template
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  5. #5
    Join Date
    Jan 2007
    Posts
    148
    Plugin Contributions
    0

    Default Re: Can the header include an HTML table?

    Thanks Mike.

    i had the common files set up in my custom folder, so i tried that but w/o success.

    Being a total ZC neophyte, i could not figure out how to insert my own html file into the tlp_header file (what to type and where.)

    what i'm trying to incorporate as my header is a file containing only a table with 5 rows containing 5 roll-over navigation gifs.

    where in the tlp_header.php file do i put the code in and what do i type in?

  6. #6
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

    Default Re: Can the header include an HTML table?

    Do you have a mock up of what you are trying to do? Based on what you want it to look like will determine where to put the table. And maybe a url of what you currently have.
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  7. #7
    Join Date
    Jan 2007
    Posts
    148
    Plugin Contributions
    0

    Default Re: Can the header include an HTML table?

    yes, here's the link to the main page:

    http://www.musecards.com/ws/

    And here's the link to the navigation table:

    http://www.musecards.com/ws/ws/inclu...avigation.html

    The nav table needs to go at the very top (i have to push down the rest of the text and get rid of the ZC logo too.)

    thanks so much.

  8. #8
    Join Date
    Jan 2007
    Posts
    148
    Plugin Contributions
    0

    Default Re: Can the header include an HTML table?

    oops, mis-typed the links.

    here they are:

    main page:

    http://www.musecards.com/ws/

    navigation table:

    http://www.musecards.com/ws/includes/templates/custom/images/Navigation.html

  9. #9
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

    Default Re: Can the header include an HTML table?

    Lets see if I got this right. Find this section of the tpl_header file
    Code:
    <!--bof-branding display-->
    <div id="logoWrapper">
       <div id="logo"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?></div>
    comment out the section in red so it looks like this:
    Code:
    <!--bof-branding display-->
    <div id="logoWrapper">
       <!--<div id="logo"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?></div>-->
    you would then add the html right after the commented out section starting at the <table> tag and ending at the </table> tag so everything looks like this:
    Code:
    <!--bof-branding display-->
    <div id="logoWrapper">
       <!--<div id="logo"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?></div>-->
    <table>
           rest of table code here
    </table>
    Leave everything else in the file as it is. Hopefully I got that correct
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  10. #10
    Join Date
    Jan 2007
    Posts
    148
    Plugin Contributions
    0

    Default Almost there, i think, but...

    Huge help; thanks Mike.

    I went ahead and posted it, but the header is not showing up, BUT, when you first load the page, you kinda see it wanting to load and then disappearing:

    http://www.musecards.com/ws/index.php?main_page=

    Could it be that i have something turned off, or a setting is preventing the table to show up?

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. How can I include a php file in the header section?
    By Andy_R in forum General Questions
    Replies: 3
    Last Post: 11 Sep 2009, 05:50 PM
  2. Can I add an HTML image map into the header?
    By touchclothing in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 25 Jun 2009, 10:24 PM
  3. HTML include in header
    By skylab001 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 1 Apr 2008, 08:17 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