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

    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.

  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
    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?

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

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

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

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

    Default Re: How to Create Top Banner?

    Awesome. Thank you.

 

 

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