![]() |
Addon Development: how to deal with the XML?
Heya guys!
It might be that my question is a rather stupid one, but alas I am still asking it: when developing an addon (with all the bells and whistles; that being admincp, user interaction etc) one has all the files (xmls, phps etc) and the addon xml file... So far I've been changing the xml, uploading the xml in the admincp and overwritten the existing addon - this can't surely be the 'normal' or right way to do so? Any advice on how to do this quicker? Thanks! Malte |
Most things can be done in the admincp, then you export the product xml if you want to save or distribute it (it's a good idea to keep a backup even if you're not distributing it). Some controls don't show up unless the site is in debug mode (e.g. adding/editing options and option groups). If you haven't been using debug mode you might find this useful: https://vborg.vbsupport.ru/showthread.php?t=265999 . The article is on ways to turn it on only for yourself or admins, but the "normal" way (which you'd use if you're developing on a test site, which is a good idea) is there too.
|
thanks for your reply!
I know about the debug mode - but I am not sure how this helps me with frequent updates to my addon.xml? Once I am done, the feature of downloading it is very very handy (of which I did not know beforehand) Or is your advice to upload it once and then make the changes within the style manger et al? |
I now use the "debug mode" method Kevin spoke of on my local dev site. I first create the product, then add the settings I want, then the templates and plugins, and finally debug the codes until everything works as I intend, and then export the XML file. :D
|
Quote:
|
Quote:
|
Quote:
|
awesome!
Thank would be more than kind of you, sir :) :D |
Quote:
|
even better!
(although the wait is cumbersome, but that's the way it is :) ) Thanks again! |
All times are GMT. The time now is 09:28 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|