[TYPO3-german] cObject data an ein plugin senden

jobee mail at beck-j.de
Sat Oct 19 01:46:14 CEST 2013


Hallo Oliver,

stehe gerade vor einem ähnlichen Problem.
Ich lese zunächst die ID der News Kategorie anhand des Seitennamens aus und
möchte diese dann dem Plugin übergeben.

Ich habe die Hoffnung mein Problem durch die von dir angesprochene
TYPO3\CMS\Extbase\Service\TypoScriptService lösen zu können.

Kann dazu jedoch keine Infos finden.
Wie und wo muss ich diese einbinden?


Hier noch mein TS:

temp.categoryUid = CONTENT
temp.categoryUid {
  table = tx_news_domain_model_category
  select {
    # PID des News Ordners
    pidInList = 53
    selectFields = uid,pid,title
    where = (hidden = 0)
    andWhere = (deleted = 0)
    andWhere = (title LIKE ###PAGETITLE###)
    markers {
      PAGETITLE.data = page:title
    }
    max = 1
  }
  renderObj = COA
  renderObj {
    10 = TEXT
    10.field = uid
    10.wrap = 45,|
  }
}

lib.tscontent.20 = USER
lib.tscontent.20 {
    userFunc = tx_extbase_core_bootstrap->run
    extensionName = News
    pluginName = Pi1
 
    switchableControllerActions {
      News {
        1 = list
      }
    }
 
    view < plugin.tx_news.view
    
    settings < plugin.tx_news.settings
    settings {
      # funktioniert nicht
      categories < temp.categoryUid
      
      # funktioniert
      # categories = 45,12
      # categories = {$konstante}
    }
  }
}

Grüße,
Joachim



--
View this message in context: http://typo3.3.n7.nabble.com/cObject-data-an-ein-plugin-senden-tp246595p251292.html
Sent from the TYPO3 German mailing list archive at Nabble.com.


More information about the TYPO3-german mailing list