내 확장 프로그램에서 실제 URL 확장자를 사용하여 실행하려고했지만 작동하지 않습니다.TYPO3 실제 URL이 작동하지 않습니다.
내 실수는 어디에서 왔습니까?
내 확장 프로그램에 멋진 URL이있는 것은 어떻게 가능합니까?
내 URL http://domain.tld/eigenprojekte/project/show/test
내 realutl_conf.php realURl에 대한
<?php
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['realurl']=array (
'_DEFAULT' =>
array (
'init' =>
array (
'appendMissingSlash' => 'ifNotFile,redirect',
'emptyUrlReturnValue' => '/',
),
'pagePath' =>
array (
'rootpage_id' => '1',
),
'fileName' =>
array (
'defaultToHTMLsuffixOnPrev' => 0,
'acceptHTMLsuffix' => 1,
'index' =>
array (
'print' =>
array (
'keyValues' =>
array (
'type' => 98,
),
),
),
),
),
'postVarSets' => array(
'_DEFAULT' => array(
'eigenprojekte' => array(
array(
'GETvar' => 'tx_eigenprojekte_eigenprojekte[controller]',
),
array(
'GETvar' => 'tx_eigenprojekte_eigenprojekte[show]',
),
array(
'GETvar' => 'tx_eigenprojekte_eigenprojekte[project]',
'lookUpTable' => array(
'table' => 'tx_eigenprojekte_domain_model_project',
'id_field' => 'uid',
'alias_field' => 'project',
'addWhereClause' => ' AND NOT deleted',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => '-'
)
),
),
),
),
),
);
입니까? 유체'f : link.action'로 링크를 생성합니까? –
게시 한 URL이 작동하지 않습니다. 다음 오류 메시지가 표시됩니다. 이유 : 세그먼트 "project"가 id = 5 인 페이지에서 예상대로 postVarSet에 대한 키워드가 아닙니다. – mrfr34k