Results 1 to 6 of 6
  1. #1
    Join Date
    Nov 2010
    Posts
    10
    Plugin Contributions
    0

    Default Help! Quite stuck now, Header Position1

    Hi to the ZC community,

    Hope one of you clever people can help me.

    I am having problems with my Header Position_1, as far as i am aware this is supposed to be above the Navi bar, but it puts it in the main area on my home page.
    I have searched high and low for a solution, re-uploaded my original tpl_header but no joy. I must be able to move some code around to make it appear where it should.
    I must have done something wrong down the line, but now stuck as stuck can be!

    I appreciate any pointers

    Cheers Guys

    Neale

    www.electricwizard.co.uk

  2. #2
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default Re: Help! Quite stuck now, Header Position1

    First, is this banner created in Admin>Tools>Banner Manager?

    Second, in Admin>Configuration>Layout Settings>Banner Display Groups - Header Position 1, have you entered the same name there as your banner is named in the Banner Manager?

    If all the above is all correct, then you will need to edit [FONT=monospace]includes/templates/black_pure_free/common/tpl_main_page.php to move this block of code
    [/FONT]
    Code:
    <?php
      if (SHOW_BANNERS_GROUP_SET1 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET1)) {
        if ($banner->RecordCount() > 0) {
    ?>
    <div id="bannerOne" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
    <?php
        }
      }
    ?>

    up the page to sit right under this line:

    Code:
    <body id="<?php echo $body_id . 'Body'; ?>" class="smartBG<?php echo smart_backgrounds();?>"<?php if($zv_onload !='') echo ' onload="'.$zv_onload.'"'; ?>>
    Hope this helps.[FONT=verdana][/FONT]
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  3. #3
    Join Date
    Nov 2010
    Posts
    10
    Plugin Contributions
    0

    Default Re: Help! Quite stuck now, Header Position1

    Hi, thanks for the reply

    I will try and move the code as all other steps are completed.

    Post back my results

    Kind Regards

    Neale

  4. #4
    Join Date
    Nov 2010
    Posts
    10
    Plugin Contributions
    0

    Default Re: Help! Quite stuck now, Header Position1

    Hi,
    had a look in includes/templates/black_pure_free/common/tpl_main_page.php

    i could not find the code suggested, set4 and set6 but not set1

    Neale

  5. #5
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default Re: Help! Quite stuck now, Header Position1

    Okay Neile, look in includes/templates/black_pure_free/common/tpl_main_page.php/tpl_header.php to see if the first block of code is in there. If it is, then remove it from there and put it where it should be, and it should show at the top of the page, then.

    I really don't understand why they would move that there, as that spot is what Header Position 3 is for.............
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  6. #6
    Join Date
    Nov 2011
    Posts
    7
    Plugin Contributions
    0

    Default Re: Help! Quite stuck now, Header Position1

    Hi

    I just posted a response to a similar problem here.

    Please read carefully, as it states, I am no expert and have found this solution by myself as a quick search of the forums only seemed to offer similar questions.

    Cheers

    Matt

 

 

Similar Threads

  1. v151 Stuck on a CSS and ezPage header bar styling
    By ray-the-otter in forum General Questions
    Replies: 2
    Last Post: 5 Nov 2012, 09:08 PM
  2. Header link i'm stuck..
    By jez100 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 20 Nov 2010, 10:19 PM
  3. Newbie header link help stuck
    By NYsista872 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 1 Aug 2010, 11:52 PM
  4. Very odd error and now I'm stuck!
    By mommydesigns in forum Templates, Stylesheets, Page Layout
    Replies: 13
    Last Post: 10 Aug 2006, 10:39 PM
  5. I'm Stuck On Changing My Header!I
    By scoutj in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 3 Jun 2006, 08:13 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