Moin,
as an extension developer I'd like to have two new features. I looked at
the doc, the code the FAQ etc but I couldn't find out if it is not
already possible to achive that:
* addCSS();
You can call from your extension things like addMeta(), addHeader() etc,
including addStyleSheet(), which adds a link to a stylesheet to the page.
However, forvarious reaons and extensions adding CSS code into the head
ala:
addCSS('YourCodeHere') would result in:
<style type="text/css">
<!--
YourCdeHere
--></style>
Is this already possible and did I just overlook it? If not, could it be
implemented? (Adding a link to a stylesheet requires external files,
which is messy and leaks files,see my other post "File leakage in
extensions")
Likewise, I would like something along the lines of:
__NOCATEGORIES__ (or __NOCAT__
__NOMENU__
__NOTOOLBOX__
__NOSEARCH__
__NOFOOTER__
that supress the various elements of the interface. (This is for a slide
extension, that allows one to give presentations from a wiki diectly).
Now, with the addCSS() from above that could be hacked (if you know which
skin to use, and add an extenion to each slide article, but the special
variables would be much cleaner and they would also allow these things to
be used on other pages w/o an extension.
For wikipedia, they should be probably disabled, but this can be achieved
via a technical solution (config var, or spamblicking etc).
What do I need to get these things into the current code?
Best wishes,
Tels
--
Signed on Fri Apr 7 10:47:09 2006 with key 0x93B84C15.
Visit my photo gallery at
http://bloodgate.com/photos/
PGP key on
http://bloodgate.com/tels.asc or per email.
"...pornographic images stay in the brain forever." -- Mary Anne Layden;
"That's a feature, not a bug." -- God