Results 1 to 10 of 393

Hybrid View

  1. #1
    Join Date
    Feb 2006
    Posts
    656
    Plugin Contributions
    0

    Default Re: Smart Backgrounds support

    As of writing my last post, I keep trying different combination's of the codes I listed above, but, they remain essentially the same. Nothing I do seems to work for me, and I'm hitting the proverbial
    I Think, Therefore I Zen. I Zen, Therefore, I AM!
    Personalized Flowers!
    Flowertown Speaking Roses
    using version 1.5.7-06232020

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

    Default Re: Smart Backgrounds support

    This mod is only going to be effective for background images, not foreground images like the logo. If you have an image defined for the logo, it will always cover the background. You need to suppress that image and give #headerLogo a defined height where you want the background to show for the logo. Presumably you would do this in top2.php.
    You could add to your stylesheet for each page where you want a bg logo

    .smartBG_95 #logo {display: none;}
    Last edited by gjh42; 11 Sep 2008 at 11:44 PM.

  3. #3
    Join Date
    Feb 2006
    Posts
    656
    Plugin Contributions
    0

    Default Re: Smart Backgrounds support

    I'm not sure I follow you. And, actually, I've done away with top2.php and I'm doing it this way instead:
    PHP Code:
    <!--bof-branding display-->

    <?php
    if ($this_is_home_page) {
    include(
    'top_main.php');
    }
    else
    {
    echo 
    '<a href="' HTTP_SERVER DIR_WS_CATALOG '">' zen_image($template->get_template_dir(HEADER_LOGO_IMAGEDIR_WS_TEMPLATE$current_page_base,'images'). '/' HEADER_LOGO_IMAGEHEADER_ALT_TEXT'','''id="logo"' ) . '</a>';

    }
    ?>

           </td>

    </tr>
    </table>
    <!--eof-branding display-->
    Now, back to the logo problem. You say that I can't really use this mod for foreground images, but in the read me file, there are explicit directions (which confuse the heck out of me anyway) for doing so.

    I'm wanting to completely revamp my site, and using different headers and logos is the perfect way to do it.

    There's gotta be a way.
    I Think, Therefore I Zen. I Zen, Therefore, I AM!
    Personalized Flowers!
    Flowertown Speaking Roses
    using version 1.5.7-06232020

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

    Default Re: Smart Backgrounds support

    Oh right... it does say that...:) The first version of the mod with code in the file where the switching happens could be modified for foreground images. The same principles could be used in the new version, but would require adding new code in the file (in this case tpl_header.php.) I'm away from home right now and don't have access to my files, so I'll look at it later and get back to you.

  5. #5
    Join Date
    Feb 2006
    Posts
    656
    Plugin Contributions
    0

    Default Re: Smart Backgrounds support

    Ok, I sure would appreciate that. Will that be today (this evening-don't know your time zone)?
    I Think, Therefore I Zen. I Zen, Therefore, I AM!
    Personalized Flowers!
    Flowertown Speaking Roses
    using version 1.5.7-06232020

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

    Default Re: Smart Backgrounds support

    Probably tomorrow morning your time.

  7. #7
    Join Date
    Feb 2006
    Posts
    656
    Plugin Contributions
    0

    Default Re: Smart Backgrounds support

    Ok. Looking forward to it. Thanks.
    I Think, Therefore I Zen. I Zen, Therefore, I AM!
    Personalized Flowers!
    Flowertown Speaking Roses
    using version 1.5.7-06232020

 

 

Similar Threads

  1. Adding Image Map to header with Smart Backgrounds
    By cspan27 in forum Addon Templates
    Replies: 16
    Last Post: 25 Jul 2009, 01:14 AM
  2. smart backgrounds
    By Glendon in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 11 Sep 2008, 04:49 PM
  3. Backgrounds
    By v.kirk in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 23 Jun 2006, 06:14 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