[TYPO3] file.import doesn't work
Victor Livakovsky
v-tyok at mail.ru
Fri Sep 26 18:01:47 CEST 2008
Hello.
I don't know why, but TYPO doesn't import image from media field of
page.
I have such menu:
temp.left_menu = HMENU
temp.left_menu.wrap = <ul class="menu">|</ul>
temp.left_menu.1 = TMENU
temp.left_menu.1 {
NO {
allWrap = <li>|</li>
ATagTitle.field = title
stdWrap.cObject = COA
stdWrap.cObject {
10 = IMAGE
10 {
wrap = |<br />
altText.field = title
file {
import.field = media
import = uploads/pics/
import.listNum = 0
width = 100
}
}
20 = TEXT
20.data = field:title
}
}
}
Text is displayed perfectly, but there are no <img> at menu entries.
(of course, I have attached an image to every page in page propereties
on "Resources" tab)
Strange thing is that the same code works correctly at another server.
Maybe it depends on server configuration? Or maybe TYPO mus be
configuried at some way?
Will be glad to read some advises.
More information about the TYPO3-english
mailing list