protected function URLMappingTab()
    {
        /** For admin only */
        return Tab::create(
            'URL Mapping', _t('NewsSiteConfigExtension.MAPPING', 'URL Mapping'), LiteralField::create('mappinghelp', _t('NewsSiteConfigExtension.MAPPINGHELP', 'Set the URL Parameters to handle things to your wishing, e.g. /news/newsitem instead of /news/show. Don\'t use "latest" or doubles!')), TextField::create('ShowAction', _t('NewsSiteConfigExtension.SHOWMAPPING', 'URL Parameter to show an item')), TextField::create('TagAction', _t('NewsSiteConfigExtension.TAGMAPPING', 'URL Parameter to show a tag')), TextField::create('TagsAction', _t('NewsSiteConfigExtension.TAGSMAPPING', 'URL Parameter to show all tags')), TextField::create('AuthorAction', _t('NewsSiteConfigExtension.AUTHORMAPPING', 'URL Parameter to show an authorpage')), TextField::create('ArchiveAction', _t('NewsSiteConfigExtension.ARCHIVEMAPPING', 'URL Parameter to show the archive'))
        );
    }
protected function URLMappingTab()
    {
        /** For admin only */
        return Tab::create(
            'URL Mapping', _t('NewsSiteConfigExtension.MAPPING', 'URL Mapping'), LiteralField::create('mappinghelp', _t('NewsSiteConfigExtension.MAPPINGHELP', 'Set the URL Parameters to handle things to your wishing, e.g. /news/newsitem instead of /news/show. Don\'t use "latest" or doubles!')), TextField::create('ShowAction', _t('NewsSiteConfigExtension.SHOWMAPPING', 'URL Parameter to show an item')), TextField::create('TagAction', _t('NewsSiteConfigExtension.TAGMAPPING', 'URL Parameter to show a tag')), TextField::create('TagsAction', _t('NewsSiteConfigExtension.TAGSMAPPING', 'URL Parameter to show all tags')), TextField::create('AuthorAction', _t('NewsSiteConfigExtension.AUTHORMAPPING', 'URL Parameter to show an authorpage')), TextField::create('ArchiveAction', _t('NewsSiteConfigExtension.ARCHIVEMAPPING', 'URL Parameter to show the archive'))
        );
    }
protected function URLMappingTab ( ) { /** For admin only */ return Tab :: create ( 'URL Mapping' , _t ( 'NewsSiteConfigExtension.MAPPING' , 'URL Mapping' ) , LiteralField :: create ( 'mappinghelp' , _t ( 'NewsSiteConfigExtension.MAPPINGHELP' , 'Set the URL Parameters to handle things to your wishing, e.g. /news/newsitem instead of /news/show. Don\'t use "latest" or doubles!' ) ) , TextField :: create ( 'ShowAction' , _t ( 'NewsSiteConfigExtension.SHOWMAPPING' , 'URL Parameter to show an item' ) ) , TextField :: create ( 'TagAction' , _t ( 'NewsSiteConfigExtension.TAGMAPPING' , 'URL Parameter to show a tag' ) ) , TextField :: create ( 'TagsAction' , _t ( 'NewsSiteConfigExtension.TAGSMAPPING' , 'URL Parameter to show all tags' ) ) , TextField :: create ( 'AuthorAction' , _t ( 'NewsSiteConfigExtension.AUTHORMAPPING' , 'URL Parameter to show an authorpage' ) ) , TextField :: create ( 'ArchiveAction' , _t ( 'NewsSiteConfigExtension.ARCHIVEMAPPING' , 'URL Parameter to show the archive' ) ) ) ; }
Setup the Admin-only tabs.
Setup the Admin - only tabs .