Jan
21
2011

Displaying insert record as TT_NEWS list

little TS for make insert record on content for tt_news record displaying list

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
tt_content.shortcut.20.0.conf.tt_news=COA
tt_content.shortcut.20.0.conf.tt_news {
    wrap = <table cellpadding="0" cellspacing="0" border="0">|</table>
    5 = TEXT
    5.value = <tr>!!<==::>
    10=IMAGE
    10{
        stdWrap.required=1
        wrap= |
        file.import=uploads/pics/
        file.import.field=image
        file.maxW=100
        file.maxH=100
        file.import.listNum=0
    }
    20=TEXT
    20.field= title
    20.wrap=</td><td valign="top">!!<=::>|</h3>
    20.typolink {
        parameter=19
        additionalParams=&tx_ttnews[tt_news]={field:uid}
        additionalParams.insertData = 1
        useCacheHash=1
     }
    30=TEXT
    30.wrap = !!<=::>|</p>
    30 {
          field=short
          ifEmpty.field = bodytext
          crop=200
          wrap=| ...
   }
   40 = TEXT
   40.value = </td></tr>
}

About the Author: Heddi

Leave a comment

Add to Technorati Favorites