Zum Inhalt springen

tt_news mobile Template

Erstellt am 21. September 2011 · Noch keine Antworten

Tags: Frage

Unbekannter Benutzer ·

Folgendes TS Setup funktioniert nicht!

Leider wird das angegebene Templatefile nicht benutzt!
Kann mir jemand weiterhelfen?#angry#

[globalVar = GP:type=10] || [globalVar = GP:mobile=1]

mobile < page
mobile.5.image.file.maxW = 324
mobile.5.headerData.10 = TEXT
mobile.5.headerData.10.value (
  <meta name="viewport" content="width = 324">
  <meta name="apple-mobile-web-app-capable" content="yes" >
  <link rel="apple-touch-icon" href="fileadmin/templates/images/iphone.png">
)
mobile.typeNum = 10
mobile.10.childTemplate = mobile
mobile.includeCSS.file1 = fileadmin/templates/css/tt_news_mobile.css
#10 < plugin.tt_news
mobile.additionalParams = &type=10

plugin.tt_news {
  templateFile = fileadmin/templates/tt_news_mobile.html
  additionalParams = &type=10
  typolink{                        
#uid Newsliste, 100(Typ der Seite des RSS Feeds)                    
    parameter = 44,100                      
    returnLast= url
  }

  displayLatest {
    image.file.maxW = 100
    image.file.maxH >
  }
  displayList.subheader_stdWrap {
    crop = 100 | ... | 1
  }
  displaySingle.image {
        file.maxW = {$plugin.tt_news.singleMaxW}
        file.maxH = {$plugin.tt_news.singleMaxH}
        wrap =
        imageLinkWrap = 0
        imageLinkWrap {
          enable = 1
          wrap =  |
        }
    }
  pageBrowser {
    additionalParams = &type=10
  }
}
#lib.search >

#page.21 >

lib.topMenu = HMENU
lib.topMenu {
  special = list
  special.value = 22,7,23,96,49
  1 = TMENU
  1.NO = 1
  1.NO.allWrap = |
  1.NO.additionalParams = &type=10
}

#lib.footer >
#print.typeNum = 10
#print.10.childTemplate = mobile

[global]