Results 1 to 10 of 20

Hybrid View

  1. #1
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: How to Create Top Banner

    Banner group 1 has been moved from top of screen to bottom of header, at the left of the slider. The only banner group comment tags I see are for banner group 5, just above the footer. If you don't plan to use that, you could move it to the top in tpl_main_page.php as described above.

  2. #2
    Join Date
    Oct 2011
    Posts
    19
    Plugin Contributions
    0

    Default Re: How to Create Top Banner

    Quote Originally Posted by gjh42 View Post
    The stock banner group 1 code is in /includes/templates/your_template/common/tpl_main_page.php (right after the <body> tag), not in tpl_index_default.php.

    You can move it to tpl_header.php if you specifically want it not to be above the entire header div, but inside the header div.
    Quote Originally Posted by gjh42 View Post
    Banner group 1 has been moved from top of screen to bottom of header, at the left of the slider. The only banner group comment tags I see are for banner group 5, just above the footer. If you don't plan to use that, you could move it to the top in tpl_main_page.php as described above.
    I'm very new to Zen Cart and I want to make sure I understand this before I attempt this...

    I'm going to cut the banner group 1 code in /includes/templates/your_template/common/tpl_main_page.php and paste it in tpl_header.php?

    Then I'm going to use banner group 5 for the banner and place the group name on Banner Display Groups - Header Position 1 under display settings?

  3. #3
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: How to Create Top Banner

    Probably not. We would have to see what banner code you have where (in the PHP files) before advising how best to modify your already-modified template.

    The banner group 1 code will correspond with Header Position 1 settings, and the banner group 5 code will correspond with (I think) Footer Position 2 settings, no matter where on the page those are actually showing.
    Last edited by gjh42; 10 Dec 2011 at 04:24 AM.

  4. #4
    Join Date
    Oct 2011
    Posts
    19
    Plugin Contributions
    0

    Default Re: How to Create Top Banner

    Is it possible for you to walk me through the steps?

    Or is there a resource you recommend?

  5. #5
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: How to Create Top Banner

    Because your template has parts moved around and changed so much, we need to see your tpl_main_page.php and possibly tpl_header.php files to know where the banner code is now. Only then can we be sure of what you need to do.

  6. #6
    Join Date
    Oct 2011
    Posts
    19
    Plugin Contributions
    0

    Default Re: How to Create Top Banner

    Quote Originally Posted by gjh42 View Post
    Because your template has parts moved around and changed so much, we need to see your tpl_main_page.php and possibly tpl_header.php files to know where the banner code is now. Only then can we be sure of what you need to do.
    Sent you the files.

  7. #7
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: How to Create Top Banner

    That is about the most hacked-up page structure I have seen:) They couldn't even be satisfied with turning off the right column with admin settings, but had to delete every bit of template code for it. You couldn't have a right column if you wanted to.

    Anyway, it looks like banner positions 1,2 & 3 are all occupied in your layout below the header. Banner 5 is apparently in tpl_footer.php, so you could move the code block for that to tpl_main_page.php, just below the <body id=... code.

 

 

Similar Threads

  1. How to remove top banner and add links to top?
    By Punkristo in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 8 Jun 2010, 07:21 PM
  2. how to align top banner left?
    By whoo_sh in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 15 Jan 2010, 04:25 AM
  3. How do I create a new Banner Group ?
    By Alex123 in forum Basic Configuration
    Replies: 10
    Last Post: 15 Jun 2008, 08:06 AM
  4. How to center banner on top?
    By b18cya in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 2 Feb 2007, 11:58 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