Friday, June 27, 2008

Hands Or Foots Baby Tattoo

View Magnifier for enlarging images (click enlarge) through

Hello!
So, there is again a new TypoScript Hack by me. This time the problem was
following: Customer wanted a picture on his website that is magnified when you click on it. By default, yes really a problem.
now but will be displayed under the picture a small magnifying glass that does when you click on the same - that is, increase the actual image. In addition to the motion will then be the Bildcaption.

solution:
 tt_content.image.30 < tt_content.image.20
tt_content.image.30
1.stdWrap {{
HTMLparser = 1 = 1
HTMLparser.tags.a
HTMLparser.tags.img.fixAttrib.src.set = fileadmin / template / icons / zoom_in.jpg
HTMLparser.tags.img.fixAttrib.width.set = 40 = 40
HTMLparser.tags.img.fixAttrib.height.set

if {
value.field = image_zoom
equals = 1}

}}

tt_content. {{image.20
caption.1.stdWrap.if
value.field = image_zoom
equals = 1
negate = 1}

}


you actually have to adjust only the rows 6, 7 and 8 The path to your "magnifying glass" has to be right, logically, and the width or height and, as this may inflate the magnifying glass to the size of the original image. This was
's it for now. Thus the motion displayed only if the checkbox "Click enlarge" clicked - the caption is moved only in this case in the Lupenbox.

Wednesday, March 12, 2008

Appropriate South Park

Rootlevel until it finds a value

Sooo, now has a relatively long time since I've written again what.
is today's question that will be issued on one side of the alias of the current page. If this is not set, the alias is to the next higher page output. Is not set, the next higher, etc., etc. The

is relatively simple. With the following you can
Typoscript do just that:

 temp.showAlias = TEXT 
temp.showAlias.data field level = -1, alias, slide


The "data" property of stdWrap is of type "getText". Here you will find your a more detailed description.