![]() |
|
Slimbox not working on search result images in effervescence_plus - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Slimbox not working on search result images in effervescence_plus (/thread-10871.html) Pages:
1
2
|
Slimbox not working on search result images in effervescence_plus - Denn - 2013-02-21 I have implemented a customized version of effervescence_plus on my site. When I first tried the search, even though the profile is set to slimbox the images took you to an image page. Images and slimbox work properly everywhere else. I looked at the generated code and it was not generating the rel link (rel="lightbox[]") so I modified the image thumb generation code to match that of the albums and made sure the search page is loading the js and css that should be called. After this the click on an image from a search page generates the image but not in the page nor in an actual slimbox. I have compared the generated code from the albums pages and the search pages and there are no differences that I can find in the calls to load nor the image sections and the lightbox rel call is there. Since this is an included theme and search is implemented by default I figure someone must have run into this. What am I missing? All help appreciated. Slimbox not working on search result images in effervescence_plus - acrylian - 2013-02-21 Zenphoto 1.4.2.3 is not current and the Eff+ theme does not use Slimbox at all anymore for quite some time. Slimbox not working on search result images in effervescence_plus - Denn - 2013-02-21 So it works in the theme but because it isn't current it doesn't work in the search? That makes no sense. I used the eff+ from the 1.4.2.3 [9710] (Official Build) and it used slimbox. In fact it is one of three "profile options" in the theme options. It isn't that old. (Apr. 2012) What has it been replaced with? Am I going to have to do a redevelopment every time I upgrade? It is a major PITA to have to customize pages in the theme every time and I thought the whole point of being able to duplicate the theme was so it would keep working when upgrading the core. Wasn't that the point? Did you really do something in the core that breaks the slimbox in search but not in the albums? Do you really expect folks to upgrade and redo all their theme customization every time you have a point release? We just want to run our web sites... Any actual help still appreciated as well as answers to the above questions. Slimbox not working on search result images in effervescence_plus - acrylian - 2013-02-21 Quote:It is a major PITA to have to customize pages in the theme every time and I thought the whole point of being able to duplicate the theme was so it would keep working when upgrading the core. Wasn't that the point? If you need to "redevelop" depends on your changes. Generally theme do work quite some time without much changes. As said really no way we can take care about customizations. Anyway, we don't use or support that older version (we clearly state that we can only support the current one on the forum rules) due to lacking resources. Eff+ now uses Colorbox. That works the same actually. I am not familiar with this theme that much, my colleague is though. In any case you should try the current official one to see if it is that way. If it is it might be a bug and you should open a ticket. Slimbox not working on search result images in effervescence_plus - sbillard - 2013-02-21 The main reason for dropping SlimBox was incompatibilities with the current version of jQuery that Zenphoto depends upon. We have consciously dropped java implementations that are not based on jQuery when those continually had problems with our environment. Of course you are not required to upgrade. But in the same vein we are not required to support old releases. As to why your change does not work, well, we do not know. Nor are we going to try to figure it out, since that would be pointless to our current release. Colorbox is available and working on the current release, though, and as acrylian says, provides the same functionality as slimbox did. The other point of duplicating the theme is that you can then easily compare your version with the newer version to see where changes might be needed in your modified version. Slimbox not working on search result images in effervescence_plus - Denn - 2013-02-22 So how many versions can I expect colorbox to last through? And does it work in the search as well as the album or am I going to have the same issues? Seems this must have come up while it was supported, which was only up to about 9 months ago. Slimbox not working on search result images in effervescence_plus - acrylian - 2013-02-22 There are no plans to discard Colorbox as it is also an official plugin. But in case the developer decides to abandon it the next months we surely will look for a replacement script as it is dependent on jQuery. Besodes all these "lightbox" type scripts work quite similar so it is not that much work to adjust. Sorry, but if you choose to use a selfhosted tool like Zenphoto you have to do a bit of work yourself. Quote:And does it work in the search as well as the album or am I going to have the same issues? Slimbox not working on search result images in effervescence_plus - Denn - 2013-02-22 I'd love to test it. Never seen that tool before. But it doesn't actually work. tried on 2 computers in Firefox and safari and it won't switch out of simple viewer so I can't see the behavior of colorbox. (the link adds colorbox when I switch the drop down but then the dropdown goes back to simpleviewer and nothing on the screen changes.) When I get there there is a picture of the day. If I go to any album I get errors and big X's, no images. And since I can't see any tags I'd need a working search term to help find something. Let me know when the demo is working. As for "doing a bit of work, have you been to my site? (link is in the first post in the thread) I did a crap load of work. And have had to do quite a lot each time I have upgraded. I'm not adverse to doing the work but having to recustomize the theme pretty much every upgrade gets a bit onerous and generally eats up a day or more of my time. So I was really hoping that the whole "copy of theme" thing would end that treadmill. Slimbox not working on search result images in effervescence_plus - Denn - 2013-02-22 Addendum: Slimbox not working on search result images in effervescence_plus - acrylian - 2013-02-22 Quote:So I was really hoping that the whole "copy of theme" thing would end that treadmill. Just to note regarding "work on every update": Our own site's theme is quite a custom one with lots of extra functionality and we (respectively I being mainly responsible for it) didn't have too much work with it the last years. Same on other sites. Of course if someone would leave out years of updates he will get quite a lot of work to do. Regarding the demo not working: Thanks for the note. We recently moved to a new server and maybe there is something not right for that install. I will talk to our server admin. Slimbox not working on search result images in effervescence_plus - Denn - 2013-02-22 OK, I have spent most of the day since updating one of the installs, trying to get it customized back to where it was. Making some progress although it seems several things are borked in the newer version of the eff+ theme or have been changed in addition to the slimbox replacement with colorbox. (It would be nice if there were theme specific changelogs BTW) First, for whatever reason, the line $themeResult = getTheme($zenCSS, $themeColor, 'dslight'); is no longer at the top of pages like indexpage and gallery after if (!defined('WEBPATH')) die(); so it does not pick up the style defined in the theme options (in this case, dslight which is mine and added to the set that come with the theme.) Adding it back did work. In addition, the page completely breaks on this Which I have been using for ages to produce a submenu. Has this been replaced with another function or set of functions or is it just broken in this version of ZP? If the former, please point me in the right direction. As for the "work on every update" issue, I'm not trying to get into a pissing match with you and I understand that the customization I do is not directly supported by you. My customization isn't that complex. It makes the zp pages look like the rest of the site, basically. But when I do an upgrade and actual functions break and I have to find a new way to implement the function it would be great to see a head's up before I do it. The change logs could use a better search capacity for that purpose. There are other things broken on your site besides the theme demo. For example, go here: Anyway, thanks for the replies and thanks for ZP. Slimbox not working on search result images in effervescence_plus - Denn - 2013-02-22 never mind on the printmenualbumlist. I had forgotten it was a plugin and it was somehow turned off during the upgrade. Turned it back on and that is working now. Slimbox not working on search result images in effervescence_plus - sbillard - 2013-02-23 There is a change history on GitHub. It was imported when we migrated from the SVN repository. Hopefully all the history migrated correctly. Just a small suggestion for you to save you the difficulties you have been going through with the upgrade. First, upgrade slowly--that is one feature release at a step. That minimizes the changes. Second, keep a copy of the distributed version of the theme from the old release to compare with the new one. That will show you exactly what we have changed. Third, consider making a repository of your theme using GitHub. That tool has some good merging capabilities, so it might just be possilble for you to merge the new version of the theme into your existing one. Thanks for the link pointer. Looks like the mod_rewrite prefix must have been "hard coded" on those links. On the site now it is Slimbox not working on search result images in effervescence_plus - Denn - 2013-02-23 Thanks, I'll look into that. Here is another issue with the new eff+. YOu have changed the way the slideshow is called (moving it into the functions.php and, stangely, calling the one in the eff+ original folder even though I'm using a custom copy, which just seems wrong to me). But the problem is, when I do a search, I get a view slideshow link on the search page (as I do on image pages, and as I want and as I do on thumbnail pages in the regular galleries). But although it works on the gallery thumbnails it just brings up a basically blank screen on attempting to run it from the search results. You can see this behavior on the default version of eff+, no customization (I'm using colorbox, which is working). The form in the regular page generates as:
` Slimbox not working on search result images in effervescence_plus - sbillard - 2013-02-24 Well, I guess I cannot see. It works perfectly fine for me. But then I am using the latest support build of Zenphoto. Slimbox not working on search result images in effervescence_plus - Denn - 2013-02-28 Sorry for the delay. Been on other projects. Well, that is odd. It sure isn't working for me although I'm using the actual last release. and searching for "slingshot" and then try and run the slideshow from the search results. This is the same behavior I got in the default setup before I did any customization. Slimbox not working on search result images in effervescence_plus - Denn - 2013-02-28 hmm... that may not work for you as apparently the search won't search even unprotected galleries if there are protected ones. If you are interested in checking it out, contact me through the site and i'll get you in. I hoped that just the code above would be enough since it should work in one and does in the other. Slimbox not working on search result images in effervescence_plus - sbillard - 2013-02-28 Well, this site certainly is not the latest Zenphoto support build. It is also not a Zenphoto theme, so there may be multiple reasons for it not working for you. Slimbox not working on search result images in effervescence_plus - Denn - 2013-02-28 Um, it is eff+ with very little modification and none of the mods are in the programming. As I said, it is the latest actual release, not a support build (1.4.4.1b) but, as I said, even just installing that build and going to eff+ and using colorbox and then doing a search you get exactly the same results. Don't you have the ability to have a current install of that version to test it? it would seem you might as a developer on the project. Slimbox not working on search result images in effervescence_plus - acrylian - 2013-02-28 Sorry, we cannot see what exactly you changed on your theme mode. Sometimes small things affect others unwanted. Thus we request plain standard themes. I just tried Eff+ with a search locally with the latest support build and the slideshow in colorbox mode works as intended. |