I have G2 embedded in joomla and everything seems to be working fine, but for some reason the view sideshow is not working - there seems to be a problem with the url - ie g2Uri not being read by the system when it is loading the rss for the slideshow. for example here is the link for the view slideshow link:
http://localhost:8888/svn_joomla/trunk/index.php?option=com_helloworld&g2_view=slideshow.Slideshow&g2_itemId=15
this is fine, but when I click on it and look in firebug I see another link loaded (i htink with ajax):
http://localhost:8888/index.php?option=com_helloworld&g2_view=slideshow.SlideshowMediaRss&g2_itemId=15
error: PicLens Lite could not load the RSS Feed: http://localhost:8888/index.php?option=com_helloworld&g2_view=slideshow.SlideshowMediaRss&g2_itemId=15
notice it is cutting off the sub directories? I am sure I have it configured properly because notihing else would work if it wasn't...
so it seems like something is not picking up g2Uri...
I have searched a lot here to find the issue, but no go
Posts: 8339
check your baseUri in gallery2/config.php
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 14
thanks -
I got it to work in an ugly way by find and replace the links,
foreach($head[2] as $k=>$v){
$head[2][$k] = str_replace('http://localhost:8888/', JURI::base(), $head[2][$k]);
}
well at least I got the viewer to work, but not the links in the rss feed are also messed up:
I have also noticed that the same is happening for media links here:
http://localhost:8888/svn_joomla/trunk/index.php?option=com_helloworld&g2_view=slideshow.SlideshowMediaRss&g2_itemId=7
the media link comes up like this:
http://localhost:8888/gallery2/main.php?g2_view=core.DownloadItem&g2_itemId=15&g2_serialNumber=1
here is my config file - it looks fine to me...:
Posts: 8339
Are you using my update?
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 14
oh and here is my ret setupt
Posts: 14
just installed then, didn't make nay difference
Posts: 14
well this has got me stumped, everything is right, yet the rss for the slidehow is giving the wrong url - anyone can tell me where this url comes from? cause it aint coming from $gallery->setConfig('baseUri', JURI::base()); thanks!
Posts: 14
Well i have to give up on that module - this is a bug, I am pretty sure of it, basically I have delved into the code and got as far as this:
this is what is causing the problem, nameley from the g->url calls
<media:thumbnail url="{g->url arg1="view=core.DownloadItem" arg2="itemId=`$i.thumbnail.id`" arg3="serialNumber=`$i.thumbnail.serialNumber`" forceFullUrl=true}" {if !empty($i.thumbnail.height)}height="{$i.thumbnail.height}" width="{$i.thumbnail.width}"{/if} type="{$i.thumbnail.mimeType}"/>
I can change the above function's output and it works for the rss page - but then it breaks everything else... so you have something that works for every other module but the slideshow... bug I say and a waste of hours of my time
Thanks.
Posts: 14
not a bug - now I am embarrassed!!!! sorry - it was all to do with my config
first I was doing it like this:
so it didn't have the full url...
fixed once I added the full url
oops... sorry for my outbursts...
Posts: 8339
Read what this guy has to say about joomla which is very close to my personal opinion.
And I know of 2 joomla/gallery2 integrations both of which appear broken.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2