[Typo3] HMENU with static images
Jean-Baptiste Rio
triphot69 at hotmail.com
Mon Oct 10 10:56:27 CEST 2005
You seems to have found what you need :) I just use your question to
suggest an other TS solution for people who need to separate the name of
the image and the title of the page.
First of all, create your page with Advanced type. Assign the image in
the Images section (first image will be used).
Hint: if you need an External URL page, once you've recorded the image
section in Advanced mode, change the Advanced to Externel URL, the image
will be kept.
In your TS template, use the following code (maybe not the best but it
works) :
10 = HMENU
10 {
1 = TMENU
1 {
NO = 1
NO {
doNotShowLink = 1
before.cObject = IMAGE
before.cObject {
file.import = uploads/media/
file.import.field = media
file.import.listNum = 0
params = class="bouton_h"
altText.field = title
titleText.field = title
stdWrap.typolink.parameter.field = uid
}
}
}
}
Hope it helps,
Jean-Baptiste
More information about the TYPO3-english
mailing list