Created
August 16, 2013 14:38
-
-
Save Plou/6250489 to your computer and use it in GitHub Desktop.
How to use any available field in tt_news for any display code. bellow an example of "news_files" use.
This file contains hidden or 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
| <!-- ###TEMPLATE_LIST### begin --> | |
| <!-- ###CONTENT### begin --> | |
| <!-- ###NEWS### begin --> | |
| [---] | |
| <div class="download"> | |
| ###FILE_LINK### | |
| </div> | |
| [---] | |
| <!-- ###NEWS### end--> | |
| <!-- ###CONTENT### end --> | |
| <!-- ###TEMPLATE_LIST### end --> |
This file contains hidden or 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
| plugin.tt_news { | |
| renderFields { | |
| LIST = image,short,category,content,news_files | |
| LATEST = image,short,category,content,news_files | |
| SINGLE = * | |
| } | |
| # newsFiles_stdWrap.wrap bug, il ne rend uniquement la partie droite du wrap | |
| #newsFiles_stdWrap.wrap = <div class="fileList">|</div> | |
| newsFilesHeader_stdWrap.wrap = <p class="fileTitle">|</p> | |
| newsFiles { | |
| path = uploads/media/ | |
| icon = 0 | |
| size = 0 | |
| size.bytes = 0 | |
| jumpurl = 0 | |
| stdWrap.wrap = <div class="fileLink">|</div> | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment