2015-01-20 3 views
0

Typo3 BE-Modul은 항상 PID 1이있는 데이터를 데이터베이스에 씁니다. 다른 설치에서는 PID11을 사용합니다. 그래서 올바른 PID를 읽도록 FE-Plugin을 설정해야합니다. 어떻게 모든 컴퓨터에서 항상 같은 것을 사용하도록 구성 할 수 있습니까?
내 Typoscript :Typo3 FE와 동일한 PID

plugin.tx_rere { 
    view { 
     templateRootPath = {$plugin.tx_rere.view.templateRootPath} 
     partialRootPath = {$plugin.tx_rere.view.partialRootPath} 
     layoutRootPath = {$plugin.tx_rere.view.layoutRootPath} 
    } 
    persistence { 
     storagePid = {$plugin.tx_rere.persistence.storagePid} 
    } 
    features { 
     # uncomment the following line to enable the new Property Mapper. 
     # rewrittenPropertyMapper = 11 
    } 
} 
module.tx_rere { 
    persistence { 
     storagePid = {$modul.tx_rere.persistence.storagePid} 
    } 
    view { 
     templateRootPath = {$module.tx_rere.view.templateRootPath} 
     partialRootPath = {$module.tx_rere.view.partialRootPath} 
     layoutRootPath = {$module.tx_rere.view.layoutRootPath} 
    } 
} 

감사합니다!

답변

0

열기 템플릿 모듈의 상수 편집기 - 당신은 당신의 내선에 대한이 적어도 2 위치해야한다 : 두

에 대한

PLUGIN.TX_RERE

MODULE.TX_RERE

유효 Default storage PID 설정을

+0

"storagePid = 123", "storagePid = {123}"시도했습니다. storagePid = {$ modul.tx_rere.persist ence.storagePid} "및 상수 내부에 storagePid가 없습니다. 항상 깨끗한 오타 3 설치 + 깨끗한 데이터베이스와 내 Modul/플러그인. 아무것도 효과가 없습니다. 도와 주셔서 감사합니다! – TiW

+0

Tim, __Template__ module을 사용하고 __TypoScript Object browser__를 사용하여 상수 및 확장 프로그램의 설정이 제대로 포함되어 있는지 확인하고 페이지 트리에 덮어 쓰기가없는 경우 즉 ext 템플릿 또는 일부 조건이 있는지 확인하십시오. – biesior

+0

TS : storagePid = 1 개체 브라우저에 표시됨 [storagePid] = 1 storagePid = {$ plugin.tx_rere.persistence.storagePid}가 개체 브라우저에 표시됩니다. "[storagePid] =" [storagePid] = {$ modul.tx_rere.persistence .storagePid} Modul 보인다. – TiW