Page 75 of 110 FirstFirst ... 2565737475767785 ... LastLast
Results 741 to 750 of 1096
  1. #741
    Join Date
    Jan 2012
    Posts
    5
    Plugin Contributions
    0

    Default Re: Image Handler 3 Support Thread

    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.

  2. #742
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Image Handler 3 Support Thread

    Quote Originally Posted by GArmour View Post
    THANKS!

    Why was it necessary to rename the folders to the same as my admin folder if only the contents get uploaded? This is confusing.
    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.

  3. #743
    Join Date
    Oct 2007
    Location
    Emporia, Kansas
    Posts
    1,762
    Plugin Contributions
    0

    Default Re: Image Handler 3 Support Thread

    Quote Originally Posted by DivaVocals View Post
    I HAD to mess with you girl.. I knew you were blowing off steam..
    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.

  4. #744
    Join Date
    May 2010
    Location
    Athens, Greece
    Posts
    292
    Plugin Contributions
    0

    Default Re: Image Handler 3 Support Thread

    Quote Originally Posted by clydejones View Post
    There will be changes required to the admin side in order for IH3 to work with 1.5

    notably ( image_handler_tools_dhtml.php ) will be deleted

    and replaced with a new datafile definition (
    Code:
    define('BOX_TOOLS_IMAGE_HANDLER', 'Image Handler');
    )

    An sql statement will need to be run in order to register the page in the new 1.5 admin pages. (
    Code:
    INSERT INTO admin_pages (page_key, language_key, main_page, page_params, menu_key, display_on_menu, sort_order) VALUES ('imageHandler', 'BOX_TOOLS_IMAGE_HANDLER', 'FILENAME_IMAGE_HANDLER', '', 'tools', 'Y', 999);
    )

    These change will make IH3 non-backward compatible with previous versions.

    Front end files will need to be compared and merged if necessary.

    I'll let you know how I fair with the testing.
    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?

  5. #745
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,459
    Plugin Contributions
    11

    Default Re: Image Handler 3 Support Thread

    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.

  6. #746
    Join Date
    May 2010
    Location
    Athens, Greece
    Posts
    292
    Plugin Contributions
    0

    Default Re: Image Handler 3 Support Thread

    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?

  7. #747
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Image Handler 3 Support Thread

    Quote Originally Posted by Athens Collectibles View Post
    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?
    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.

  8. #748
    Join Date
    May 2010
    Location
    Athens, Greece
    Posts
    292
    Plugin Contributions
    0

    Default Re: Image Handler 3 Support Thread

    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.

  9. #749
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Image Handler 3 Support Thread

    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.)

  10. #750
    Join Date
    May 2010
    Location
    Athens, Greece
    Posts
    292
    Plugin Contributions
    0

    Default Re: Image Handler 3 Support Thread

    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.

 

 
Page 75 of 110 FirstFirst ... 2565737475767785 ... LastLast

Similar Threads

  1. v150 Image Handler 4 (for v1.5.x) Support Thread
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 1687
    Last Post: 17 Nov 2024, 07:26 PM
  2. AJAX IMAGE Swapper support thread
    By jaycode in forum All Other Contributions/Addons
    Replies: 785
    Last Post: 13 Jan 2016, 11:48 PM
  3. v138a Image Handler 2 (for ZC v1.3.8 ONLY) Support
    By timkroeger in forum All Other Contributions/Addons
    Replies: 7098
    Last Post: 12 Oct 2014, 03:48 AM
  4. Image Titles Support Thread
    By gjh42 in forum All Other Contributions/Addons
    Replies: 155
    Last Post: 9 Sep 2014, 04:51 AM
  5. Image Handler Support Please
    By nadinesky in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 30 Sep 2013, 03:47 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR