Otherwise, never heard of diashow
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
MarcW.
Joined: 2006-04-09
Posts: 42
Posted: Fri, 2009-03-27 20:48
oh yes it´s called slideshow. now I´ve activated it, but can still not see something in the album.
nivekiam
Joined: 2002-12-10
Posts: 16503
Posted: Fri, 2009-03-27 20:59
I'm not that familiar with the Siriux theme. Just looking at the template files, I believe you're either going to have to add the Item Actions block to the album page or you're going to have to hack at the theme so it does something similar to what Floatrix does, by splitting out the user and admin links so the user links can be displayed on the album and I think photo pages without having the Item Links block on the page.
See the _splitItemLinks function in theme.inc for Floatrix to get an idea of what that theme is doing.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
And I´ve put in this Link into the photo.tpl of my siriux theme and it´s working, but the problem is, this is a static URL and of course I want that the last part of the URL (itemID=1592) is dynamically generated, so that the itemID of the Image which is shown at the time must be in there, but I don´t know how to do this in my photo.tpl.
Edit: I see - my misunderstanding I think - Supersidr's for if you want the slideshow of the current album - this if you want the slideshow of the album under each thumbnail.
Posts: 16503
diashow?
Do you mean slideshow? If so Site Admin > Plugins
Otherwise, never heard of diashow
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 42
oh yes it´s called slideshow. now I´ve activated it, but can still not see something in the album.
Posts: 16503
I'm not that familiar with the Siriux theme. Just looking at the template files, I believe you're either going to have to add the Item Actions block to the album page or you're going to have to hack at the theme so it does something similar to what Floatrix does, by splitting out the user and admin links so the user links can be displayed on the album and I think photo pages without having the Item Links block on the page.
See the
_splitItemLinksfunction in theme.inc for Floatrix to get an idea of what that theme is doing.____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 42
so, I am a step further, I know the URL to start the slideshow:
http://www.url.com/gallery/main.php?g2_view=slideshow.Slideshow&g2_itemId=1592
And I´ve put in this Link into the photo.tpl of my siriux theme and it´s working, but the problem is, this is a static URL and of course I want that the last part of the URL (itemID=1592) is dynamically generated, so that the itemID of the Image which is shown at the time must be in there, but I don´t know how to do this in my photo.tpl.
Posts: 6138
{if $theme.pageType == 'photo'} <a href="{g->url arg1="view=slideshow.Slideshow" arg2="itemId=`$theme.parent.id`"}"> {g->text text="View Slideshow"} </a> {/if} {if $theme.pageType == 'album'} <a href="{g->url arg1="view=slideshow.Slideshow" arg2="itemId=`$theme.item.id`"}"> {g->text text="View Slideshow"} </a> {/if}-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 4338
Something like this:
{g->url arg1="slideshow.Slideshow" arg2="itemId=`$child.id`"}Edit: I see - my misunderstanding I think - Supersidr's for if you want the slideshow of the current album - this if you want the slideshow of the album under each thumbnail.
Posts: 42
thank you both - that´s working