View Full Version : Plugin uninstall not working
NST Inc Designer
02-10-2008, 01:27 AM
I'm trying to put together a quick little plugin to change the background image on a template. When I install the plugin it makes the change (it actually doesn't quite work but I think I've got a path set wrong). The plugin writes to the custom.css file within the template folder, but when I uninstall the plugin the modified style sheet doesn't revert back.
What am I missing?
#Modify the custom style sheet
hook_replace("sohoadmin/program/modules/site_templates/pages/PHASE2-Chromatophore-Multi/custom.css", "custom-mod.php");
hook_replace("custom.css", "custom-mod.php");
Mike Armas
02-10-2008, 09:22 AM
Tim i see your going my way with a css editor for your template. I just got done helping a guy out that used one of your template. It was a very clean and nice template i like it.
If your working on what i think you are shot me over a email i like to talk about this.
NST Inc Designer
02-10-2008, 02:49 PM
Well I figured I would just start playing around with plugins as I don't know much about them at this point and it would save me a lot of time when modifying templates with common modifications.
Mike Armas
02-10-2008, 04:44 PM
That why i did the cdd editor. I had people wanting text color background images add. I didn't mind doing it but every time there was a update to the template i would have to redo it.
I would be happy to send you my custom.php and the plug-in if you want to take a look at it.
But you know my next big idea and you can just wait and we can work on it together. I be happy to add your templates at the top of my list.
I just love your templates nice and clean very cool.
Mike Armas
02-15-2008, 04:01 PM
Tim what is your email ?
My email is mike@armaswebdesign.com
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.