Phoca Gallery Module - Category List - Bug
Posted: 29 Nov 2010, 23:05
I am having major problems with the Phoca Gallery Module - Category List Layout...
I have created a category list layout with the name of Photos with the alias photos. After clicking on the menu link, instead of bringing me to a category list it brings me to a 404 page error and says it cannot find article #15...
If I rename the category list layout to something else it will work correctly and display the list...
I believe the reason for this is the way I set up phoca gallery.. I'll explain...
Originally my site was set up with a main menu that had a article layout link called Photos with alias of photos.. The id number of this article was #15... When clicking on the link it displayed an article with pictures of the subcategories which where embedded with links to their corresponding articles.. Those corresponding articles displayed a gallery of pictures..
The menu structure looked like this (simplified a bit)
Home
History
Photos
>Layout
>Trains
>>Diesel
>>Electric
>>Steam
>Other Activities
>>Fair
>>Fishing Trip
>>Steam Town
Videos
Etc
Etc
When I decided to use phoca gallery I didnt realize how to set up my structure.. I only made the end articles that displayed galleries phoca gallery category layouts... So Photos, Layout, Trains, and Other Activities where all article list layout's and the rest where now phoca category layouts...
This was working just fine, breadcrumbs displayed correctly and I was happy... But after reading more about phoca gallery I decided I wanted to replace the main photos gallery with a category list layout and the subcategories Layout, Trains, and Other activities into category layouts... And that is where everything went crazy... Before I replaced them I made a new menu option Testgallery with a category list layout... When I clicked on this link it showed the subcategories correctly and breadcrumbs displayed correctly... Once I clicked on a subcategory a lot of my modules disappeared. Also the breadcrumbs where displaying incorrectly... I checked my modules and noticed that any module that was not set to show on all was not appearing on the subcategories page.. If i had from selected list selected and picked Testgallery the modules would appear on the testgallery page but not when i clicked on the subcategory page... If i had all selected, my modules would show up on both the category and subcategory page...
Ok so i figured out where my modules had gone but why was that happening and why arnt my breadcrumbs working... after looking a little more I noticed that when clicking on the menu links photos trains electric, the breadcrumbs where fine... electric showed up as /category/1... but when i clicked on test gallery and went to electric it showed up as /category/1-electric... (not exact names)... So basically, the menus where pointing to one page and the category list subcategories where pointing to a different page...
So I decided okay lets delete all the articles, all the phoca gallery categories, menus, basically everything to do with the photos section and start new... So I made a new category list menu button called Photos with the alias of photos and clicked on the link to find the 404 error can't find article #15... I look at the links and it is pointing to categories not an article...
Sorry I know this is long, but if you can follow my logic there is definitely something wrong here... I can bypass this by just naming my menu Photos but changing the alias to photos1, but figured Id put this up here in case you can actually figure out what is wrong from this long ass mess that I wrote
I have created a category list layout with the name of Photos with the alias photos. After clicking on the menu link, instead of bringing me to a category list it brings me to a 404 page error and says it cannot find article #15...
If I rename the category list layout to something else it will work correctly and display the list...
I believe the reason for this is the way I set up phoca gallery.. I'll explain...
Originally my site was set up with a main menu that had a article layout link called Photos with alias of photos.. The id number of this article was #15... When clicking on the link it displayed an article with pictures of the subcategories which where embedded with links to their corresponding articles.. Those corresponding articles displayed a gallery of pictures..
The menu structure looked like this (simplified a bit)
Home
History
Photos
>Layout
>Trains
>>Diesel
>>Electric
>>Steam
>Other Activities
>>Fair
>>Fishing Trip
>>Steam Town
Videos
Etc
Etc
When I decided to use phoca gallery I didnt realize how to set up my structure.. I only made the end articles that displayed galleries phoca gallery category layouts... So Photos, Layout, Trains, and Other Activities where all article list layout's and the rest where now phoca category layouts...
This was working just fine, breadcrumbs displayed correctly and I was happy... But after reading more about phoca gallery I decided I wanted to replace the main photos gallery with a category list layout and the subcategories Layout, Trains, and Other activities into category layouts... And that is where everything went crazy... Before I replaced them I made a new menu option Testgallery with a category list layout... When I clicked on this link it showed the subcategories correctly and breadcrumbs displayed correctly... Once I clicked on a subcategory a lot of my modules disappeared. Also the breadcrumbs where displaying incorrectly... I checked my modules and noticed that any module that was not set to show on all was not appearing on the subcategories page.. If i had from selected list selected and picked Testgallery the modules would appear on the testgallery page but not when i clicked on the subcategory page... If i had all selected, my modules would show up on both the category and subcategory page...
Ok so i figured out where my modules had gone but why was that happening and why arnt my breadcrumbs working... after looking a little more I noticed that when clicking on the menu links photos trains electric, the breadcrumbs where fine... electric showed up as /category/1... but when i clicked on test gallery and went to electric it showed up as /category/1-electric... (not exact names)... So basically, the menus where pointing to one page and the category list subcategories where pointing to a different page...
So I decided okay lets delete all the articles, all the phoca gallery categories, menus, basically everything to do with the photos section and start new... So I made a new category list menu button called Photos with the alias of photos and clicked on the link to find the 404 error can't find article #15... I look at the links and it is pointing to categories not an article...
Sorry I know this is long, but if you can follow my logic there is definitely something wrong here... I can bypass this by just naming my menu Photos but changing the alias to photos1, but figured Id put this up here in case you can actually figure out what is wrong from this long ass mess that I wrote