Menu with the Resource Images

Menu with the Resource image…………..

 

lib.left_nav= HMENU
lib.left_nav.special = directory
lib.left_nav.special.value =PAGEID
lib.left_nav.1 = TMENU
lib.left_nav.1 {
wrap = <ul>|</ul>
NO {
allWrap.insertData = 1
allWrap= <li id=”menu_{field:uid}”>|</li>
stdWrap.wrap = <span class=”span_width”>|</span>
stdWrap.cObject = COA
stdWrap.cObject {
10 = TEXT
10{
ATagParams.insertData=1
#stdWrap.wrap = <span>|</span>
ATagParams = title=”{field:title}”
allWrap.insertData=1
field = title
stdWrap.typolink = <span>|</span>
}
20= IMAGE
20 {
file.import = uploads/media/
file.import.field = media
file.import.listNum = 0
#   file.width = 18
#   file.height= 18
wrap = <span class=”icon”>|</span>
/*
stdWrap.typolink = |
stdWrap.typolink.insertData = 1
stdWrap.typolink.parameter.field = uid
*/
}

}
}
ACT = 1
ACT{
allWrap.insertData = 1
allWrap= <li id=”menu_{field:uid}” class=”active”>|</li>
stdWrap.wrap = <span class=”span_width”>|</span>
# ATagTitle.field = 1
# ATagParams = class = “testcls”
stdWrap.cObject = COA
stdWrap.cObject {

10 = TEXT
10{
ATagParams.insertData=1
#stdWrap.wrap = <span>|</span>
ATagParams = title=”{field:title}”
allWrap.insertData=1
field = title
stdWrap.typolink = <span>|</span>
}
20= IMAGE
20 {
file.import = uploads/media/
file.import.field = media
file.import.listNum = 0
# file.width = 26
# file.height= 17
wrap = <span class=”icon”>|</span>
/*
stdWrap.typolink = |
stdWrap.typolink.insertData = 1
stdWrap.typolink.parameter.field = uid
*/
}

}
}
}

Leave a Reply