Each fields has their degrees of searching as they're all sectionized. The first part are the textboxes where you can enter the words you're looking for. The dropdown list, aside, are the sections on where they will be targeted for each searches.![]()
The Developer's Tool Kit is designed to search for anything in the php files such as text, variables, constants etc. or to search for the configuration_keys of the configuration or product_type_layout tables ...
If you needed to find a constant, this is something in the code written in all caps, it would be in either the configuration or product_type_layout tables or in the php files ... or the constants are created by the define statements in language files ...
To search for the constant in the configuration or product_type_layout tables you would enter it in the top input box and not select anything from the dropdown and click Search ...
For example, enter:
MAX_DISPLAY_NEW_PRODUCTS
Click on search ...
You would be shown the setting ... then click on Edit and you would be taken to where in the Configuration this setting exists ...
If you were to take the same constant and enter it in the bottom input box and select Catalog or Catalog/Admin ... it would search the php files for where the constant is "used" ...
Or, say you wanted to find the text definition for:
You can enter any word that you see, such as:Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution.
Congratulations
in the bottom input box and select the Catalog from the dropdown ...
Note: you can select both Catalog/Admin but selecting one or the other narrows down what files are searched and the resulting display ...
Click search and the files will be listed where this text is used ...
This will find numerous text definitions but only one will match what you are looking for ...
Or you could narrow the search further with a search for:
Congratulations! You have successfully installed
Be careful on searching for things with apostrophes in them as in the php files the defines have extra code to delimit the apostrophes and a search on:
It's Free!
will result in no files as the define is actually written with:
It\'s Free!
You could search on:
free
And while broader it can find this ...
Or, search on:
free!
To again narrow the search ...
NOTE: the searches are not case sensative for text ...
Or, to test the speed of these searches, enter into the bottom input box the letter:
a
And pick Catalog/Admin ... then click search ...
This will result in a huge search and find some 800+ files with matches on over 6500+ lines of code ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
I was just adding clarity as TheOracle left a lot to the imagination and vague, misleading information ...![]()
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
And adding on to this - it was no imagination as it was simply a screenshot instruction on how to go to the developpers tool kit.
traceback is a function
what have you added to your cart,
that is not a part of zen cart and will not produce this error on its own
Zen cart PCI compliant Hosting
Bookmarks