No category view without menu item

Phoca Gallery plugins - plugins for Phoca Gallery extension
Only-me
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 07 Aug 2008, 12:34

No category view without menu item

Post by Only-me »

Hello

I wrote an article and included pictures to it with the plugin, like:

Code: Select all

{phocagalleryview=category|categoryid=23|imageid=0|limitstart=0|limitcount=2|detail=0|displayname=0|displaydetail=0|enableswitch=0|displaydownload=0}
It shows me in this case the two thumbnails but when I click on them to enlarge them, it says in the overlay: "404 - Component not found!"

So when I link this specific category to the menu with a Phoca Gallery Category Layout it works. But as soon as I remove or unpublish this menu-item the pictures in the article are not showing.

So can't I display pictures from an categories in an article which don't have an entry in the navigations? Because it is the same with sub-categories. If I linked the menu to "Category" i can use the plugin for pictures in "Category" but not for "Category --> SubCategory". They are also not showing in an article.

Thanks
dwilson
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 02 Jan 2008, 21:55

Re: No category view without menu item

Post by dwilson »

Ran into the same issue
User avatar
caro84g
Phoca Hero
Phoca Hero
Posts: 1369
Joined: 11 Feb 2008, 17:52
Location: Holland
Contact:

Re: No category view without menu item

Post by caro84g »

Hi,

yes, there are some problems with URL creating as far as I know. It would work too, when you disable SEF.

You can make a new module, make an item within that module and set it to public. Then you go to the module manager and you set the module to inactive.

it's a workaround, but you can't see it on the front webpage

Carolien
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: No category view without menu item

Post by Jan »

Try to see:
https://www.phoca.cz/documentation/index ... ent/24-faq

Question 2, the plugin should work as the module...

Jan
If you find Phoca extensions useful, please support the project
Only-me
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 07 Aug 2008, 12:34

Re: No category view without menu item

Post by Only-me »

It worked. If anyone else has the problem:

Create a new item in the menu, e.g. separator and set it to unpublished
Then create another item as Phoca Gallery Category Layout, select the Category where your pictures you want to show in an article are in but set this one to published.

It will not show on the navigation because the main item (e.g. separator) is not Published. Unfortunately you have to create a subitem for each single category and each single subcategory you want to use anywhere else.
User avatar
caro84g
Phoca Hero
Phoca Hero
Posts: 1369
Joined: 11 Feb 2008, 17:52
Location: Holland
Contact:

Re: No category view without menu item

Post by caro84g »

Only-me wrote:Unfortunately you have to create a subitem for each single category and each single subcategory you want to use anywhere else.
And if you create a link to the the categories layout (so it displays all categories - if the menu was published - then all links are created, afaik).
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
Post Reply