Skip to content

Instantly share code, notes, and snippets.

@sorenmalling
Created October 23, 2013 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sorenmalling/7119271 to your computer and use it in GitHub Desktop.
Save sorenmalling/7119271 to your computer and use it in GitHub Desktop.
selfservice_boolS = CONTENT
selfservice_boolS {
table = pages
select {
uidInList = this
pidInList = 0
selectFields = sys_category.*
join = sys_category_record_mm ON pages.uid = sys_category_record_mm.uid_foreign JOIN sys_category ON sys_category.uid = sys_category_record_mm.uid_local
where = sys_category_record_mm.tablenames = 'pages' AND sys_category.pid = {$uid.pages.tags} AND sys_category.uid = 11
}
renderObj = COA
renderObj {
10 = TEXT
10.value = 1
10.if.isTrue.field = title
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment