Zen Follower
- Join Date:
- Mar 2006
- Location:
- Australia
- Posts:
- 268
- Plugin Contributions:
- 0
email footer
hey there,
can anyone please tell me where this string is drawing its define function from?
$EMAIL_FOOTER_COPYRIGHT
Thanks
Views: 2,155
Zen Follower
hey there,
can anyone please tell me where this string is drawing its define function from?
$EMAIL_FOOTER_COPYRIGHT
Thanks
Sensei
Since you mention it with the $, I assume you're talking about HTML-formatted emails.
That information is built from the define for EMAIL_FOOTER_COPYRIGHT which is in your email-extras language file.
http://www.zen-cart.com/forum/faq.php?faq=template_customize#faq_where_to_find_content
Zen Follower
thanks
i found it using the developers tool kit
sorted now
cheers :)
Totally Zenned
I've no idea why, but I've just tried searching for this using the Developer Toolkit on 2 different 1.3.7 sites, and neither gave a return...so for anyone else, the file you need is at includes/languages/english/email_extras.php
Oba-san
Are you sure you spelled it right? I found it ... :smile:
Note that you need to look for the constant without the $ as the $ is in the /emails directory for the HTML ...
Totally Zenned
Ajeh:
Note that you need to look for the constant without the $
A useful little gem to know! :D
In fact, could have done with knowing that about 2900 posts earlier!!
Oba-san
It is not always the case ... just on that particular constant the $ is there for the HTML translation and the Developer's Tool Kit is searching for php files at this time ...
So, to see where it is set vs used take off the $ ...
Regular variables don't need that as a variable is a variable and the $ belongs to it ...
When in doubt, remember the Developer's Tool Kit is searching for matching text ... whether it is code, defines, variables, constants, etc. etc.
If it finds a "match" it's a hit ... if it cannot find a match, try something smaller or different within the same context of what you think you are looking for ...
Tell staff why this post should be reviewed.