[TYPO3-english] Replace images with ALT text
Graham Solomon
graham.solomon at powys.gov.uk
Tue Feb 24 16:01:59 CET 2009
Hi Bob,
Sorry I assumed it was just for a specific template not page type, the
following condition should work if you're using page types to change look:
[globalVar = TSFE:page|doktype= doktype-number-here]
// TS here...
[global]
Stephens solution for textpic should work but I haven't tested :)
Graham
StephenBungert wrote:
> try:
>
> ...
> tt_content.image >
> tt_content.image.20 = TEXT
> tt_content.image.20.field = altText
> tt_content.image.20.stripHtml = 1
> ...
>
> tt_content.text pic copies tt_content.image.20 for the image part, so maybe
> just changing image like above would be enough.
>
> -----
More information about the TYPO3-english
mailing list