Hi all, does anyone know how to code a module as a content type?
I am trying to develop a module, i know how make it under different header menus,
but i am stopped at making it as a content type, which means when i create a new content page, i want
to chose my new module as a content type in the drop down list of content type.
Can some one help me to figure out?
Many thanks..
Help for content type
Re: Help for content type
Please no double postings ...
I'm not a dev but perhaps you should make a look at an existing module with making a content type
, for instance News module. There exists a file named contenttype.news.php ...
I'm not a dev but perhaps you should make a look at an existing module with making a content type

Re: Help for content type
Sorry about the double posting, that is a mistake. That would not happen again.
Thanks for your reply, and i am looking at some code of other modules. I will try to solve the problem.
Thanks for your reply, and i am looking at some code of other modules. I will try to solve the problem.
Re: Help for content type

Here is the function for adding a module as a content type..
$this->RegisterContentType();
CMS is great !!!