typo3-realurl icon indicating copy to clipboard operation
typo3-realurl copied to clipboard

Add option to configure pageTitleFields

Open kitzberger opened this issue 9 years ago • 4 comments

We'd like to alter the set of pageTitleFields (\DmitryDulepov\Realurl\EncodeDecoderBase::$pageTitleFields) that is currently hardcoded to array('tx_realurl_pathsegment', 'alias', 'nav_title', 'title', 'uid').

With realurl 1.x it was possible to change those fields via TYPO3_CONF_VARS, e.g. $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['realurl']['_DEFAULT']['pagePath']['segTitleFieldList'] = 'tx_realurl_pathsegment,alias,title,uid';

Any chance this option will be added to version 2.x?

kitzberger avatar Jul 18 '16 09:07 kitzberger

just a workaround: you can override it in realurl_conf.php:

<?php
$GLOBALS['TYPO3_CONF_VARS']['FE']['addRootLineFields'] .= 'field1,field2';

\DmitryDulepov\Realurl\EncodeDecoderBase::$pageTitleFields = array('field1','field2','title','uid');

ddiebel avatar Jul 21 '16 09:07 ddiebel

Thanks a lot for the workaround !

adrienjacob avatar Dec 02 '16 11:12 adrienjacob

Any update on this?

oliverschloebe avatar Feb 17 '17 09:02 oliverschloebe

Thanks for the workaround. An official update for this would be awesome.

DenisMir avatar Mar 01 '17 13:03 DenisMir