Forum
Gallery app: get current album category and display related albums
Anyone knows how to do it?
<?php perch_gallery_albums(array(
'template' => 'my_template.html',
'category' => [[CURRENT ALBUM CATEGORY]],
)); ?>
I don't believe Gallery has support for categories.
Looks a must for further versions, any kind of portfolio website need them. Then I have to use Blog instead...
You can implement categories on Gallery, but it doesn't support the newer centralised Categories app.
Then I have to install Categories App? Witch are the differences?
No, it doesn't support the Categories app.
Drew, can you tell me the difference between Categories add-on and centralised?
There's no categories add-on that I'm aware of. Perch itself has a centralised Categories app that handles categories for all core functionality and modern add-ons. Really old add-ons like Gallery aren't set up to use that, but can implement their own category functionality.