Keyword
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

Gallery images linking together in article "blog section/category" view

More
17 years 10 months ago - 17 years 3 weeks ago #3844 by pm-at
The problem is the linking of gallery slide shows when different blog entries upload images relating to their particular article.  All images in all articles get  included in the slide show. What are the current options.  How can this be resolved? 

There was mention that this would be addressed in the new release, when will that be available.  Thanks - PM

Please Log in or Create an account to join the conversation.

More
17 years 10 months ago #3845 by JoomlaWorks
Replied by JoomlaWorks on topic Re: Galleries Linking together in blog style
I don't think it might be that easy. You're obviously using SIG Pro on the introtext right? Thus when you view all articles in blog style, the galleries "link" together.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
17 years 10 months ago #3846 by thingwarbler
Replied by thingwarbler on topic Re: Galleries Linking together in blog style
Can someone suggest a workaround that accomplishes the same thing as a blog category listing but avoids the problem of galleries running together?

I'm looking to post individual galleries as separate content items with a title and a thumbnail, and then build the list of available galleries with a single menu item to "galleries" -- but the thumbnail should appear for each entry, not just the title of the gallery, and I'd like to take advantage of the ability to control number of columns etc. with the link parameters.

It's not immediately obvious to me how to accomplish this as long as the gallery bug merges all the images in all the blog's content entries.

Appreciate any tips n' tricks you might have.

Please Log in or Create an account to join the conversation.

More
17 years 10 months ago #3847 by ctf20

I don't think it might be that easy. You're obviously using SIG Pro on the introtext right? Thus when you view all articles in blog style, the galleries "link" together.


so there is no way around that?  can't stop the slideshow from continuing on to the next entry?

Please Log in or Create an account to join the conversation.

More
17 years 10 months ago #3848 by thingwarbler
Replied by thingwarbler on topic Re: Galleries Linking together in blog style
I'm trying to follow the "logic" behind this bug -- each content item has a unique ID, so presumably it'd be possible for a gallery entry to figure out to which content item it belongs and stop merging subsequent images?

Or is Fotis' point (above) that all the {gallery} mambots on a blog category page (containing x gallery entries in the displayed intro texts) simply get processed as one large block when the page is cranked out?

My question then remains: how do you suggest working around this bug in a scenario where you'd like to list gallery 1, gallery 2, and gallery 3 on a page with clickable thumbnails but without simply resulting in one massive slide show of three merged galleries?

Please Log in or Create an account to join the conversation.

More
17 years 10 months ago #3849 by Daniel Clements
Replied by Daniel Clements on topic Re: Galleries Linking together in blog style
Put the images for each gallery in their own folder?

Please Log in or Create an account to join the conversation.

  • Konstantinos Skiadas
  • Konstantinos Skiadas's Avatar
  • Offline
  • New Member
More
17 years 10 months ago #3850 by Konstantinos Skiadas
Replied by Konstantinos Skiadas on topic Re: Galleries Linking together in blog style
I came up with this problem today and found a solution. The bug occurs because of the $sigcount variable. On the frontpage, the mambot runs one time for each article that appears. So, the $sigcount variable initializes again and again for each article, and the frontpage ends up with different "sig0" div classes.

The workaround i used is as follows....

1) Backup plugin_jw_sigpro.php, located at mambots/content
2) At plugin_jw_sigpro.php, do the following




Find the line
$sigdata = '<style type="text/css" media="all">#sigid'.$sigcount.'.sig .sig_cont {width:'.($_width_final_+20).'px;height:'.($_height_final_+20).'px;}</style>';
Just BEFORE that line, insert the following
$sigmd5 = $sigcount . '_' . md5($mosConfig_absolute_path.$rootfolder.$_images_dir_);






Replace all occurences of $sigcount with $sigmd5, EXCEPT FROM the lines
     
$sigcount = -1;
     
$sigcount++;
     
$sigmd5 = $sigcount . '_' . md5($mosConfig_absolute_path.$rootfolder.$_images_dir_);
LEAVE THESE LINES AS THEY ARE. ALL OTHER OCCURENCES OF $sigcount need to be replaced by $sigmd5


This solution worked well for me and the modes that I use. I suppose that it works for each and every other mode, but cannot guarantee that. Just do your backup, and try for yourself. If it does not work, rollback to the backed-up version.

Please Log in or Create an account to join the conversation.

  • JoomlaWorks Support Team
  • JoomlaWorks Support Team's Avatar
  • Offline
  • Platinum Member
More
17 years 10 months ago #3851 by JoomlaWorks Support Team
Replied by JoomlaWorks Support Team on topic Re: Galleries Linking together in blog style
Nice tip to have a look for the next version!

