Page 1 of 1

Gallery module - display parent gallery name

Posted: Fri Jan 28, 2011 10:49 am
by aleksanderlech
Hi,
I'm looking for solution of my problem. I have website with many galleries with subagalleries. I need a solution like breadcrumbs inside Gallery module. As fara as I know, there is no breadcrumbs in Gallery. So maybe possibility of displaying parent gallery name with link to parent will be something like breadcrumbs. Is that possible?

Greetings
Aleksander

Re: Gallery module - display parent gallery name

Posted: Fri Jan 28, 2011 1:52 pm
by nicmare
a real breadcrump navigation is not possible afaik.
there are just these variables for the first parent page:
# {$parent_url} - url to the parent folder
# {$parent_txt} - text to create a link with above url
edit: maybe you could insert a second gallery instance with a tree menu in your template and this could provide you a helpful navigation while browsing through the galleries

Re: Gallery module - display parent gallery name

Posted: Sat Jan 29, 2011 7:12 pm
by aleksanderlech
# {$parent_txt} - text to create a link with above url
This one shows just standard text: "go to parent gallery", not quite useful here.

Second gallery instance is the way I used, so, thank you for your suggestions.

Regards
Aleksander

Re: Gallery module - display parent gallery name

Posted: Mon Dec 09, 2013 8:22 pm
by fearmydesign
I realize this is an old thread, but I am just trying to search for a similar problem. I am using {cms_bradcrumbs} but it only gives the top url and not all the sub categories etc for the Gallery.

For example, this is the url:
http://www.cicounters.com/gallery/Waypo ... va/1-28-24

And the breadcrumbs only gives me this:
You are here: Home » Products & Services » Cabinets
I can't figure out where to add this {$parent_url} that was mentioned on this thread so my breadcrumbs can display a more specific url. Any help will be greatly appreciated!

Thanks

Re: Gallery module - display parent gallery name

Posted: Tue Dec 10, 2013 3:00 am
by applejack
Look in the templates for the Gallery module.

Also to get a sub category you could use regex and explode.