我试图在我的菜单中的链接中添加背景图像。我的问题是我不知道如何将媒体上传字段中的文件路径获取到我的背景图像中。我菜单中的其他所有内容都有效。
lib.field_destinationmenu = HMENU
lib.field_destinationmenu {
special = directory
special.value = 565
1 = TMENU
1 {
expAll = 1
wrap = <div id="destinations">Destinationer</div><div id="destinations_places"><ul>|</ul></div>
noBlur = 1
NO {
allWrap = <li class="first">|</li>|*|<li>|</li>|*|<li class="last">|</li>
img = COA
img.1 {
file.import = uploads/media
file.import.field = media
file.import.listNum = 0
}
ATagParams =
ATagParams.append = TEXT
ATagParams.append.value = style="background-image:url( ***** )"
}
CUR < .NO
CUR = 1
CUR {
wrap = <li class="first current">|</li>|*|<li class="current">|</li>|*|<li class="last current">|</li>
ATagParams = class="current"
}
}
#2 < .1
#2.wrap = <ul class="submenu">|</ul>
#3 < .2
#4 < .2
}
我应该写什么而不是*