Hi,
I don't know if that question was asked previously but this is what I am trying to do:
I have content pages which are travel tours destinations. Using the Albums Module I am trying to display specific albums/categories in the sidebar of each travel tour page.
I know I can simply use {cms_module module='album' categories='NUMBER'} but adding this piece of code in the content box of all those pages is not very user friendly.
So I want make something like {cms_module module='album' albumname='{page alias}'} that I could simply plug in the template.
That way I would just need to create albums using the same names as the tour pages aliases.
Does anyone know how to make this possible?
Thanks : )
Display specific albums per content page
Display specific albums per content page
Last edited by antosha on Fri Mar 06, 2009 1:47 am, edited 1 time in total.
Re: Display specific albums per content page
I am searching for the answer to this too... any ideas would be fantastic!
Re: Display specific albums per content page
If I recall correctly you need to build a UDT to do this. It would get all of the available ID's and associate them with the album names so you could call by the name.
If all else fails, use a bigger hammer.
M@rtijn wrote: This is a community. This means that we work together and have the same goal (a beautiful CMS), not that we try to put people down and make their (voluntary) job as difficult as can be.
Re: Display specific albums per content page
Or you may try using the page extra field and just give it a number that is the same as an album and use it in the album call...