Page 43 of 77 FirstFirst ... 33414243444553 ... LastLast
Results 421 to 430 of 762
  1. #421
    Join Date
    Sep 2009
    Posts
    186
    Plugin Contributions
    0

    Default Re: ZX Slideshow official thread

    You are awesome sir! Where can I donate? Thank you so much!

  2. #422
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,616
    Plugin Contributions
    19

    Default Re: ZX Slideshow official thread

    Quote Originally Posted by new2u View Post
    You are awesome sir! Where can I donate? Thank you so much!
    Hehe, no problem! Donations are appreciated, but not required, completely your choice. If you wish, you can donate here.

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

    Default Re: ZX Slideshow official thread

    Yeah this is a problem I've noticed with plugins that rely on the jQuery library. Not everyone uses the same method to include jQuery in their modules. Some modules hardcode the call to jQuery inside the add-on code, and others include the JQuery library as a file to be uploaded to the template's jscript folder..

    Just to err on the side of caution and eliminate any of the weird JQuery related issues I've run across, I've gone through all of my client's sites and stripped out any hardcoded lines in modules that loads the jQuery library. I then chose to simply remove all the jQuery library files that any module includes (all the files that are to be uploaded to the templates jscript folder) and instead modified the template header file so that I am loading jQuery from a CDN (I'm using JQuery's CDN as opposed to Google's CDN as I'm of the "get it from the source" kinda mindset) This literally stopped all the strange jQuery conflict related behavior and ensures my client's sites are using the latest versions of jQuery.. I do beleive that the upcoming Zen Cart v1.6 is doing the same.. Means a LOT of modules will have to be updated to remove any jQuery libraries they load.. Bright side is that for add-on developers is they do not have to include the jQuery library in their module packages anymore..
    Last edited by DivaVocals; 17 May 2013 at 05:17 PM.
    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.

  4. #424
    Join Date
    Sep 2009
    Posts
    186
    Plugin Contributions
    0

    Default Re: ZX Slideshow official thread

    Done sir, thanks again. If you ever want a coupon code, send me a message ;-)

  5. #425
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,616
    Plugin Contributions
    19

    Default Re: ZX Slideshow official thread

    Quote Originally Posted by DivaVocals View Post
    Yeah this is a problem I've noticed with plugins that rely on the jQuery library. Not everyone uses the same method to include jQuery in their modules. Some modules hardcode the call to jQuery inside the add-on code, and others include the JQuery library as a file to be uploaded to the template's jscript folder..

    Just to err on the side of caution and eliminate any of the weird JQuery related issues I've run across, I've gone through all of my client's sites and stripped out any hardcoded lines in modules that loads the jQuery library. I then chose to simply remove all the jQuery library files that any module includes (all the files that are to be uploaded to the templates jscript folder) and instead modified my template header file so that I am loading jQuery from a CDN (I'm using JQuery's CDN as opposed to Google's CDN as I'm of the "get it from the source" kinda mindset) This literally stopped all the strange jQuery conflict related behavior and ensures my client's sites are using the latest versions of jQuery..
    I absolutely agree with that method. However, it requires an additional code edit (most html_header.php files are modified) and wouldn't allow the simple drag-n-drop installation... I've done my best to avoid any need for the user to go into the code and edit files because most people find that to be a problem. If only I could find a way to make these installations from the admin with no FTP...

    IMO, the best way would be to EDUCATE everyone writing any Zen Cart modules to simply use the native functions and put all of their code in the jscript directory. Hard-coding is never a good solution and I tend to avoid it if there are better approaches.

    Although, it would probably be a good idea for the Team to include jQuery in the original html_header.php and make it a standard with Zen Cart. I mean, 99.9% of Zen Cart sites are nowadays using jQuery one way or the other so why not make it included with the vanilla install...

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

    Default Re: ZX Slideshow official thread

    Quote Originally Posted by balihr View Post
    I absolutely agree with that method. However, it requires an additional code edit (most html_header.php files are modified) and wouldn't allow the simple drag-n-drop installation... I've done my best to avoid any need for the user to go into the code and edit files because most people find that to be a problem. If only I could find a way to make these installations from the admin with no FTP...
    I agree, and on a related topic I'm also a BIG proponent of not hardcoding what should be properly included in an admin settings menu. (on/off, yes/no settings should be in the admin menu NOT in the code) Just went through this exercise in collaborating on an update to the Events Calendar module..

    That said, there are places where requiring a code edit/merge is simply unavoidable, and in that case I make sure that the changes are CLEARLY commented because it makes it easy as pie to spot changes when using file merging software.. I learned this from developers I've worked with in the past, and several Zen Cart masters employ the same techniques in their code -- Conor Kerr's code is a GREAT example of this.. The way he comments his code changes it's like practically shining a SPOTLIGHT on where the modifications are..

    Quote Originally Posted by balihr View Post
    IMO, the best way would be to EDUCATE everyone writing any Zen Cart modules to simply use the native functions and put all of their code in the jscript directory. Hard-coding is never a good solution and I tend to avoid it if there are better approaches.
    I agree.. though in the defense of some modules (Zen Lightbox for example), I do believe that some of these leftover practices were from the days before the current template stucture became part of the core, and some devs didn't "fix" these hardcoded kinds of things..

    Quote Originally Posted by balihr View Post
    Although, it would probably be a good idea for the Team to include jQuery in the original html_header.php and make it a standard with Zen Cart. I mean, 99.9% of Zen Cart sites are nowadays using jQuery one way or the other so why not make it included with the vanilla install...
    Yep.. I totally agree..
    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.

  7. #427
    Join Date
    May 2013
    Location
    Brisbane, Queensland, Australia, Australia
    Posts
    7
    Plugin Contributions
    0

    Default Re: ZX Slideshow official thread

    Can you please assist? Total newb here.

    I've renamed and uploaded and ran the sql and ZX SLideshow doesn't show in the menu? I'm sure I've missed something but can't figure out why? My website is www.LJandEB.com

  8. #428
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,616
    Plugin Contributions
    19

    Default Re: ZX Slideshow official thread

    Quote Originally Posted by LisaB View Post
    Can you please assist? Total newb here.

    I've renamed and uploaded and ran the sql and ZX SLideshow doesn't show in the menu? I'm sure I've missed something but can't figure out why? My website is www.LJandEB.com
    Did you run the correct SQL patch? Which version of Zen Cart are you using? I checked your site, but can't tell much about admin problems by seeing the frontend.

  9. #429
    Join Date
    May 2013
    Location
    Brisbane, Queensland, Australia, Australia
    Posts
    7
    Plugin Contributions
    0

    Default Re: ZX Slideshow official thread

    Quote Originally Posted by balihr View Post
    Did you run the correct SQL patch? Which version of Zen Cart are you using? I checked your site, but can't tell much about admin problems by seeing the frontend.
    Sorry, as I said, total newb! I'm using Zen 1.5.1. Definitely did the 1.5 sql patch. I don't think I've uploaded the files correctly. The updates folder was fine but can you please confirm where I'm supposed to put the following:

    zx_slideshow_v2_0_1\files\MYTEMPLATE(I renamed it)\includes\extra_datafiles\zx_slideshow.php
    zx_slideshow_v2_0_1\documentation\assets

    I think that's where I'm a little lost

  10. #430
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,616
    Plugin Contributions
    19

    Default Re: ZX Slideshow official thread

    Quote Originally Posted by LisaB View Post
    Sorry, as I said, total newb! I'm using Zen 1.5.1. Definitely did the 1.5 sql patch. I don't think I've uploaded the files correctly. The updates folder was fine but can you please confirm where I'm supposed to put the following:

    zx_slideshow_v2_0_1\files\MYTEMPLATE(I renamed it)\includes\extra_datafiles\zx_slideshow.php
    zx_slideshow_v2_0_1\documentation\assets

    I think that's where I'm a little lost
    Documentation doesn't get uploaded, there's no need for that. You just upload everything that is inside "files" directory. You have to rename YOUR_ADMIN to the actual admin directory on your server. After you get the files in the proper structure, you'll need to run the SQL patch again.

 

 
Page 43 of 77 FirstFirst ... 33414243444553 ... LastLast

Similar Threads

  1. EasyPopulate 4.0 Support Thread
    By chadderuski in forum Addon Admin Tools
    Replies: 3662
    Last Post: 30 Apr 2025, 04:14 AM
  2. Hebrew Support - latest release [Support Thread]
    By eranariel in forum Addon Language Packs
    Replies: 20
    Last Post: 23 Apr 2025, 08:49 AM
  3. goMobile Support Thread
    By steveyork136 in forum Addon Templates
    Replies: 29
    Last Post: 26 Aug 2015, 11:56 AM
  4. Frontpage Slideshow [support thread]
    By sport_billy in forum All Other Contributions/Addons
    Replies: 108
    Last Post: 10 Jul 2014, 12:41 PM
  5. SnapShot [support thread]
    By skipwater in forum All Other Contributions/Addons
    Replies: 32
    Last Post: 26 Oct 2012, 08:38 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