GetSimple Support Forum

Full Version: [New Plugin] Banner with Exp Date
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
it is simply a pop up in html-css showing the textarea you realized. You can decide in which page show it, and untill you want to show it.
I'm sorry for my english, it easier if you try it...
if it can help someone Smile
please consider adding it to Extend!
Very buggy, cant even get it to work.

It is accessing its xml config file via http not local, causing a 404 and then dumping a ton of loadxml errors on page.

Data files should not be stored in plugins folders, they go in data folder in a subfolder.
Smile it's my first plugin.. let me understand better...

shawn_a Wrote:Very buggy, cant even get it to work.

It is accessing its xml config file via http not local, causing a 404 and then dumping a ton of loadxml errors on page.
Could you explain better the problem

Quote:Data files should not be stored in plugins folders, they go in data folder in a subfolder.
why i can save data in folder plugin?

why it works to me?

to Chris: this is the reason for which i do not upload the file in the extended Smile
You are using "siteurl" and therefore an http request to load the xml file. You should be using local path (folder) to file, so it doesn't load it over the web.

Plugins are supposed to store their data in data folder for backup and security safety, this is clearly stated in the wiki. All user data should be stored in one place, if i move the site over to another or back it up, all data is in the proper place. Also since the plugins folder contains executable code, it is not typically writable.
See Data and settings here
http://get-simple.info/wiki/plugins:creation
shawn_a Wrote:You are using "siteurl" and therefore an http request to load the xml file. You should be using local path (folder) to file, so it doesn't load it over the web.

Plugins are supposed to store their data in data folder for backup and security safety, this is clearly stated in the wiki. All user data should be stored in one place, if i move the site over to another or back it up, all data is in the proper place. Also since the plugins folder contains executable code, it is not typically writable.
See Data and settings here
http://get-simple.info/wiki/plugins:creation

Thx a lot. I'll do changes and i'll upload again. I really appreciate what you say.. and i hope you'll check again the change i'll do.
Smile
Before i add it to extend can someone test it and tell me if now it can be called plugin?