I'm wondering whether or not a plugin I need to make for my wiki is even feasible. I want to have pages whose name is a date (ie http://blah.com/wiki/1999-04-05/) query another table that I've created, grab data from it, and display it alongside the Wiki article. Are these things possible to do?
The way I was thinking that this could be done would be to do a regexp function on the date to see if it is a valid date for checking against my other table, then just have a plugin like <?plugin OtherTable date=$date ?> then make my run() function do all the work.
Good idea/bad idea? Is it possible? Any other suggestions?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hey, I got the plugin basically working, but I want my plugin to return html tags. Instead, it returns it in the blog post with unformatted text with the html tags appearing, but not being parsed.
How can I have it display that as formatted html and not text-based html tags?
In my config.ini, I have ENABLE_RAW_HTML = true, ENABLE_RAW_HTML_LOCKEDONLY = false, and ENABLE_RAW_HTML_SAFE = true, but still no luck.
Also, can you define which html tags are "safe" ? Thanks in advance.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm wondering whether or not a plugin I need to make for my wiki is even feasible. I want to have pages whose name is a date (ie http://blah.com/wiki/1999-04-05/) query another table that I've created, grab data from it, and display it alongside the Wiki article. Are these things possible to do?
The way I was thinking that this could be done would be to do a regexp function on the date to see if it is a valid date for checking against my other table, then just have a plugin like <?plugin OtherTable date=$date ?> then make my run() function do all the work.
Good idea/bad idea? Is it possible? Any other suggestions?
Also, I'm getting this error from my plugin:
lib/plugin/Setlist.php (In template 'body' < 'html'):75: Notice: Undefined offset: 9 (...repeated 3 times)
What does this mean?
Sure, very easy to do.
Hey, I got the plugin basically working, but I want my plugin to return html tags. Instead, it returns it in the blog post with unformatted text with the html tags appearing, but not being parsed.
How can I have it display that as formatted html and not text-based html tags?
In my config.ini, I have ENABLE_RAW_HTML = true, ENABLE_RAW_HTML_LOCKEDONLY = false, and ENABLE_RAW_HTML_SAFE = true, but still no luck.
Also, can you define which html tags are "safe" ? Thanks in advance.