album.tpl show items from a specific album
damouille
Joined: 2009-10-02
Posts: 2 |
![]() |
Hi, I would like to create a menu in my album.tpl that dipslays links to items from a specific album. I didn't find a way to match with an album id like {foreach from=$theme.children[4436] item=child}build my menu here{/foreach} Is it possible to load a specific album directly in album.tpl or do I need to create a function in theme.inc or is there a module doing that stuff? Thanks in advance for your help. |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
Have you looked at the peer list? Dave |
|
damouille
Joined: 2009-10-02
Posts: 2 |
![]() |
Hi floridave and thanks for your answer. The peer list looks interesting but when I specify an item the block shows nothing ex: {g->block type=core.PeerList item=4436} -> this shows nothing {g->block type=core.PeerList} -> This is relative to the current item, not what i'm looking for. What should be the value for item. I tryed 4436 because it was the $theme.item.id of the targeted album. |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
Well according to the docs: I might have to dig to help out. Dave _____________________________________________ |
|