Created
April 23, 2013 12:00
-
-
Save sorenmalling/5443008 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
renderObj = COA | |
renderObj { | |
wrap = <ul>|</ul> | |
1 = TEXT | |
1 { | |
wrap = <li>|</li> | |
typolink { | |
parameter.field = link | |
} | |
field = title | |
} | |
} | |
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
Using | |
$this->cObj->cObjGetSingle($this->conf[$endpoint . '.']['renderObj'], $this->conf[$endpoint . '.']['renderObj.']); | |
outputs | |
<ul> | |
<li> | |
<a href="..." >Element 1</a> | |
</li> | |
</ul> | |
<ul> | |
<li> | |
<a href="..." >Element 2</a> | |
</li> | |
</ul> | |
would like | |
<ul> | |
<li> | |
<a href="..." >Element 1</a> | |
</li> | |
<li> | |
<a href="..." >Element 2</a> | |
</li> | |
</ul> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Something like: