4lx Posted June 29, 2006 Posted June 29, 2006 Hi! I've been searching for hours how to develop my own modules in osCommerce. Is this a little secrete just kept by a few? Or am I missing something here. Maybe it's not posible?! Alexander
Terra Posted June 29, 2006 Posted June 29, 2006 Alex - as this is your first post, I'd say be a bit patient. You can write contributions for anything but it's not plug'n'play. You'll need to suss out the osCom structure first, get to know the PHP code and then start coding your own modfications. A good place to get started is the contribs section - just take a look at what others have done and it'll make it all clearer: http://www.oscommerce.com/community/contributions all the best, Terra My code for combining PayPal IPN with ** QTPro 4.25 ** osC Affiliate ** CCGV(trad) and how to solve the invoice already paid error General info: Allow customer to delete order comment ** FTP Programs & Text Editors ** Amending order email **
4lx Posted June 29, 2006 Author Posted June 29, 2006 Thanx Terra for your reply. I just need to se som docs on how to create modules for the admin interface. That is because I have to make an estimation on how long it will take to make module for a customer (yes...wrong group but I didn't know where to ask :huh: ) . The work I'm suposed to do is not posible to solve by the contributions available. So anyone? (I'm sorry for posting in the wrong forum group... pleaze don't be ofended by this... help me out by direct me to the right group instead)
Terra Posted June 29, 2006 Posted June 29, 2006 I just need to se som docs on how to create modules for the admin interface. I don't think there are any - I'm doing custom coding as well, but I've been working with osCom for several years now and it's all based on experience. osCom does not support "modules" very well - the contribs usually involve changes to the base code. all the best, Terra My code for combining PayPal IPN with ** QTPro 4.25 ** osC Affiliate ** CCGV(trad) and how to solve the invoice already paid error General info: Allow customer to delete order comment ** FTP Programs & Text Editors ** Amending order email **
4lx Posted June 29, 2006 Author Posted June 29, 2006 hmm..okey. So I guess it's not that easy as with Joomla? The only reasons really for doing this app inside osCommerce is because I want to use the ACL and offcourse so that the users doesn't have to leave the osCommerce interface. Well... if there are no tutors on how to create "modules" in osCommerce, do you know where I can find specs about the core? I guess I'll have to stay up all night reading...
Terra Posted June 29, 2006 Posted June 29, 2006 Well... if there are no tutors on how to create "modules" in osCommerce, do you know where I can find specs about the core? I guess I'll have to stay up all night reading... hehe - :lol: if you ever find specs, please make sure to post this on the forum as they'd be a great help! And don't even talk about the knowledge base - it's already written for MS3 (which is in development). The only doc I'm aware of is the PDF: http://www.oscommerce.com/solutions/downloads And there's this stuff but it's mostly MS3: http://www.oscommerce.com/solutions/documentation Terra My code for combining PayPal IPN with ** QTPro 4.25 ** osC Affiliate ** CCGV(trad) and how to solve the invoice already paid error General info: Allow customer to delete order comment ** FTP Programs & Text Editors ** Amending order email **
jon_l Posted July 3, 2006 Posted July 3, 2006 There is a standard way to store configuration information for modules in admin, and there's a standard way to add it as a new section in the admin control panel. Its not just a case of dropping it in and installing it, though it is easier in admin than on the catalog side.
4lx Posted July 3, 2006 Author Posted July 3, 2006 There is?! That's great! Can you give me a hint how to do... just enough so I can look further myself?
jon_l Posted July 3, 2006 Posted July 3, 2006 Have a look at the osC Affiliate contribution. All the configuration settings are stored correctly in the database and can be edited through the configuration section in admin. Plus it has its own section within admin. Its a really simple contribution to add, install it against a clean ms2 and it should give you some pointers.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.