[TYPO3-english] HMENU images from custom field
bernd wilke
t3ng at pi-phi.tk
Fri Jan 29 16:01:36 CET 2010
Am Fri, 29 Jan 2010 11:06:13 +0100 schrieb Michael Paffrath:
> Hi everybody!
>
> i got a problem with a menu in my second language ...
>
> for the background-images of a hmenu i extended the pages table (and
> accordingly pages_language_overlay) with one field.
>
> that works fine in the default language, but when i switch to another
> language, TYPO3 still fetches the default images.
>
> that´s my ts:
>
> lib.navigation= HMENU
> lib.navigation.entryLevel = 0
> lib.navigation.excludeUidList = 293
> lib.navigation {
> 1 = TMENU
> 1.expAll = 1
> 1.wrap = <ul>|</ul>
> 1{
> NO{
> wrapItemAndSub = <li>|</li>
> ATagParams =
> style="background-image:url(/uploads/tx_myext/
{field:tx_myext_field});background-repeat:no-repeat;"
> ATagParams.insertData = 1
> ATagBeforeWrap = 1
> }
> }
>
> the pages are translated and they all got the right images and content.
> as i said: in the default language works everything fine ...
>
> anybody got a hint what i´m doing wrong?
>
you are missing the overlay fields:
in the install-tool find this:
> [pageOverlayFields]
> List of fields from the table "pages_language_overlay" which should be
> overlaid on page records. See t3lib_page::getPageOverlay()
>
> [FE][pageOverlayFields]
and enter your field for overlay
bernd
--
http://www.pi-phi.de/cheatsheet.html
More information about the TYPO3-english
mailing list