[TYPO3-UG Italy] help with immagini e link...
Roberto Torresani
typo3 at torresani.eu
Wed Oct 30 15:17:24 CET 2013
Ciao Paolo!
Il 30/10/2013 14.31, Paolo Bragagni ha scritto:
> Ho costruito una cosa del genere che penso sia orribile
Un po' "bruttino" lo è, perchè puoi inserire al massimo 3 immagini
Prova a vedere se il seguente codice fa quello che ti serve:
lib.menu.immaginiHDN = COA
lib.menu.immaginiHDN.10 = CONTENT
lib.menu.immaginiHDN.10 {
table=tt_content
select.pidInList = 345
renderObj = COA
renderObj {
wrap = <div class="immaginiHomeDestra"> | </div>
10=TEXT
10.field = header
10.wrap=<h3><span class="label label-default menupers"> |
</span></h3>
20 = TEXT
20{
field = image
split {
token = ,
cObjNum = 1
1 {
10 = IMAGE
10 {
file {
import = uploads/pics/
import.current = 1
}
}
10.stdWrap.typolink.parameter.stdWrap.cObject = TEXT
10.stdWrap.typolink.parameter.stdWrap.cObject {
field = image_link
listNum.stdWrap.data = REGISTER:SPLIT_COUNT
listNum.splitChar = 10
}
}
}
}
}
}
Ciao Roberto
TYPO3 Italia G+:
https://plus.google.com/u/0/communities/105428608368758663792
More information about the TYPO3-UG-Italy
mailing list