Hello/Hi/Greetings,
Is there any way to get current category ID in template? I want to pass this ID to Carousel so it will show on album just pictures from current album user visited.
Thanks
Piwigo version: latest
Piwigo URL: http://iphoto.macweb.cz
Offline
Hi :-)
in php
global $page;
$page['category']['id'];
Offline
Thanks men now i have it there:
$template->assign('page_id', $page['category']['id']);
cool now i can do the tricks...
Offline
great thank you again now it's working as I wanted.
Offline
:-)
link demo ?
Offline
Piwigo URL: http://iphoto.macweb.cz
that Carousel on top is now changing when user enter a subs. From mobile devices also but with different style and supports slideleft(),slideright()
Offline
you're make a plugin ?
Offline
no I just replace that old random image plugin with something that work with bootstrap. ;)
Offline
this is just a “jumbotron” with Carousel and little bit of javascript,css magic :) it is actually in help from that theme but it must be tuned up for use. That theme have a lot of strange errors...
Offline