Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20
  1. #11
    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.

  2. #12
    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?

  3. #13
    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.

  4. #14
    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.

  5. #15
    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.

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

    Default Re: How to Create Top Banner

    Quote Originally Posted by gjh42 View Post
    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.
    I sent you the footer code. Can you tell me exactly what chunk of code I'll be moving to tpl_main.php?

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

    Default Re: How to Create Top Banner

    PHP Code:
    <?php

    if (!$flag_disable_footer) {

    ?>

    <!-- ========== FOOTER ========== -->



    <!-- BOF- BANNER #5 display -->

    <!-- EOF- BANNER #5 display -->

    <div id="footer">

    <div class="main-width1">
    Now that's convenient... your template's maker decided that nobody needs to use banner #5, so they deleted its code.

    You can find the original code in the /template_default/ version of tpl_footer.php; copy everything between (and including the comments)
    <!-- BOF- BANNER #5 display -->
    and
    <!-- EOF- BANNER #5 display -->
    into tpl_main_page.php as described above.

  8. #18
    Join Date
    Oct 2011
    Posts
    19
    Plugin Contributions
    0

    Default Re: How to Create Top Banner?

    It worked perfectly. Thank you.

    Will I ever be able to place banners on other areas (like below the top menu) without serious mods to this template?

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

    Default Re: How to Create Top Banner?

    There should be banner 6 code somewhere in the footer area (maybe at the bottom of tpl_main_page,php), and you could move that if you needed to.

  10. #20
    Join Date
    Oct 2011
    Posts
    19
    Plugin Contributions
    0

    Default Re: How to Create Top Banner?

    Awesome. Thank you.

 

 
Page 2 of 2 FirstFirst 12

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

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