How would one (ShopMadeSimple)

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
User avatar
Lahuindai
Forum Members
Forum Members
Posts: 66
Joined: Mon Aug 01, 2005 11:00 am

How would one (ShopMadeSimple)

Post by Lahuindai »

Hello everybody,

I'm busy with ShopMadeSimple and have a question with regards to displaying the categories. I would like to have it display much like the content->pages in cmsms. The questions is as follows:

- Has anybody else (other than cmsms) done this before ?
- Is there anybody out there that can help me get this done as i would really like to release soon and this is the only thing holding me up. ?

I know i can go dig around the cmsms code and wish i had the time for it right now, but i don't... :(

Gary
KO
Power Poster
Power Poster
Posts: 562
Joined: Mon Nov 06, 2006 7:55 pm
Location: Helsinki, Finland

Re: How would one (ShopMadeSimple)

Post by KO »

I think cataloger module is adding the items and categories same way as adding content pages so that could give some answers. Unfortunately I have no idea how it is done as my php coding is pretty much nonexisting.  :(

K
newclear

Re: How would one (ShopMadeSimple)

Post by newclear »

Yes Cataloger module does it.
The module needs a content type class to be extended. You can also take a view of the news module and the album module
I never work it the content types but i know that few methods has to be used for this to be done.

the class that has to be extended is called class.content.inc.php and stays in lib/classes/ dir
Post Reply

Return to “Developers Discussion”