Thanks for the help! I got Image Handler 3 installed and running. Perhaps I was being overly cautious, but I have leaned to ask questions before I cause a self-inflicted disaster. It's easier than asking what went wrong.
Thanks for the help! I got Image Handler 3 installed and running. Perhaps I was being overly cautious, but I have leaned to ask questions before I cause a self-inflicted disaster. It's easier than asking what went wrong.
Because it's easier to upload the ENTIRE contents of the install folders (which contain files as well as folders) versus uploading the contents of each individual folder.. It's necessary to rename the admin folder since when we bundle the add-on we don't know what YOUR admin folder is called..
You will find that this is how MANY mod authors bundle their add-ons..
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
I know sweety and a bit of levity is always a pleasure...
@GArmour
and as for the confusing part of the read me...it confoozled me a bit too then I re-read and saw the "contents" part...but there are many out there that do not realize that and upload the folder---oopsie they find out quick to read that darn read me better...lol
personally I quit renaming things cause I did it myself too many darn times...I should have been born blonder than blonde.
OK, let's take it from the beginning. As I understand from Clyde's post quoted above and from yesterday's posts in this thread, IH3 can work with 1.5 even though it may not meet all security requirements of 1.5 at the moment.
I have tried to implement Clyde's suggestions but can not make it to work. Could one of the gurus provide some guidance please?
I run the SQL statement and now have a row in the admin_pages table reading:
page_key = imageHandler
language_key = BOX_TOOLS_IMAGE_HANDLER
main_page = FILENAME_IMAGE_HANDLER
page_params =
menu_key = tools
display_on_menu = Y
sort_order = 999
After running the SQL statement, I get the IH3 in the Tools menu but its links are not doing anything. See the image below.
Clyde suggested deleting image_handler_tools_dhtml.php (that's easy to do) and replacing it with the new datafile definition
define('BOX_TOOLS_IMAGE_HANDLER', 'Image Handler');
The question is: in which file should the datafile definition go? I tried many files but with no success. The result is always as in the picture above.
Any ideas please? Has anyone else tried Clyde's solution and had IH3 working with 1.5?
George
Athens Collectibles
Have you tried putting the define in a file called ih3_filenames.php and adding the file to the YOURADMIN/includes/extra_datafiles folder?
You could also call it my_admin_module_filenames.php if you plan on adding other mods that need admin registration.
Are You Vulnerable for an Accessibility Lawsuit?
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.
Thank you for the suggestion. I did create a new file in the appropriate folder and tried both file names but the links still don't do anything. I just have define('BOX_TOOLS_IMAGE_HANDLER', 'Image Handler'); on the top left of every screen in Administration after the new file was created. Does this say anything to you?
George
Athens Collectibles
It is possible they do not work because of the security requirements of the new v1.5 that IH3 does not meet yet..
dbltoe: have you tried Clyde's method and have you been able to get IH3 to work in v1.5?? I've not tried it yet (got a LOT on my plate -- so not much time for free mod stuff currently)
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Thanks for coming back DivaVocals. There are only 3 steps in Clyde's method: delete a file (done), run an SQL statement (done, hence the IH3 appears in Admin > Tools) and replace the deleted file with a new datafile definition. It is this last step that confuses me, that is where to include this definition.
dbltoe suggested creating a new file, which I tried and didn't work. Any more ideas? Is it possible that the new file should have a specific file name or be in a specific folder?
I'm willing to play the guinea pig and have tried many things myself but had no success.
George
Athens Collectibles
In some ways it doesn't matter where it goes if it gets autoloaded.
You can put it in admin/includes/extra_datafiles/myfile.php
which i think is what clyde was saying and is probably best.
Or you could try:
You can put it in admin/includes/laguages/english/extra_definitions/new_file.php
or whatever language that you are using.
As long as the constant is loaded it effectively doesnt matter where it comes from as far as making it work goes. But there is a Zen way of doing things so Clyde's way is best.
(obviously I have just made up those file names. you can call the file whatever you want too. but the paths should stay the same.)
Nick
iszent.com
Hi Nick,
as I said above (post #747), the new file loads from the admin/includes/extra_datafiles folder, but all it does is display define('BOX_TOOLS_IMAGE_HANDLER', 'Image Handler'); on top of the Admin screen, above the logo. The Manager, Admin, Preview, About links still do not work. I even removed the .htaccess file from admin and admin/includes in case a rule there prevented the mod from working but nothing changed.
George
Athens Collectibles
Bookmarks