I've always wanted the ability to create my own blocks of code that could be included on any page - basically the same as the built-in global HEAD Tag Content, HTML Profile, etc, that I could use for whatever I wanted. So yesterday I grabbed a copy of the LSK and found the HTML Profile module, and made a few minor changes and recompiled it as my own module. I basically just renamed "HTML Profile" to "MyGlobalCode" for the most part.
I installed it on a dev site and it works just fine. I did notice that it wouldn't show up under User Interface > Settings until after I created the User Interface Item. Once that was created, it showed up and allowed the block of code to be modified etc.
Another minor issue is that I can't uninstall it, it reports that it's in use even after I've deleted the User Interface Item.
Anyway I just wanted to see if anyone had any thoughts about this type of thing. I've never written my own Miva module before, but this is really just an edit of the HTML Profile module anyway. Is there anything I should do to make sure it doesn't crap out after the next Miva update or something?
I installed it on a dev site and it works just fine. I did notice that it wouldn't show up under User Interface > Settings until after I created the User Interface Item. Once that was created, it showed up and allowed the block of code to be modified etc.
Another minor issue is that I can't uninstall it, it reports that it's in use even after I've deleted the User Interface Item.
Anyway I just wanted to see if anyone had any thoughts about this type of thing. I've never written my own Miva module before, but this is really just an edit of the HTML Profile module anyway. Is there anything I should do to make sure it doesn't crap out after the next Miva update or something?
Comment