I would like to change the slideshow link that shows up on album changes to use the slideshow that is used when you click the sidebar slideshow
Just for clarification
I would like to use the new PicLens slideshow instead of the one that is linked to in PGLightBox theme
I don't think PGLightBox theme has been updated for 2.3 it would be something like this:
{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
I tried this, I put it in NavigatorTop.tpl
it gives me the right URL /gallery2/main.php?g2_view=slideshow.Slideshow&g2_itemId=19874
which points me to a page with "This album has no photos to show in a slideshow. Back to Album View"
I think it is because it is missing all the arguments that come with the sidebar, and i think thats why the slide show is not loading
<a href="main.php?g2_view=slideshow.Slideshow&g2_itemId=19874" onclick="var p=PicLensLite;p.setCallbacks({onNoPlugins:function(){location.href='http://xxxx.net/gallery2/main.php?g2_view=slideshow.Slideshow&g2_itemId=19874'}});p.setLiteURLs({swf:'http://xxxx.net/gallery2/main.php?g2_view=slideshow.DownloadPicLens&g2_file=swf&g2_v=1.3.1.14221'});p.start({feedUrl:'http://xxxx.net/gallery2/main.php?g2_view=slideshow.SlideshowMediaRss&g2_itemId=19874', guid:19874, pid:'2PWfB4lurT4g', delay:10});return false" class="gbAdminLink gbLink-slideshow_Slideshow">View Slideshow</a>
how would i call upon the slideshow module?
thanks for your help!
put it in album.tpl and photo.tpl where you want the link to appear.
am i doing something wrong because i still get the This album has no photos to show in a slideshow. Back to Album View error but the same link in the sidebar works and loads the PicLens slideshow
Cooliris can only display images, and with my update flash videos my update for the slideshow module: http://www.flashyourweb.com/filemgmt/index.php?id=21
I have updated to your slideshow module, but still no luck on getting the link to load the slideshow correctly
Sample url?
Your rewrite is not setup correctly. try it without rewrite, I bet it works
i dont think rewrite is not enabled,
i went to site admin --> url rewrite and unchecked view slideshow, should i be looking somewhere else as well?
Try this instead of my above code:
{if (isset($links) || isset($theme.itemLinks))} {if !isset($links)}{assign var="links" value=$theme.itemLinks}{/if} {foreach from=$links item=itemLink} {if $itemLink.moduleId == "slideshow"} {g->itemLink link=$itemLink title="View Slideshow" text="View Slideshow" class="gbAdminLink gbLink-slideshow_Slideshow"} {/if} {/if}
thanks
your code worked except for i had to add in {/foreach}
here is the code for anyone else that needs this
{if (isset($links) || isset($theme.itemLinks))} {if !isset($links)}{assign var="links" value=$theme.itemLinks}{/if} {foreach from=$links item=itemLink} {if $itemLink.moduleId == "slideshow"} {g->itemLink link=$itemLink title="View Slideshow" text="View Slideshow" class="gbAdminLink gbLink-slideshow_Slideshow"} {/if} {/foreach} {/if}
I have a few more issues with the PGLightBox theme, can you help me out in this thread or should i start another threaD?
The title of this thread has to do with the slideshow.
Posts: 46
Just for clarification
I would like to use the new PicLens slideshow instead of the one that is linked to in PGLightBox theme
Posts: 6136
I don't think PGLightBox theme has been updated for 2.3
it would be something like this:
{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: 46
I tried this, I put it in NavigatorTop.tpl
it gives me the right URL /gallery2/main.php?g2_view=slideshow.Slideshow&g2_itemId=19874
which points me to a page with "This album has no photos to show in a slideshow. Back to Album View"
I think it is because it is missing all the arguments that come with the sidebar, and i think thats why the slide show is not loading
how would i call upon the slideshow module?
thanks for your help!
Posts: 6136
put it in album.tpl and photo.tpl where you want the link to appear.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 46
am i doing something wrong because i still get the This album has no photos to show in a slideshow. Back to Album View error but the same link in the sidebar works and loads the PicLens slideshow
Posts: 6136
Cooliris can only display images, and with my update flash videos
my update for the slideshow module: http://www.flashyourweb.com/filemgmt/index.php?id=21
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 46
I have updated to your slideshow module, but still no luck on getting the link to load the slideshow correctly
Posts: 6136
Sample url?
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 6136
Your rewrite is not setup correctly.
try it without rewrite, I bet it works
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 46
i dont think rewrite is not enabled,
i went to site admin --> url rewrite and unchecked view slideshow, should i be looking somewhere else as well?
Posts: 6136
Try this instead of my above code:
{if (isset($links) || isset($theme.itemLinks))} {if !isset($links)}{assign var="links" value=$theme.itemLinks}{/if} {foreach from=$links item=itemLink} {if $itemLink.moduleId == "slideshow"} {g->itemLink link=$itemLink title="View Slideshow" text="View Slideshow" class="gbAdminLink gbLink-slideshow_Slideshow"} {/if} {/if}-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 46
thanks
your code worked except for i had to add in {/foreach}
here is the code for anyone else that needs this
I have a few more issues with the PGLightBox theme, can you help me out in this thread or should i start another threaD?
Posts: 6136
The title of this thread has to do with the slideshow.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2