Slideshow Multiple Categories in 1 Show

Phoca Gallery plugins - plugins for Phoca Gallery extension
adamsr2
Phoca Member
Phoca Member
Posts: 40
Joined: 03 Nov 2017, 07:08

Slideshow Multiple Categories in 1 Show

Post by adamsr2 »

I’m new to this.
I created an article. I clicked on “Phoca Gallery Image” button/slideshow. I picked a Category which is also a Phoca Gallery folder, “Miscellaneous”. I clicked “Insert Code”. “ {pgslideshow id=14|width=640|height=480|delay=2000|image=L}” suddenly appeared in the article.
I did the same for the other 17 Phoca Categories. I saved and published the article. I refreshed the website.
The article is found in the “Slideshow” menu item.
I now have 18 slideshows on the page. I’d like to have one. How can I merge all 18 into one show? I’d like the pictures to be random also.

Here's the code I'm using:

{pgslideshow id=14|width=640|height=480|delay=1000|image=L}{pgslideshow id=13|width=640|height=480|delay=1000|image=L}{pgslideshow id=10|width=640|height=480|delay=1000|image=L}{pgslideshow id=8|width=640|height=480|delay=1000|image=L}{pgslideshow id=11|width=640|height=480|delay=1000|image=L}{pgslideshow id=2|width=640|height=480|delay=1000|image=L}{pgslideshow id=7|width=640|height=480|delay=1000|image=L}{pgslideshow id=12|width=640|height=480|delay=1000|image=L}{pgslideshow id=6|width=640|height=480|delay=1000|image=L}{pgslideshow id=15|width=640|height=480|delay=1000|image=L}{pgslideshow id=9|width=640|height=480|delay=1000|image=L}{pgslideshow id=5|width=640|height=480|delay=1000|image=L}{pgslideshow id=1|width=640|height=480|delay=1000|image=L}{pgslideshow id=18|width=640|height=480|delay=1000|image=L}{pgslideshow id=3|width=640|height=480|delay=1000|image=L}

Joomla! 3.82
Phoca Gallery Slideshow Plugin 4.3.2
Phoca Gallery Plugin 4.3.4
Phoca Gallery Button Plugin 4.2.1
Phoca Gallery 4.3.6
All Phoca products are enabled
Windows 10
Using Joomla internal Editor, Beez3 template


Live website: www.midlandcommunityorchestra.com (Right now inaccessible outside the US. I'm trying to get that changed.)
christine
Phoca Hero
Phoca Hero
Posts: 2819
Joined: 28 Nov 2010, 17:20

Re: Slideshow Multiple Categories in 1 Show

Post by christine »

Hi adamsr2,

Btw: Phoca Gallery Plugin 4.3.4 > latest: 4.3.5
About the 18 slideshows. Hmm :idea: I can see this Code beneath your images:

{pgslideshow pgslink=2| width=640|height=480|delay=3000|image=L}

pgslink=2 would mean: "link to all categories" > https://www.phoca.cz/documents/19-phoca ... how-plugin

Kind regards, Christine
adamsr2
Phoca Member
Phoca Member
Posts: 40
Joined: 03 Nov 2017, 07:08

Re: Slideshow Multiple Categories in 1 Show

Post by adamsr2 »

Thanks for giving this a try! I tried using the code {pgslideshow pgslink=2| width=640|height=480|delay=3000|image=L} Once I saved, published and refreshed, all I got on my web page was {pgslideshow pgslink=2| width=640|height=480|delay=3000|image=L}

What am I doing wrong?


Thanks....
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Slideshow Multiple Categories in 1 Show

Post by Jan »

Hi, if you get the raw plugin code on your site, it can mean:

- the plugin is not installed or published (the content plugin, not the button plugin)
- the code is set in part which does not render content plugins: https://www.phoca.cz/documents/16-jooml ... t-articles

Jan
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Slideshow Multiple Categories in 1 Show

Post by Jan »

Hi, after notice from Benno, I see that the plugin code is missing the ID parameter.

The ID parameter is required, without ID the plugin will not work. Plugin works only with ID because to prevent from overloading (e.g. if all images will be loaded into the slideshow at once, it can cause overloading of server, this is why it is set to each category). So for now there is no feature to display all images from gallery at once :idea:

You can set random displaying of images with parameter imageordering but this only works with selected category.

So to load all the images without category limitation, the code needs to be customized :idea:

Jan
If you find Phoca extensions useful, please support the project
adamsr2
Phoca Member
Phoca Member
Posts: 40
Joined: 03 Nov 2017, 07:08

Re: Slideshow Multiple Categories in 1 Show

Post by adamsr2 »

Thank you! I'm been working on a Creating a Custom HTML Module with Prepare Content Enabled. Then I load my module into the article. Now I know why it wouldn't work.


As an alternative, I guess I reload duplicates all my pictures to the gallery into a new category that would contain all pictures. Then I could ID just one category. I wish I could move copies of the pictures already in the other categories into my new category. Then I wouldn't have to reload all of them.
Post Reply