2013-04-29 47 views

回答

0

Yes.Using flexform,可以提供「通用存儲頁」爲您的插件選項,它保持一個存儲文件夾插件

您需要包括:

// get data from Flexform: 
    $this->pi_initPIflexForm(); 
// Vars 
    $this->showMorelink = $this->pi_getFFvalue($this->cObj->data['pi_flexform'], 'show_morelink', 's_template'); 

locallang_tca。 XML:

   <label index="tt_plugin.pi_flexform.show_morelink">records</label> 

flexform_ds.xml:

  <show_morelink> 
      <TCEforms> 
      <label>LLL:EXT:tt_plugin/locallang_tca.xml:tt_plugin.show_morelink</label> 
      <config> 
      <type>check</type> 
      </config> 
      </TCEforms> 
      </show_morelink> 
相關問題