Forums are for helping people!! if you don't want to help people then shut up and get off the forum!
So half of it worked!
First I uploaded my logo as a .gif. That worked but the logo looks like crap!
Then I uploaded it as a .jpg and edited the includes/languages/english/theme346/header.php so that it was looking for a .jpg image. I changed the file permissions, uploaded the file and nothing. It still is looking at the old logo and when I view the page source it is still pointing to the old logo. Any thoughts on why? Should I be editting another file?
Forums are for helping people!! if you don't want to help people then shut up and get off the forum!
The tpl_header.php file has been heavily modified by TM. What does the code look like around the section that generates this output?Does it call for a constant in the logo display, or something else? Is it the same constant you redefined in header.php?Code:<!-- ========== LOGO ========== --> <span><a href="http://www.only240sx.com/index.php?main_page=index"><img src="includes/templates/theme346/images/logo.gif" alt="" width="236" height="39" /></a></span> <!-- ========================== -->
Look at /includes/templates/theme346/common/tpl_header.php. There will be a section of code between the
<!-- ========== LOGO ========== -->
and
<!-- ========================== -->
comments; post that whole section so we can see what it is trying to do.
Forums are for helping people!! if you don't want to help people then shut up and get off the forum!
The idiots have hard-coded logo.gif into the code, so that nobody can use a different filename for their logo.
<span><a href="<?php echo zen_href_link(FILENAME_DEFAULT);?>"><?php echo zen_image(DIR_WS_TEMPLATE.'images/logo.gif'); ?></a></span>
The stock tpl_header.php has this:Try changingPHP 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>
zen_image(DIR_WS_TEMPLATE.'images/logo.gif')
to
zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT)
Make sure you have defined
HEADER_LOGO_IMAGE
and
HEADER_ALT_TEXT
They seem to go to lengths to keep standard ZenCart functions from working....Originally Posted by gjh42
And why I am fully against them
Just for my 5 cents: there are more than 100 free ZC compliant templates available on this site (Zencart), all of which can be modified to suit your needs.
The worst place to go and get a template is TM! Let alone pay for something that is full of bugs ....![]()
By define do you mean to make sure I change HEADER_LOGO_IMAGE to my image name?
I am beginning to think so to. When I first looked into it it was a mixed bag of results. It was really easy to load and get onto the site (with a few minor changes) and then making other things work seems to be a pain in the ########!
Forums are for helping people!! if you don't want to help people then shut up and get off the forum!