Einzelnen Beitrag anzeigen
  #3  
Alt 17.07.07, 16:01
Tobias Bauhaus Tobias Bauhaus ist offline
Forum Zuschauer
 
Registriert seit: 12.07.07
Beiträge: 4

Wenn ich den Code im Template meiner Aktuelles Seite eingefügt habe und angepasst habe verändert sich nichts im FE.


Hier mein neuer Code:

Code:
#Pfad zum eigenen Template
plugin.tt_news.templateFile = fileadmin/template/news_template.html


# hide the "no news id" message
plugin.tt_news._LOCAL_LANG.default.noNewsIdMsg =  

# set the tt_news singlePid to the current page
plugin.tt_news.singlePid = 17


# fill the content of the main-column to a tmp.object 
tmp.pagecontent < CONTENT

# clear the content of the main column 
CONTENT >

# build a new object for this column as content-object-array
CONTENT = COA
CONTENT {
  10 = CONTENT
  10.table = tt_news
  10.select {

# insert the pids of all pages from where you want to fetch news. 

# the recursive-field has no influence on this selection
    pidInList = 61
    orderBy = datetime desc
    max = 1
  }

# insert the object “10.” only if there is no SINGLE news selected
  10.stdWrap.if.isFalse.data = GPvar:tx_ttnews|tt_news

# re-insert the normal pagecontent to the page  
  20 < tmp.pagecontent

}

Woran kann das liegen das der den Code einfach ignoriert?
Hab momentan keine Ahnung wi eich das beheben kann!
Mit Zitat antworten