Page 1 of 1

How would one (ShopMadeSimple)

Posted: Mon Apr 16, 2007 9:58 pm
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

Re: How would one (ShopMadeSimple)

Posted: Wed Apr 18, 2007 6:00 am
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

Re: How would one (ShopMadeSimple)

Posted: Thu Apr 19, 2007 7:34 pm
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