I think so, I'm just using the default one but it uses things from Classic too.Originally Posted by ladysaat
I think so, I'm just using the default one but it uses things from Classic too.Originally Posted by ladysaat
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?
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.
Remove the above from your template's tpl_header.phpHTML Code:<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>
I commented that out and it removes the entire logo and everything. It just goes blank up there.
Okay so I had originally placed my graphic as the background in the #logoWrapper in my CSS. So I renamed it logo.gif. And erased it as a background in the #logoWrapper. So now it shows just fine. I made the Tagline text color white and it disappeared. My page background is now set to background-attachment: scroll; Hopefully that way eveything will stay clear. I know the way I did things was probably wrong and had nothing to do with code. But I just couldn't figure out how to write out what I wanted it to do.![]()
I can see that you are working on this but earlier, you had the alternate text showing up due to Zen not finding the logo.gif.
this is something that you might want to alter to something that represents your site. This is invoked if someone has no images turned on or for other reasons can not view your site with graphics and probably something you should be checking anyway.
In your includes/languages/english/header.php file look for this code:
and change most likely both lines to something that you would want a viewer to see if they cannot see your graphics. Of course save to your override folder.Code:// added defines for header alt and text define('HEADER_ALT_TEXT', 'Powered by Zen Cart :: The Art of E-Commerce'); define('HEADER_SALES_TEXT', 'TagLine Here');
Zen-Venom Get Bitten
OH wow! Hey thanks! Now I can put something in the Tagline thingy that looks good. Plus change the other stuff. Much appreciated!