Created
October 23, 2013 13:57
-
-
Save sorenmalling/7119271 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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