Thank you. I know your extension and yes I have used it. It's quite good. However I would like a little bit easier way to do it. I thought that maybe there is a configurable option or something like this.
This trick with templates is quite interesting. User can decide on which page he wants to hide menu. Could you explain me how to create such templates?
Regards, Aretai
On 1/24/07, Tels nospam-abuse@bloodgate.com wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Moin,
On Wednesday 24 January 2007 17:54, aretai aretai wrote:
Hi,
Does anyone know how to remove navigation menu, logo, toolbox, etc. from particular pages within wiki? In other words I don't want to remove it globally but only for some pages.
My extension, mediawiki-slides, can do this for pages part of an "presentation".
Basically, it injects a bit of CSS magic that hides the elements you want.
It would be easy to write an extension that can be included on a page, but probably even easier would be to write templates and include them on the specific page:
{hide-menu}} {hide-toolbox}} {hide-footer}}
etc. You only need to enable the <style> tag - I do not know if it is still disallowed on standard mediawiki installations, I guess so, and if you can now enable it simple by editing the config file - otherwise you have to muk around with Sanitize.php.
Once <style> works, simple put them into templates and include them.
if you want to see how I did it:
http://search.cpan.org/~tels/mediawiki-slides/
And:
http://bloodgate.com/wiki/Wiki-Presentations
best wishes,
Tels
Signed on Wed Jan 24 21:46:54 2007 with key 0x93B84C15. Get one of my photo posters: http://bloodgate.com/posters PGP key on http://bloodgate.com/tels.asc or per email.
"One man in a thousand is a leader of men, the other 999 follow women" -- Groucho Marx
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux)
iQEVAwUBRbfGt3cLPEOTuEwVAQJKswf7ByUJ2AkcfZyFmSBRXiGLEAO8tHXZMWHb MFvl+IWpesJn0h+46/bvaM2TGjGkGz++fyEtzFdckQc/knLTQi+1ImvtjmozyYtx R+uMmo4HNo87KCA/0eb3ggoixC8pYtnS+fD7xBswGpQZJ4cb6aa4d8H8gS4aGfjq AaSdI2YMRvcCDwDkDplkHiFBbOtFkNfHLLy1ZlexsO/00eQaKzPMFnvH9y+PlcrC OoB9EiVWg4KsXToa9LAE79Q6qsc1FpQJhyBn2Ta1yR2FW2PSDuqNQ4EYNCuDS0DO YHixEEzuOM3bX1qMgdQ8umrTSXQ8ZtrK+DAcmy1EFy6NCkisQyOsqw== =/vf9 -----END PGP SIGNATURE-----
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l