Results 1 to 10 of 15

Hybrid View

  1. #1
    Join Date
    May 2006
    Location
    Anywhere USMC points
    Posts
    368
    Plugin Contributions
    0

    Default tpl_header... I got the right area but...

    I literally haven't the first clue as to what on earth means what in this code and what i'd change to remove the zen cart thingy from my logo area!

    here's the link: www.bellamadeleine.com/boutique


    here's the php:

    <!--bof-branding display-->
    <div id="logoWrapper">
    <div id="logo"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?></div>
    <div id="taglineWrapper">
    <?php
    if (HEADER_SALES_TEXT != '') {
    ?>
    <div id="tagline"><?php echo HEADER_SALES_TEXT;?></div>
    <?php
    }
    ?>
    <?php
    if (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2)) {
    if ($banner->RecordCount() > 0) {
    ?>
    <div id="bannerTwo" class="banners"><?php echo zen_display_banner('static', $banner);?></div>
    <?php
    }
    }
    ?>
    </div>
    </div>
    <br class="clearBoth" />
    <!--eof-branding display-->


    I'm so close to figuring out how things work but really the code is a foreign language to me.


    Thanks for the help you guys!

  2. #2
    Join Date
    Jul 2006
    Posts
    20
    Plugin Contributions
    0

    Default Re: tpl_header... I got the right area but...

    I think if you just delete the /includes/templates/template_default/images/logo.gif file you should be good.

  3. #3
    Join Date
    May 2006
    Location
    Anywhere USMC points
    Posts
    368
    Plugin Contributions
    0

    Default Re: tpl_header... I got the right area but...

    I'm using Future Zen and there is no logo.gif. Would zen cart be using the files from template_default also???

  4. #4
    Join Date
    Jul 2006
    Posts
    20
    Plugin Contributions
    0

    Default Re: tpl_header... I got the right area but...

    Quote Originally Posted by ladysaat
    I'm using Future Zen and there is no logo.gif. Would zen cart be using the files from template_default also???
    I think so, I'm just using the default one but it uses things from Classic too.

  5. #5
    Join Date
    May 2006
    Location
    Anywhere USMC points
    Posts
    368
    Plugin Contributions
    0

    Default Re: tpl_header... I got the right area but...

    Well it removed the image per say but now there is a line of text. I don't understand though what's making that stuff show up in the html and what's generating it. Can I comment that section out in the php? Will that break the cart? (kind of dumb to ask since I'm trying it anyways and will soon find out)

    But I want to know what makes this stuff show up. And where I'd go to remove these pieces persay. KWIM?

  6. #6
    Join Date
    May 2006
    Location
    Anywhere USMC points
    Posts
    368
    Plugin Contributions
    0

    Default Re: tpl_header... I got the right area but...

    Okay so commenting it out does NOT work.


    ARGH!!! This is frustrating. The text is a link. Where is it coming from and why is it in that position. What's frustrating is it's so easily accesible in the HTML of the page. But so what since that actually doesn't exist anywhere that I can change it and save those changes. The PHP is like soup or muddy gravy. I see bits that might look identifiable but when I poke at it, nothing doing.



    ETA: I can see where php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '" is generating a link. But HOW do I change it? Is it the link I want removed? I think so since the branding display div's are where the stuff is in the generated HTML.
    Last edited by ladysaat; 21 Jul 2006 at 10:19 PM.

 

 

Similar Threads

  1. v139h got payment notice but without generating the order
    By sgc1998 in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 17 Oct 2012, 09:56 PM
  2. Got the order and the paypal email, but no payment?
    By chata86 in forum Managing Customers and Orders
    Replies: 0
    Last Post: 3 Jan 2011, 09:35 PM
  3. Trying to align text to the right on tpl_header.php
    By mohinder in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 28 Jul 2007, 12:06 AM
  4. I got rid of the Header Sales Text, but did I do it right?
    By birdoasis in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 20 Jun 2007, 11:31 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