[X_TREME] display popup image informations

ludovicc

Joined: 2008-10-11
Posts: 3
Posted: Tue, 2008-12-02 14:20

Hello,

Thanks for this fabulous software.
We use X_trem theme and we have for every image a popup when the mouse comes over image with this format code display.

For example :
color=#ebe1c7Bresil/color

How it is possible to show only the text.

Thanks a lot.

Ludovic.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2008-12-02 14:39
Quote:
For example :
color=#ebe1c7Bresil/color

I don't understand.
The color is referenced with names or hex values not both:
http://www.w3schools.com/CSS/css_colornames.asp
http://www.w3schools.com/CSS/css_colors.asp

Can you explain ( with a url ) what you are after?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
ludovicc

Joined: 2008-10-11
Posts: 3
Posted: Tue, 2008-12-02 16:43

I'm sorry.

When we move the mouve over every images and wait, a yellow popup window appear with the name of the photo or album but with html code before and after the text.

[img]http://www.le-voyage-autrement.com/screen.jpg[/img]

Thanks a lot.

 
SiliconFiend
SiliconFiend's picture

Joined: 2006-12-27
Posts: 508
Posted: Tue, 2008-12-02 17:20

Looks like a bug in the template. Find this section in album.tpl (around line 691) and edit it to look like this (changed parts in bold):

{if !empty($theme.params.Iinfo) && !empty($theme.params.IinfoLink)}onmouseover="toggleLyr('infoI{$child.id}');"{/if}>
{capture name="childTitle"}{$child.title|markup:"strip"}{/capture}
{if $child.canContainChildren || $child.entityType == 'GalleryLinkItem'}
  {g->image id="%ID%" item=$child image=$child.thumbnail class="%CLASS% giThumbnail"
          title="Album - `$childTitle`"}
{else}
  {g->image id="%ID%" item=$child image=$child.thumbnail class="%CLASS% giThumbnail"
          title=$childTitle}
{/if}
 
ludovicc

Joined: 2008-10-11
Posts: 3
Posted: Wed, 2008-12-03 09:02

Hello.

It doesn't work like.
In fact, we doesnt'want to see the yellow popup with BBCode when mouse over picture's album ?

Thanks.

 
SiliconFiend
SiliconFiend's picture

Joined: 2006-12-27
Posts: 508
Posted: Wed, 2008-12-03 14:41

Yeah, I just realized where I wrote $childTitle, it should have been $smarty.capture.childTitle But for your case, I think all you need to do is remove the title=... attribute and that should get rid of the tooltip.