Fixing menu overlap with cooliris

Phoca Gallery - image gallery extension
mkraska
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 10 Sep 2008, 19:50

Fixing menu overlap with cooliris

Post by mkraska »

A problem exists with the cooliris view when using any type of suckerfish/fusion or other drop down menu that relies on z-index to function on top.

I believe this is caused because the window is not transparent, you can view the problem at:

http://67.225.151.51/index.php?option=c ... &Itemid=12

or by going to http://67.225.151.51/ and using the top menu to navigate to any photo gallery. The menus drop behind the cooliris wall.

The readout on the page is :

<object width="940" height="370" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="o">
<param value="http://apps.cooliris.com/embed/cooliris.swf" name="movie"/>
<param value="true" name="allowFullScreen"/>
<param value="always" name="allowScriptAccess"/>
<param value="feed=http://67.225.151.51/images/phocagallery/2.rss" name="flashvars"/>
<param value="window" name="transparent"/>
<embed width="940" height="370" allowscriptaccess="always" allowfullscreen="true" flashvars="feed=http://67.225.151.51/images/phocagallery/2.rss" src="http://apps.cooliris.com/embed/cooliris.swf" type="application/x-shockwave-flash"/>

</object>


The bolded portion of that code needs to be inserted, but I can not find the file that I need to insert that line into- does anyone have any ideas?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Fixing menu overlap with cooliris

Post by Jan »

Hi, see:
components\com_phocagallery\views\cooliris3dwall\tmpl\default.php

Please let me know it the adding of window - transparent parameter helped to you, if yes, I will add it into next release.

Jan
If you find Phoca extensions useful, please support the project
mkraska
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 10 Sep 2008, 19:50

Re: Fixing menu overlap with cooliris

Post by mkraska »

I don't think that it is fixing the problem, I really thought it would- I also tried " <param value="transparent" name="wmode"/> " with no luck either.

If anyone has any other ideas I would be happy to test them out.

(also, thanks Jan for letting me know which file =)
mkraska
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 10 Sep 2008, 19:50

Re: Fixing menu overlap with cooliris

Post by mkraska »

Thanks to Mike VanKirk over at RT below is the fix to the issue. The two bolded portions are added to the default.php in the cooliris folder- This keeps every menu I have tried in front of the cool iris wall.



<object id="o"
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
width="<?php echo $this->tmpl['cooliris3d_wall_width'];?>"
height="<?php echo $this->tmpl['cooliris3d_wall_height'];?>">
<param name="movie"
value="http://apps.cooliris.com/embed/cooliris.swf" />
<param name="allowFullScreen" value="true" />
<param name="wmode" value="transparent" />
<param name="allowScriptAccess" value="always" />
<param name="flashvars"
value="feed=<? echo JURI::root() . $this->tmpl['path']->image_rel . (int)$this->category->id;?>.rss" />
<embed type="application/x-shockwave-flash"
src="http://apps.cooliris.com/embed/cooliris.swf"
flashvars="feed=<? echo JURI::root() . $this->tmpl['path']->image_rel . (int)$this->category->id;?>.rss"
width="<?php echo $this->tmpl['cooliris3d_wall_width'];?>"
height="<?php echo $this->tmpl['cooliris3d_wall_height'];?>"
allowFullScreen="true"
allowScriptAccess="always" wmode="transparent" />
</embed>
</object>
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Fixing menu overlap with cooliris

Post by Jan »

Ok, I will add it into the next release.

Jan
If you find Phoca extensions useful, please support the project
Post Reply