Skip to content

Instantly share code, notes, and snippets.

@josefglatz
Last active August 29, 2015 14:16
Show Gist options
  • Save josefglatz/abd7806c20aa3325d41b to your computer and use it in GitHub Desktop.
Save josefglatz/abd7806c20aa3325d41b to your computer and use it in GitHub Desktop.
10 = TMENU
10 {
NO {
ATagTitle.field = abstract // nav_title
wrapItemAndSub = <li>|</li>
stdWrap {
cObject = COA
cObject {
10 = FILES
10 {
begin = 0
maxItems = 1
references {
table = pages
uid.field = uid
fieldName = media
}
renderObj = IMAGE
renderObj {
file {
import.data = file:current:uid
treatIdAsReference = 1
width = 1280c
height = 716c
}
altText.field = nav_title // title
}
}
20 = TEXT
20 {
field = nav_title // title
wrap = <div class="linktitle">|</div>
required = 1
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment