Such as ACCOUNT_DOB?
Such as ACCOUNT_DOB?
Some are defined in the database. A fast way to find them is to use the first input field on the Developers Toolkit page: Admin->Tools->Developers Toolkit.
Or, you could look up constants or other text via other fields using the same tool. The various input boxes are used to search various selective areas. The last one searches the whole site's files.
https://www.zen-cart.com/tutorials/index.php?article=39
https://www.zen-cart.com/tutorials/index.php?article=38
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
I have several times had the same question.
So why is it that the Wiki doesn't contain this essential information? I have been trying to locate an Admin setting for SHOW_FOOTER_IP without much luck. It's defined in 'tpl_footer.php' but I can't find it using the Dev Toolkit search, no definition in the Wiki and nowhere in the ZenSupport area. The forums hit it, but mostly just as quotes.
What we all need is something that defines all these constants and locates them in the standard ZenCart files:
E.g.
SHOW_FOOTER_IP - Set in Admin/Customer, this option lets you choose whether to display a customer's IP address on every page as they browse the site.
Default files where it occurs:
admin/customer.php
includes/templates/template_default/common/tpl_footer.php
The ZenCart documentation really needs a major overhaul. This should be considered a complete project for a future release.
--Tim
I did finally find the setting for this using Dev Kit search (in search CONSTANT definitions using ALL language files).
It is in Admin/Layout Settings.
(The Admin panels could use a serious overhaul/reorganization as well.)
Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.
Holzheimer
Fan Odyssey
Thanks Mary Ellen.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Actually, I'd love to and I've thought of offering, but there are two problems. First, I'm having a baby in the next month or so. Second, I find ZenCart so confusing that I'd really need a knowledgeable guide to help me know where to start.
For example, what I really wanted at first was a sense of how all the ZenCart files go together. However, I now think that it might be more important to know where various pieces fit visually. Especially for those who want to customize ZenCart's appearance (as I do.)
And it would be useful to have some of the documentation echoed in the source files themselves -- such as showing the user what the text output of a PHP script might be within that snippet of php code (e.g., a module). This might take a lot of the mystery out of it.
Anyway, if you weren't being entirely flip, let's talk.
--Tim
You might find these handy:Originally Posted by senortim
http://www.zen-cart.com/index.php?ma...roducts_id=378
http://www.zen-cart.com/index.php?ma...roducts_id=298
... as well as the various tutorials in the FAQ area:
https://www.zen-cart.com/tutorials/index.php
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Although I think documentation is a great thing (as long as I don't have to write it), I think the suggestion below is overkill.
Most newbies won't have a clue what that means. It might useful for someone trying to write a mod for Zen Cart, but the average non-technical user probably won't care and will only add to his/her confusion and feeling of being overwhelmed.
It seems to me that some users think they need to know every last detail on how Zen Cart works before they can get anything done. That's like saying you need to understand an internal combustion engine and how it ties into all the systems in a car before you can learn to drive.
The template system isn't always obvious, but it isn't difficult either.
Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.
Holzheimer
Fan Odyssey