Display specific albums per content page

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
antosha
Forum Members
Forum Members
Posts: 60
Joined: Fri Jun 06, 2008 7:20 pm
Location: Montreal, Canada

Display specific albums per content page

Post by antosha »

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 : )
Last edited by antosha on Fri Mar 06, 2009 1:47 am, edited 1 time in total.
Follow me on twitter: end_tone
Linked In: levchenkoanton
antosha
Forum Members
Forum Members
Posts: 60
Joined: Fri Jun 06, 2008 7:20 pm
Location: Montreal, Canada

Re: Specific albums per content page

Post by antosha »

Anyone?
Follow me on twitter: end_tone
Linked In: levchenkoanton
kateb
Forum Members
Forum Members
Posts: 13
Joined: Sun Jul 13, 2008 2:58 pm

Re: Display specific albums per content page

Post by kateb »

I am searching for the answer to this too... any ideas would be fantastic!
tyman00
Power Poster
Power Poster
Posts: 906
Joined: Tue Oct 24, 2006 5:59 pm

Re: Display specific albums per content page

Post by tyman00 »

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.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Display specific albums per content page

Post by Dr.CSS »

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...
Post Reply

Return to “Modules/Add-Ons”