Thanx Hal9000!  :)

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
17 years 9 months ago #3852 by JoomlaWorks
Replied by JoomlaWorks on topic Re: Galleries Linking together in blog style
We'll add this in 1.3. Thanks for your contribution man!  ;)

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
17 years 8 months ago #3853 by Bert McComas
Wait a minute guys, sometimes bugs=features.  I cant live without the ability to link multiple galleries together in this way.  In blog view I have collections of related articles with related galleries.  When a user clicks on any thumb, they can surf through all of the pix visible on the page.  This is great.  I will guess that I am not the only one who is using this as a "feature."  I thought you guys were geniuses for doing it.

A fan.

Please Log in or Create an account to join the conversation.

More
17 years 8 months ago #3854 by MP Media
Thanks Hal9000 - works perfectly for me

Please Log in or Create an account to join the conversation.

More
17 years 8 months ago #3855 by JoomlaWorks

Wait a minute guys, sometimes bugs=features.  I cant live without the ability to link multiple galleries together in this way.  In blog view I have collections of related articles with related galleries.  When a user clicks on any thumb, they can surf through all of the pix visible on the page.  This is great.  I will guess that I am not the only one who is using this as a "feature."  I thought you guys were geniuses for doing it.

A fan.


LOL!!! A fan as you said! But seriously, this should be fixed. Perhaps we'll add a switch for "old" behaviour to satisfy everyone. :)

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
17 years 7 months ago - 17 years 7 months ago #3856 by labtec
Holy Shit, that works! Cant´t believe it... ;D ;D ;D ;D :-*
@vinikey: What have you done, everything seems untouched?

You should post the solution for other!

Please Log in or Create an account to join the conversation.

More
17 years 6 months ago #3857 by freakenstein
i just encoured the "Bug"
and indeed turned it into a feature. :-*
moved my gallery's to different sub-catogories (subfolders),
now the viewers can easely browse into older gallerys of the same catogorie :)

Please Log in or Create an account to join the conversation.

More
17 years 6 months ago #3858 by JoomlaWorks
Creativity unleashed with SIG Pro!  :D

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
17 years 5 months ago #3859 by Morten Knudsen
Thanks, I just had the same problem - and found the solution right here :-)

I wonder why 1.3 version with lot of new features & bugfixes has not yet been released ??? !!!

Please Log in or Create an account to join the conversation.

More
17 years 5 months ago #3860 by mtwoll

Wait a minute guys, sometimes bugs=features.  I cant live without the ability to link multiple galleries together in this way.  In blog view I have collections of related articles with related galleries.  When a user clicks on any thumb, they can surf through all of the pix visible on the page.  This is great.  I will guess that I am not the only one who is using this as a "feature."  I thought you guys were geniuses for doing it.

A fan.


LOL!!! A fan as you said! But seriously, this should be fixed. Perhaps we'll add a switch for "old" behaviour to satisfy everyone. :)


I also use this feature/bug (?) of linking different gallery folders by showing them in a categoryblog. I thought you designed it like this and forgot to mention it in the documentation. It's very usefull and you should not remove it. Please add at least a switch for that behavior! The only problem is that every time I have more than 50 pictures in the so-linked folders, I get a server error: It seems to be the same error that occurs when using the single-picture-option multiple times in one content item. I hope you will get rid of that in the next version (I think George is already on the way to find a solution).
I'm looking forward to the next version!

Please Log in or Create an account to join the conversation.

More
17 years 4 months ago #3861 by _newbie
Thanks, I just had the same problem - now I can fix it.

Please Log in or Create an account to join the conversation.

  • LUIZ G A S MENDONCA LUIZ G A S MENDONCA
  • LUIZ G A S MENDONCA LUIZ G A S MENDONCA's Avatar
  • Offline
  • New Member
More
16 years 11 months ago #3862 by LUIZ G A S MENDONCA LUIZ G A S MENDONCA
Replied by LUIZ G A S MENDONCA LUIZ G A S MENDONCA on topic Re: Gallery images linking together in article "blog section/category" view
Hi Hal9000 !
I am facing the same problem as you are and woul like to implement the smart solutions you found. Tks a lot !
Unfortunately the post with code line changes does not read correctly to me. In the boxes supposed to show code to change/code chaged to I only get a slide rule displayed.
Would you be kind enough to send the code changes in plain text ?
Tks in advance.
Best regards,
guilhermey

Please Log in or Create an account to join the conversation.

More
16 years 10 months ago #3863 by equiweb
I was having the same problem and it has fixed it! Brilliant, thanks for that!  :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum