GetSimple Support Forum
[Plugin] - Import Css - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16)
+--- Thread: [Plugin] - Import Css (/showthread.php?tid=579)



[Plugin] - Import Css - spilarix - 2010-03-25

I need a css to display correctly my plugin admin page.
I try to load it with "add_action" but it gives a 403 error on css load.

The reason :
My css is located in plugin/myplugin/style.css so the responsable is the plugin/.htaccess file with "deny from all" instruction.

So, what's the good location to put css ?

Thank you.


[Plugin] - Import Css - Zegnåt - 2010-03-25

That’s the right location, we advice you to put in a whitelist .htaccess in your plugins folder (/plugins/myplugin/). In that .htaccess you can then put “allow from all” so all resources your plugin needs are loadable.


[Plugin] - Import Css - spilarix - 2010-03-25

I wanted to be sure...

Thanks.