5102 Posts in 1520 Topics by 1116 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1020 Views |
-
Custom Page Types in CMS

13 July 2009 at 7:17am
Hi,
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?
Best regards,
Bart
-
Re: Custom Page Types in CMS

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';
| 1020 Views | ||
|
Page:
1
|
Go to Top |

