album problem...pic2 pops up pic1 java error

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
corvus

album problem...pic2 pops up pic1 java error

Post by corvus »

I am using album version 0.6.0
CMS Made Simple 0.13 "Canary"

I made some albums all ok
Now I made one more and when I intergrate it in the page the popup doesn't work.

When I add a picture (different size) from another dir to the album then THAT one does popup  :-\

here is the site http://www.boshoverbeek.nl/BBKsItE/index.php/test
left picture doesn't pop up
right picture does.


Can someone please help ??
Last edited by corvus on Sat Aug 19, 2006 9:15 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: album problem...pic2 pops up pic1 java error

Post by Dr.CSS »

You must be using IE, I had to use it to find the problem, because Ff works fine, I did notice the first one has a - in the name, don't know if it matters, and it also has no second size, height.
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am
Location: Deatsville, AL

Re: album problem...pic2 pops up pic1 java error

Post by Elijah Lofgren »

corvus wrote: I am using album version 0.6.0
CMS Made Simple 0.13 "Canary"

I made some albums all ok
Now I made one more and when I intergrate it in the page the popup doesn't work.

When I add a picture (different size) from another dir to the album then THAT one does popup  :-\

here is the site http://www.boshoverbeek.nl/BBKsItE/index.php/test
left picture doesn't pop up
right picture does.
As mark guessed, it was an IE problem with having "-" in the popup title. I have released a new version of Album that removes "-", "(", and ")" from picture titles because IE chokes on them.

You can download Album 0.7.0 here: http://dev.cmsmadesimple.org/frs/?group ... ase_id=582

Hope this helps,

Elijah
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
Russ
Power Poster
Power Poster
Posts: 813
Joined: Fri Nov 25, 2005 5:02 pm
Location: North West England

Re: album problem...pic2 pops up pic1 java error

Post by Russ »

Mmm if you are talking about the Thickbox or Thickbox with Next and Prev templates then that was probably me. Apologies.

The ul class for both should probably looks like this (without the dashes '-')

Code: Select all

<ul class="picturelist">
	{foreach from=$pictures item=picturesrow}
	    {foreach from=$picturesrow item=onepicture}
	    <li class="thumb"><a href="{$onepicture->picture}" class="thickbox" title="{$onepicture->name} {$onepicture->comment}"> <img src="{$onepicture->thumbnail}" alt="{$onepicture->name} {$onepicture->comment}" title="{$onepicture->name} {$onepicture->comment}" /></a>
   	   </li>

      {if ($onepicture->number==$picturenumber and !$picture)}{assign var=picture value=$onepicture}{/if}
	    {/foreach}
	{/foreach}
</ul>
This doesn't seem to have changed in the 0.7 download? Perhaps you were talking about something else?
Also did you see my other post:
http://forum.cmsmadesimple.org/index.ph ... l#msg33704

Russ
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am
Location: Deatsville, AL

Re: album problem...pic2 pops up pic1 java error

Post by Elijah Lofgren »

Russ wrote: This doesn't seem to have changed in the 0.7 download? Perhaps you were talking about something else?
Also did you see my other post:
http://forum.cmsmadesimple.org/index.ph ... l#msg33704
Yes, I was talking about the Popup-Tables template.
Sorry I didn't add your new template. I've filed a feature request and will hopefully remember to add it before the next release of Album: http://dev.cmsmadesimple.org/tracker/in ... 7&atid=728
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
corvus

Re: album problem...pic2 pops up pic1 java error

Post by corvus »

Elijah Lofgren wrote:
corvus wrote: I am using album version 0.6.0
CMS Made Simple 0.13 "Canary"

I made some albums all ok
Now I made one more and when I intergrate it in the page the popup doesn't work.

When I add a picture (different size) from another dir to the album then THAT one does popup  :-\

here is the site http://www.boshoverbeek.nl/BBKsItE/index.php/test
left picture doesn't pop up
right picture does.
As mark guessed, it was an IE problem with having "-" in the popup title. I have released a new version of Album that removes "-", "(", and ")" from picture titles because IE chokes on them.

You can download Album 0.7.0 here: http://dev.cmsmadesimple.org/frs/?group ... ase_id=582

Hope this helps,

Elijah
YES great !
I changed the name and all is fine now.

How do I install a new version ? Without destroying anything old ??? (I know it doesn't resolve the '-' problem. But for future versions ;-)
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am
Location: Deatsville, AL

Re: album problem...pic2 pops up pic1 java error

Post by Elijah Lofgren »

corvus wrote: How do I install a new version ? Without destroying anything old ??? (I know it doesn't resolve the '-' problem. But for future versions ;-)
Actually the new version should fix your '-' problem.

Just overwriting the files in your current Album install should work fine (you can upgrade via XML also). All your Album data is stored in the database so you won't need to worry about overwriting that (of course it's a good idea to make backups of your DB before upgrading).
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
Locked

Return to “Modules/Add-Ons”