Last active
August 29, 2015 14:00
-
-
Save stepgit/11017184 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
page = PAGE | |
page { | |
#KATEGORIE im body | |
bodyTag > | |
bodyTagCObject > | |
bodyTagCObject = COA | |
bodyTagCObject { | |
#Kategorie auslesen | |
10 = CONTENT | |
10 { | |
wrap = <body id="|"> | |
table = pages | |
select { | |
languageField = sys_language_uid | |
uidInList.field = uid | |
pidInList = 1 | |
selectFields = sys_category.title | |
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' | |
orderBy = sys_category.sorting | |
} | |
renderObj = TEXT | |
renderObj { | |
field = title | |
wrap = | | |
noTrimWrap = || | | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
die pidInList, ist die Seite wo alle Kategorien abgespeichert ist.
das hatte ich die Anleitung geschrieben:
root ID – Kats abgespeichert
pidInList = 1
d.h. hier musst du auch die ID eintragen wo Deine Kategorien liegen.