5453 Posts in 1674 Topics by 1198 members
|Go to End|
13 July 2009 at 7:17am
I am trying to get my custom page type to be displayed in the CMS with a custom name.
Managed to do this by using the language file in this way:
$lang['nl_NL']['PortfolioPage']['SINGULARNAME'] = "Portfolio Pagina";
In the CMS the folowing gets dispayed:
Portfolio Pagina (PortfolioPage)
Is there a way to get rid of: (PortfolioPage)? Is there a way to directly set the SINGULARNAME in the PortfolioPage class in PortfolioPage.php?
18 July 2009 at 2:56am
Figured it out myself, in facts it's very easy.
In the Model class add:
static $add_action = 'name of the page type';
|Go to Top|