Inserting Gallery code in article from editor

Phoca Gallery - image gallery extension
ronh25
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 06 Jul 2025, 20:40

Inserting Gallery code in article from editor

Post by ronh25 »

Hi, I hope someone here can assist me please. It has been a while since
I used phocagallery but I followed my printed tutorial which always used to work well. All worked well wehn I uploaded images, created relevant phocagallery categogy etc. My problem arises when I try to insert the code into an article. In the past this entailed choosing CMS content from the editor and then choosing phocagallery image. This typically produced code like
{phocagallery view=category|categoryid=31|limitstart=0|limitcount=0}
now it seems to produce
{phocagallery view=categories|imagecategories=1|imagecategoriessize=1|hidecategories=31}

can you explain what is happening as the new code seems to show ALL categories EXCEPT the one I want.
How can I insert the code for JUST the relevant category please.
There appears to have been some kind of change going on here. I should perhaps mention that I have changed hosting in the interim period between the way it used to work and the way it does now.

Tags:
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48866
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Inserting Gallery code in article from editor

Post by Jan »

Hi,

both plugins are different:

1) first displays categories view
2) second displays category view

Both views have different parameters and in the time (15 years), it could happen, that some parameters were removed (due to modernization or Joomla core changes, etc.)

But in this case I don't fully understand what do you exactly mean as both plugin codes are different and have different function - one which displays list of images in category view, second which displays list of categories in categories view. :idea:

Jan
If you find Phoca extensions useful, please support the project
ronh25
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 06 Jul 2025, 20:40

Re: Inserting Gallery code in article from editor

Post by ronh25 »

Hi Jan, and many thanks for spending your valuable time assisting me.
My question really relates to the code inserted from the CMS content button relating to Phocagallery. On my old hosting the format automatically inserted took the form of {phocagallery view=category|categoryid=31|limitstart=0|limitcount=0} which correctly displayed the single gallery needed. however on my new hosting service it takes the form of {phocagallery view=categories|imagecategories=1|imagecategoriessize=1|hidecategories=31} which displays all those galleries EXCEPT the one needed.
I understand your explanation for this but want to know HOW or WHAT needs to change in order that the gallery button actually inserts the correct form {phocagallery view=category|categoryid=31|limitstart=0|limitcount=0} I have uploaded screendumps of what I think may help you.
https://imgur.com/a/BHPCxv1

cms1 ,2 and 3 show the stages of cms code insertion and cms4 shows the extensions installed and activated.
I really hope you can pinpoint the solution for me as I really love the extension you have so cleverly produced and would wish to continue using it.
I am no expert in the field but as this seems to have coincided with a change in hosting wonder if it is something to do with my Joomla configuration or incorrect phoca gallery button code. Thanks in advance for any help or indicators I may try.
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9795
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Inserting Gallery code in article from editor

Post by Benno »

Hi,
Once again: Your code: {phocagallery view=category|categoryid=31|limitstart=0|limitcount=0}
is Category View and nothing has changed there!:

#Step 1
Image

#Step 2
Image

#Step 3
Image

#Step 4
Image

#Step 5
Image

Kind regards,
Benno
ronh25
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 06 Jul 2025, 20:40

Re: Inserting Gallery code in article from editor

Post by ronh25 »

Many many thanks Benno, I had not previously understood your explanation re Category and cateegories. Now I see the difference, for my purpose I need to use the images button within the gallery button. I was stupidly thinking I had to use the categories button in the mistaken understanding that the images one was for inserting seperate images.
Whilst you are available what is the "Masonary item used for?
I feel so stupid now and thanks again.
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9795
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Inserting Gallery code in article from editor

Post by Benno »

Hi,
Whilst you are available what is the "Masonary item used for?
See images. Masonry View only makes sense if you have landscape and portrait images in the same category:

backend:
Image

frontend:
Image

Kind regards,
Benno
Post Reply