• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Flickr Slideshow not showing when Firefox is used
PostPosted: Mon Apr 23, 2012 12:03 pm 
Offline
Forum Members
Forum Members

Joined: Tue Jul 01, 2008 9:39 pm
Posts: 41
Hi there, i've made a website with CMS Made Simple and it's working fine in Safari etc ... but the Flickr slideshows i've embedded aren't showing up in Mozilla Firefox, which is not very handy.

Anyone knows how to solve this problem?
Thanks in advance

ps here a link where a slideshow should appear (but won't in firefox): http://www.marnixbusstra.nl/cms/index.p ... ros-photos


Top
 Profile  
 
 Post subject: Re: Flickr Slideshow not showing when Firefox is used
PostPosted: Tue May 01, 2012 11:26 am 
Offline
Forum Members
Forum Members

Joined: Tue Jul 01, 2008 9:39 pm
Posts: 41
I've been doing some extra research and i think i found out what happens: CMS made simple adjusts the html code (taken from flickr) everytime i press the 'view html' button.

Instead of :
Code:
<object width="540" height="405"> <param name="flashvars" value="offsite=true&lang=en-us&page_show_url=%2Fphotos%2Ftonvanderkolk%2Fsets%2F72157629481007946%2Fshow%2F&page_show_back_url=%2Fphotos%2Ftonvanderkolk%2Fsets%2F72157629481007946%2F&set_id=72157629481007946&jump_to="></param> <param name="movie" value="http://www.flickr.com/apps/slideshow/show.swf?v=109615"></param> <param name="allowFullScreen" value="true"></param><embed type="application/x-shockwave-flash" src="http://www.flickr.com/apps/slideshow/show.swf?v=109615" allowFullScreen="true" flashvars="offsite=true&lang=en-us&page_show_url=%2Fphotos%2Ftonvanderkolk%2Fsets%2F72157629481007946%2Fshow%2F&page_show_back_url=%2Fphotos%2Ftonvanderkolk%2Fsets%2F72157629481007946%2F&set_id=72157629481007946&jump_to=" width="540" height="405"></embed></object>

it turns into:
Code:
<object width="540" height="405"><param name="flashvars" value="offsite=true&amp;lang=en-us&amp;page_show_url=%2Fphotos%2Ftonvanderkolk%2Fsets%2F72157629481007946%2Fshow%2F&amp;page_show_back_url=%2Fphotos%2Ftonvanderkolk%2Fsets%2F72157629481007946%2F&amp;set_id=72157629481007946&amp;jump_to=" /><param name="movie" value="http://www.flickr.com/apps/slideshow/show.swf?v=109615" /><param name="allowFullScreen" value="true" /></object>


So the 'embed' code is removed and without that... firefox is not showing the slideshow.

Anyone knows how to solve this ?
Thanks
Ton


Last edited by uniqu3 on Wed May 02, 2012 8:01 pm, edited 1 time in total.
pleade use [code] [/code] for code chunks


Top
 Profile  
 
 Post subject: Re: Flickr Slideshow not showing when Firefox is used
PostPosted: Tue May 01, 2012 4:57 pm 
Offline
Administrator
Administrator
User avatar

Joined: Thu Mar 09, 2006 5:32 am
Posts: 11818
Location: Arizona
Put the code into a GCB that has the wysiwyg turned off, then put the GCB tag in Content:...

_________________
Extensions » Modules/Tags click the name of the module/tag or Help to the right to get its parameters.
Right click and view source is a great way to see what you have to work with.
Check ver. CMSMS, PHP, server OS, in System Information page.
Default content http://multiintech.com/defaultcontent/
People are Wonderful
Business is Great
Life is Terrific
Ever wonder what happened to the Album module? Well it is alive and well.
http://album.multiintech.com/
Image


Top
 Profile  
 
 Post subject: Re: Flickr Slideshow not showing when Firefox is used
PostPosted: Tue May 01, 2012 6:49 pm 
Offline
Forum Members
Forum Members

Joined: Tue Jul 01, 2008 9:39 pm
Posts: 41
Would that be the only option? That would mean i have to make GCB for every slideshow on the website... which is a lot (there are many slideshows over the whole website). Is there no way i can turn of this 'automatic cleanup of code' ?

Thanks
Ton


Top
 Profile  
 
 Post subject: Re: Flickr Slideshow not showing when Firefox is used
PostPosted: Tue May 01, 2012 7:30 pm 
Offline
Administrator
Administrator
User avatar

Joined: Thu Mar 09, 2006 5:32 am
Posts: 11818
Location: Arizona
Why don't you use something like Album?...

http://album.multiintech.com/home/album-24/15.html

_________________
Extensions » Modules/Tags click the name of the module/tag or Help to the right to get its parameters.
Right click and view source is a great way to see what you have to work with.
Check ver. CMSMS, PHP, server OS, in System Information page.
Default content http://multiintech.com/defaultcontent/
People are Wonderful
Business is Great
Life is Terrific
Ever wonder what happened to the Album module? Well it is alive and well.
http://album.multiintech.com/
Image


Top
 Profile  
 
 Post subject: Re: Flickr Slideshow not showing when Firefox is used
PostPosted: Tue May 01, 2012 10:29 pm 
Offline
Forum Members
Forum Members

Joined: Tue Jul 01, 2008 9:39 pm
Posts: 41
Because Flickr looks great (when working), also for full screen viewing and its easy for people to use, just upload any size image and add it to one or more sets... And it should work. That means, as long as CMS made simple doesn't mess up the code


Top
 Profile  
 
 Post subject: Re: Flickr Slideshow not showing when Firefox is used
PostPosted: Wed May 02, 2012 7:55 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Tue Aug 12, 2008 9:30 pm
Posts: 1979
Location: Feldkirchen in Kärnten, Austria
Simply create a UDT, for example name it flickr and use the tag in your page {flickr}

Example:
Code:
$width = isset($params['width']) ? $params['width'] : 540;
$height = isset($params['height']) ? $params['height'] : 405;
$offsite = isset($params['offsite']) ? $params['offsite'] : 'true';
$lang = isset($params['lang']) ? $params['lang'] : 'en-us';
$page_show_url = $params['page_show_url'];
$page_show_back_url = $params['page_show_back_url'];
$set_id = $params['set_id'];

echo '
<object width="' . $width . '" height="' . $height . '">
<param
    name="flashvars"
    value="offsite=' . $offsite . '&lang=en-us&page_show_url=' . $page_show_url . '&page_show_back_url=' . $page_show_back_url . '&set_id=' . $set_id . '&jump_to=">
</param>
<param
    name="movie"
    value="http://www.flickr.com/apps/slideshow/show.swf?v=109615">
</param>
<param
    name="allowFullScreen"
    value="true">
</param>
<embed
    type="application/x-shockwave-flash"
    src="http://www.flickr.com/apps/slideshow/show.swf?v=109615"
    allowFullScreen="true"
    flashvars="offsite=' . $offsite . '&lang=en-us&page_show_url=' . $page_show_url . '&page_show_back_url=' . $page_show_back_url . '&set_id=' . $set_id . '&jump_to="
    width="' . $width . '"
    height="' . $height . '">
</embed>
</object>';


With this you would have
Code:
{flickr width='800' height='400' page_show_url='%2Fphotos%2Ftonvanderkolk%2Fsets%2F72157629481007946%2Fshow%2F' page_show_back_url='%2Fphotos%2Ftonvanderkolk%2Fsets%2F72157629481007946%2F' set_id='72157629481007946'}


I hope you get the idea.

_________________
CMSMS Blog - I do this!
Forge profile
Github profile
Twitter
=============================================
Support CMSMS


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC


Who is online

Users browsing this forum: govicinity


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
A2 Hosting