Re: Can't tfind needed file
Re: Can't tfind needed file
Also, the Top FAQs list has this entry:
Logos - All about your store logo in Zen Cart.
https://docs.zen-cart.com/user/running/logos/
Re: Can't tfind needed file
Thank for answers but I have read instructions, I understand template overrides, but file was not there.
Please don't send me docs, I have read them.
All I need is a simple answer: where can I find header.php so i can load it into the template?
I will not wait for answers that don't address my question, will unzip a fresh copy of 1.58 and use search capabiliities provided by my Linux distro to find the file.
Re: Can't tfind needed file
Quote:
Originally Posted by
dbltoe
That is precisely the question you are not answering, please read my post before jumping to answer.
I have the image I need and already uploaded it, I am looking for the file that will process displaying by the browser.
Re: Can't tfind needed file
Quote:
Originally Posted by
ckosloff
... I will not wait for answers that don't address my question, will unzip a fresh copy of 1.58 and use search capabiliities provided by my Linux distro to find the file.
Surely it would have been simpler to try this before creating this thread? If you are still having difficulty finding the file there is a Doc (I know how much you like them!) on that subject,
https://docs.zen-cart.com/user/new_u.../no_such_file/
Re: Can't tfind needed file
Sorry, but you have apparently not read the instructions or checked out the links sent.
Your post did not mention the extension of the image being used as a replacement logo.gif. If you simply were to replace it with a new/different logo.gif, you would use the link I gave and follow the
Quote:
Note that by default, YOURLANGUAGE is “english” and YOURTEMPLATE is “responsive_classic”.images folder: This is where your Product images are located.
ncludes/languages/YOURLANGUAGE/images folder: icon.gif (your language flag).
ncludes/templates/YOURTEMPLATE/buttons/YOURLANGUAGE folder: contains the buttons used by the cart, if you are not using
CSS buttons.
ncludes/templates/YOURTEMPLATE/images folder: contains logo.gif, and other images required by your template files.
ncludes/templates/YOURTEMPLATE/images/icons folder: contains additional images used by the cart (specific to your template)
NOTE: if your template is looking for an image in the includes/templates/YOURTEMPLATE/images folder but cannot find it, Zen Cart will use the image in the includes/templates/template_default/images folder.
Those instructions cover all the options when doing an old logo.gif replaccement with a new/different logo.gif
You mentioned nothing about possibly renaming the file to something like mylogo.gif, alogo.jpg, or logoNew.png. IF that were the case, the first item in the list that swguy sent is a link to https://docs.zen-cart.com/user/new_u...ge_header_logo. This link not only tells you where to find the header but is also helpful if you have changed the size of the file you are using to replace logo.gif.
I would suggest that, going forward, you read the pages and investigate the links fully. The docs are very powerful.
Re: Can't tfind needed file
header.php files are not in templates but in whatever language you are using.
As noted in the first link of the info sent by swguy
Quote:
After creating your logo you can adjust the alt text, width, height, and image name in includes/languages/english/YOURTEMPLATE/header.php
If you are using another language than english, you will want to make sure that language has a /YOURTEMPLATE/header.php as well.
Re: Can't tfind needed file
I think I see the issue. Some of the docs referred to the old language file names. I think I have updated this in all the required places.
@ckosloff Please remember that the people who are answering questions on the forum are volunteers who are doing it to be nice.
Re: Can't tfind needed file
Quote:
Originally Posted by
swguy
I think I see the issue. Some of the docs referred to the old language file names. I think I have updated this in all the required places.
@ckosloff Please remember that the people who are answering questions on the forum are volunteers who are doing it to be nice.
I know perfectly well they are trying, as well as myself.
FYi I already solved the problem,will post answer in similar thread I created today, will post the solution shortly.
BTW, I found the file by using tools provided by my Linux distro and my brain, it would have been simpler to just post location of file instead of engaging in discussion, I could not accept the solution of renaming my file to something.gif because it was a .png and I did not want to transform it into a .gif because it is an obsolete and poor format.