====== Legacy note ====== :!: :!: :!: **IMPORTANT NEWS FOR EXISTING MONOBOOK USERS** :!: :!: :!:\\ \\ Please note that a rewritten version of the "monobook" template was released on 2009-01-12, maintained by Andreas Haerter. **Please upgrade** (see instructions on the [[template:monobook|template's page]]), **this version** developed by Terence J. Grant **is no longer supported**. **You should not edit it this page**, it exists to archive the "old" messages. If you got ideas/bug reports/foo/bar, use the current [[template:monobook|monobook page]]. \\ \\ :!: :!: :!: **IMPORTANT NEWS FOR EXISTING MONOBOOK USERS** :!: :!: :!: ===== License ===== * **Author:** [[tjgrant@tatewake.com|Terence J. Grant]] * **License:** [[http://www.opensource.org/licenses/gpl-license.php|GNU GPL v2]] * **Last Update:** 2008-07-30 * **Donate:** [[https://www.paypal.com/xclick/business=tjgrant%40tatewake.com&item_name=Monobook%20for%20DokuWiki%20Donation&no_shipping=1&no_note=1&tax=0¤cy_code=USD&lc=US|Click here.]] It's not required, but please consider linking to [[monobook|this page]] if you like this product. Also, feel free to leave a link to your site(if it uses this product) on the [[:talk:projects:monobook for dokuwiki|discussion]] page. ===== Download ===== Before downloading or using this product, make sure you __**understand and accept**__ the terms of the [[#license]]. After downloading, make sure to follow the [[#install]] instructions or [[#upgrading]] instructions below; trust me, they're worth reading. * This is the **latest version**, compatible with **The Latest DokuWiki**: * Latest Version: {{http://cloud.github.com/downloads/tatewake/dokuwiki-template-monobook/monobook-stable.tar.gz}} - May 28, 2009 * Github URL: [[http://github.com/tatewake/dokuwiki-template-monobook]] * Older downloads are available on request only. **Note: http://cloud.github.com/downloads/tatewake/dokuwiki-template-monobook/monobook-stable.tar.gz always points to the latest stable version!** ===== Installation ===== - [[#download]] the tarball/zip-file - unpack it into ''/lib/tpl/'' - login as admin and change the template in the configuration manager **using git:**\\ % cd /lib/tpl/ % git clone git://github.com/tatewake/dokuwiki-template-monobook.git monobook **Debian install (or probably any other distribution):** # cd /usr/share/dokuwiki/lib/tpl/ # wget http://cloud.github.com/downloads/tatewake/dokuwiki-template-monobook/monobook-stable.tar.gz # tar -xvzf monobook-stable.tar.gz # chown -Rv 33 monobook/ **Note: http://cloud.github.com/downloads/tatewake/dokuwiki-template-monobook/monobook-stable.tar.gz always points to the latest stable version!** ===== About ===== This is the set of monobook style sheets, directly from both [[http://mediawiki.org/|Mediawiki's]] and [[http://en.wikipedia.org/|Wikipedia's]] style sheets, only adapted for [[http://wiki.splitbrain.org/wiki:dokuwiki|DokuWiki]]. Personally I think Monobook makes DokuWiki the perfect Wiki software available by far. There are some things you'll find in this template that you won't find in most other templates, and are inspired by Wikipedia and MediaWiki. * **Discussions** are supported __without__ requiring an additional plugin. * **User pages** so you can have your own home page on your wiki. * **Cite this Article** allows students, journalists, researchers, and the like to easily reference articles on your site. * **Permanent Link** __guarantees__ that articles you link to in emails are //as you saw them that second//. * All non-page portions of the template can be edited just as if they were pages. How cool is that? So with all of this, we get not only everything DokuWiki offers, but the best features of MediaWiki as well. With that said, there's always room for improvement. If you're able to add any contributions to make Monobook for DokuWiki better, please [[tjgrant@tatewake.com|let me know]]. ===== Install and Configure ===== Installation is simple, just unzip the file into the folder **lib/tpl** in your DokuWiki install, and set **monobook** as your template in the **configuration manager**. **You will also need the [[:plugin:displaywikipage]] plugin, so download and install that as well.** Also, please **turn off** "Compact CSS and JavaScript files" in the configuration manager because this option is broken and generally causes problems with templates. ==== Standard Options ==== * To enable User pages, create **wiki:user://username//** and set //username//'s permissions to read and edit it. * To enable Discussion pages, set the **discussion's namespace** to only read and edit by all users. Then manually **create the discussion page** yourself. This solves the problem of people making random pages in the discussion namespace, as they'll only be able to edit the discussion. * To enable the **subscribe changes** button, simply enable **Enable page subscription support** in your configuration settings. All other configuration options are now located in the configuration manager, available from the admin page. Look in the configuration manager for "monobook", and you'll see the following: {{ :projects:monobook_template_settings.jpg }} All options are fairly self-explanatory; if not, you can experiment with them to see what they do. ==== Sample Pages ==== The pages referred to above for navigation, site notice, copyright, can be edited just like a wiki page (provided you followed the installation instructions), but samples are not included by default, so a few samples are provided below. **Sample Navigation Page** * [[:start]] * [[http://mysite/wiki/doku.php?do=recent|Recent Changes]] * [[:wiki:dokuwiki|Help]] * [[:links]] * [[http://mysite/wiki/doku.php?do=index|Site map]] **Sample Site Notice Page** Welcome to my website! **Sample Copyright Page** Copyright 20X6, Stinkoman. === Notes on Toolbox === The same general rules apply to the **toolbox** portlet, with the exception that an alternate, more sophisticated toolbox is provided by default, although it is not an editable page. The default toolbox contains the links below. * **What links here** -- //Calls the same function as "backlinks" in DokuWiki.// * **Upload file** -- //Opens the same window as the upload popup.// * **Special pages** -- //In wikipedia, this refers to wiki-related pages, so this serves the same function.// * **Printable version** -- //Opens the current page with the printing stylesheets.// * **Permanent link** -- //Grabs a link to the **current revision** of a page.// * **Cite this article** -- //Gives end users a method to cite pages on your website for research papers and articles.// ==== Miscellaneous ==== Some additional content that needs to be modified is in a folder called **user** within the **monobook** folder. You can edit or delete any of the files in user as you wish; they're all optional. ^ File name ^ purpose ^ | favicon.ico | Web site icon in the address bar. | | logo.png / logo.gif / logo.jpg | User logo at top left of page. | | Monobook.css | A file that will adds (or overrides) wikipedia/Monobook.css. | | Common.css | A file that will adds (or overrides) wikipedia/Common.css. | There is also an optional "lang.css" file that goes into the same folder as language translations-- this is in case you need special CSS for your language. ===== Upgrading ===== In general, if you are **upgrading**, make sure you do a force-refresh when you update the monobook for your website. You can do this in Firefox and Internet Explorer by holding //shift-control-alt// and clicking the **refresh button**. Also note that there will be dramatic changes somewhat often, so check [[#what's new|What's new]] to see what's changed between your older version and the current version. ===== Configuration ===== You can change the following settings via the DokuWiki "Configuration Settings" Dialog. ^ Option ^ Value(s) ^ | navigation_page | Name of the wikipage which should be treated as "navigation". | ===== First Steps ===== ==== Creating the Navigation ==== **This won't work without the [[:plugin:displaywikipage|Display Wiki Page Plugin]]**\\ The template looks for a wiki page called ''navigation'', or whatever you've defined in the configuration, in the current namespace to include it as the sidebar. If this page doesn't exist the template shows a notice containing a link to create it. **Example navigation:** * [[link1]] * [[link2]] * [[link3]] ===== Browser Compatibility ===== The template was tested with the following Browsers. **If you've seen it working with other browsers feel free to add them to the list :-)!** * Firefox (Linux 2.0, Mac OS X 2.0.0.1, Windows Vista Service Pack 2, Windows XP, Windows 7) * Opera (Win / Linux 8.5, 9.01, 9.24, 10) * Internet Explorer 8 (Windows XP Pro SP 3, Windows 7) * Safari (Snow Leopard) * Google Chrome (Windows XP) ===== Bugs / Feature Requests ===== To report bugs and feature requests please use the [[http://github.com/tatewake/dokuwiki-template-monobook/issues|bug tracker]]. ===== What's New ===== A complete changelog is available at my [[http://github.com/tatewake/dokuwiki-template-monobook/commits/master|github page]]! {{rss>http://github.com/tatewake/dokuwiki-template-monobook/commits/master 10 1d}} **July 30, 2008** * Fixed an XSS vulnerability, thanks to [[Vladimir.Remetic@acxiom.com|Remetic Vladimir]] and [[andi@splitbrain.org|Andreas Gohr]] for reporting it. This is one of those "higher priority" updates, so I suggest you update if you're able to. If you need to do a minimal update, just take "context.php" from the new archive and replace your current context.php file with it and you'll be set. **October 3, 2007** * Added es language, thanks to [[fgarcia@ua.es|Fran García]]. * Minor changes to main.php **July 20, 2007** * Fixed footnote mouseover display (thanks to Christian.) * Fixed search preference item **May 23, 2007** * Added a few new options in configuration settings, thanks to [[mister-x@derborne.de|Patrik Bornemann]]. * Better print support, thanks to [[tobiaseigen@gmail.com|Tobias Eigen]]. * Proper RTL support, thanks to [[tobiaseigen@gmail.com|Tobias Eigen]] for identifying that this wasn't being handled properly. **March 14, 2007** * Added support for [[http://wiki.splitbrain.org/wiki:draft|recovering draft files]], thanks to [[schoenmakers@astron.nl|Arno Schoenmakers]] for reporting this one. * Some minor fixes for the language files, thanks to [[eg@zemaitija.net|Edmondas Girkantas]]. **March 11, 2007** * Two new languages, zh-cn and zh-tw; thanks to [[danny@pie.com.tw|郭長祐]] for this. **February 15, 2007** * Style.ini updated * Author setting now available for "Cite this Article" links. * Updated installation instructions. * Possibly other minor changes-- don't recall. **January 3, 2007** * Italian language has been added * Wikipedia-specific stylesheets have been added for the ten primary languages of Wikipedia: en, de, fr, pl, ja, nl, it, pt, sv, and es. * What you'll notice is better support for your native language as well as a closer "look and feel" to Wikipedia. Tabs look a little better: {{ :projects:tabs.png }} And the "portlets" are customized as well. {{ :projects:portlets.png }} I already predict folks will want a little more customizable look and feel; be assured I'll work on it for the next release. **December 2, 2006** * Monobook now uses the **configuration manager** to make things easier. * **user_pref.php** and **pref.php** have been removed. * More generalized options are available in the configuration manager. * There was a typo in **lang.php** for each language... toobox -> toolbox * **settings.php** is now added to **lang/en** and needs localization for each language. * Major revamp of this page to make installation easier. **November 18, 2006** * Search results are now highlighted. **November 3, 2006** * Fix upload page... * Fix support for new "Media manager" (grumble) * Add pt-br language * Update nl language * Credit [[danilo@dtsato.com|Danilo Sato]] for br-pt * Credit [[alien@jabber.xs4all.nl|Eric Hameleers]] for nl Note, for some reason in IE's display of the media manager, the [+] icons are not properly aligned with the text labels on the tree. I cannot figure out how to fix this. If you find a solution, please contact me or post on the project's discussion page. **October 22, 2006** * Some minor changes, and... * Translators: Please add a lang.css (even if empty) to lang folders for **new** languages. * Polish, German, Hungarian Language updates * Credit to Marcin Hugo Kosiniski for pl, Volker Leonhardt for de, Peter Attila for hu **October 10, 2006** * Problems with search fixed * German language update. **October 7, 2006** Dear [[monobook]] users, please test the following: * Probably compatible with IE 7? * Three new customizable CSS files are available: * /user/Monobook.css * /user/Common.css * /lang/(langauge code here)/lang.css -- for instance /lang/de/lang.css Again please test the above features as I am not able to. * New features as follows: * Upload file link works again, and now uses correct namespace * AJAX [[dw>:wiki:search#Quicksearch|Quicksearch]] is now working (and looks good) * Recent Changes access key now works [ALT-R] * Documentation typo fixed * doku.php is no longer hard-coded, Monobook now uses DOKU_SCRIPT * **Go** no longer searches, it tries the page based on an ID you put in there * **Search** is still the default, though. This takes care of all but two of the outstanding issues on the discussion page. The discussion page has been cleaned up as well. I trimmed it by 12 pages of mostly fixed bug reports. 8-O **September 3, 2006** * Moved the referrers script into its own plugin: [[:projects:referrers for dokuwiki]] * Lithuanian language updated, thanks to [[eg@zemaitija.net|Edmondas Girkantas]] **August 23, 2006** * Removed "Display Wiki Page" from this project, it is now its own plugin, [[:plugin:displaywikipage]]. **August 20, 2006** * German language update (thanks to Volker Leonhardt) * Removed Google Analytics code (Use [[:projects:google analytics for dokuwiki]] instead.) **August 19, 2006** * Hungarian language support * Swedish language support * French language update * English language update * other.php no longer included in distribution (see discussion page) **July 28, 2006** * The printing stylesheet has been updated-- might be 100% complete? * Now uses the Wikipedia arrow for external links. * Toolbox links now use //rel="nofollow"// to be more search engine friendly. * Apparently the "my talk" link was pointing to an incorrect location if you didn't use ":wiki:talk" as your default; so this is fixed. **June 24, 2006** * [[multitemplate]] support **June 23, 2006** * There are some style changes so make sure to do a force refresh. * All [[http://wiki.splitbrain.org/wiki:accesskeys|accesskeys]], except for R and X, should now be working. * Some string functions were moved to string_fn.php * A JavaScript bug was fixed for IE. (Thanks [[ian@durey.ca|Ian Durey]].) * Disclosure triangles available for "Site map"/"Index" links. * There is now a default "favorites icon" in the "user" folder. * There are **some** default values to thwart referrer spam (fake referrers) but it needs a little more work to make it general. * Lithuanian(???) language support thanks to [[eg@zemaitija.net|Edmondas Girkantas]] That's it for now. **May 19, 2006** * Two small bugs officially fixed: *
->
in main.php (Thanks to [[alien@slackware.com|Eric Hameleers]].) * $monobook['discussion'] = "talk"; -> $monobook['discussion-location'] = "talk"; in pref.php (Thanks to [[joannewalding@comcast.net|Joanne Walding]].) **May 12, 2006** * Printable Version link now works * Cite this Article link now works * Permanent Link now works (Thanks to [[andi@splitbrain.org|Andi]].) * Upload file and Image details page now use template, although they may look a little crude * de language files (Thanks to [[dirk.blasius@googlemail.com|Dirk Blasius]].) * nl language files (Thanks to [[alien@slackware.com|Eric Hameleers]].) * New "Driven by DokuWiki" and "Monobook for DokuWiki" buttons (Thanks to [[derek.scott@gmail.com|Derek Scott]].) * The following links have been removed permanently since its unlikely they will be implemented: * Move tab * My contributions * My watchlist * monobook_nothing (a JavaScript function) has been removed. * body_onload has been removed * body_ondblclick has been removed * move has been removed * discussion-location has been added **May 2, 2006** * 'sitenotice' is now a wiki page location instead of just text * 'copyright' is now a wiki page location instead of just text * preferences are now editable through **local_pref.php** * navigation display problems fixed * Language support is now in; current languages are English and French. * Please read the discussion page before sending in a new language, thanks! * My talk link now active (thanks to [[http://www.drumsoloartist.com|Pasha]]) * Referrer script works a little better and now will alert you if you've set up permissions on ":wiki:referrers" wrong. (That is, if you choose to use it.) Special thanks again to [[etiennegauthier@free.fr|Etienne Gauthier]] for most of the changes this week's release. **April 21, 2006** * Three new options for navigation and toolbar link styles; including wiki_page, the best one! Thanks to [[etiennegauthier@free.fr|Etienne Gauthier]] for these changes! * Discussion tab can be turned on/off * Move tab can be turned on/off * Google Analytics support now included * Referrer script is included for this release ([[:wiki:referrers|Sample output.]]) * php.php has been removed (see discussion) * All tabs are available for all special pages **April 7, 2006** * Fixed bugs in IE * Links for navigation, toolbox can now be "wiki" links * Button links are now red if the page does not exist * All special pages now have the "edit" option **April 1, 2006** * The project has been completely reworked from the bottom up. * Although the configuration method has changed, it should be be much easier to use. * Tab context should be 100% correct in "article mode" (as opposed to "special page" mode.) * Wikipedia "blue pages" have been implemented for: * The wiki namespace * Discussion pages * User pages * Search results * Some behavior has changed; if anything seems completely out of place, please discuss it on the discussion page. * Please let me know if there are any old issues that have resurfaced by posting to the discussion page, thanks. **March 30, 2006** * Discussion tab is now in //"missing red"// when there is no discussion page. Thanks to Eric H. for introducing a better link function. Note that since a change was made to main.css, you will probably need to do a strong-refresh by holding control-shift-alt and clicking the refresh button before changes will be noticeable. **March 26, 2006** * Rich J. sent in some changes for better XHTML compliance. Here's something to remember for the future: * Ensure single tags are style * Apparently you're supposed to use & instead of & in URLs now. **March 25, 2006** * Watch/Unwatch tab is enabled if you enable subscription support now, thanks to Eric H. **March 24, 2006** * **Important note:** While this project is in development, all links will be in English language only. * Discussion is implemented(see Install notes.) * **Breadcrumbs** will appear at the top if you enable that * **You are here** will appear at the bottom if you enable that * Eric H. sent in some really good changes for the buttons at the top to keep them fairly consistent with the "state" of the page; proper highlighting for page buttons and backlinks. * I've also re-added some previous code to hide the "show page" button when its not needed. * The following toolbox links: * What links here * Upload file <- done, but the page needs template * Special pages * Some placeholders on the actions toolbar: * Discussion (I think there's a plugin for this?) * Move (I've read talk that someone was working on this recently.) * Watch (I think this is already implemented, I just need to figure out where it is in DokuWiki.) * Some new things on the personal toolbar: * Your username now links to //wiki:users:**username**// * Admin has been moved to the toolbar * My preferences links to update profile * Some placeholders for the personal toolbar: * my talk <- is this possible? * my watchlist <- is this possible? * my contributions <- is this possible? **March 18, 2006** * Monobook now conforms better to the new DokuWiki CSS namespace... this improves rendering in plugins and rendering in general (Found by Eric H.) * User logo is now easier to customize **March 14, 2006** The following issues have been fixed: * Missing file(the bullet) for the table of contents * Breadcrumbs are available and will be above article if enabled * Upload file link on toolbox works * Link color for missing articles * Search index now gets properly updated(thanks to Kevin) * Footnotes styles fixed * Smiley picker and character picker styles now DokuWiki-like * Update profile link now available at top right when logged in * Username displayed at top right **March 5, 2006** New version should work with new DokuWiki 2006-03-05. **March 1, 2006** (First two issues listed were found by Christian G., fixed by myself.) * Search works for DokuWiki users not using rewrite engine. * Edit this page works for DokuWiki users not using rewrite engine. * Editing old revisions works again Also the file includes a README and LICENSE file. **February 28, 2006** * Should be able to use this style within a "frames required" website. (Thanks to Péter A.) **February 27, 2006** * Styles for spell checking have been fixed. ===== Sites using this Template ===== //Link your site here if you wish// * [[http://www.tbk3.it/public/dokuwiki/doku.php|Il Dizionario Dei Videogiochi - The Dictionary Of Videogames]] * [[http://tokeek.de|German Page about TeamCal, Yacy and more Open Source Projekts]] * [[http://i100.org/baike|【满意百分百:知识宝库】]]Thanks! * [[http://bit.ly/106r3W|Downgrade Vista Wiki]] * [[http://www.exmateria.com/docuwiki/doku.php|ExMateria]] * [[http://www.bitbashed.com|BitBashed Electronic Projects]] * [[http://javawiki.sowas.com|German Wiki about Java]] * [[http://www.compagniadelgiardinaggio.it/wiki/|GiardiWiki]] - an italian wiki about gardening. * The Intranet of [[http://www.fieberitz.de/|www.fieberitz.de]] * [[http://live.naplesplus.us/|live.naplesplus.us - Collier County Community Wiki Server]] * [[http://www.wikisquare.com/|WikiSquare]] - Wiki about Square Enix (fr) * [[http://animal-crossing.patrickkempf.de/|Animal Crossing Wiki]] * [[http://www.it.iitb.ac.in/~priyesh/wiki/doku.php|Extending Asterisk]] * [[http://www.flyspray.org/ | Flyspray: The Bug Killer!]] * [[http://www.v-learn.org/dokuwiki | V-Learn.org]] * [[http://iguane39.free.fr/mediawiki/index.php?title=MediawikiSurFree|Mediawiki Configuration for GoogleAnalytics (fr)]] * [[http://degcn.org|竞速游戏专家小组 DrivinggameExpertGroup]] * [[http://www.slackware.com/~alien/ | Eric Hameleers Slackware Wiki]] * [[http://wiki.va-ngo.org|Vietnamese American NGO Network wiki]] * [[http://wiki.pacificlinks.org|Pacific Links Foundation wiki]] * [[http://www.drumsoloartist.com/wiki/doku.php|Drum Wiki]] - modified version of the MonoBook Skin * [[http://www.fica.org/|FICA (Fellowship of Indonesian Christians in America)]] * [[http://www.cs.sunysb.edu/~tuncay/|Tuncay Tekle's wiki]] * [[http://etherboot.org/wiki/soc/|Etherboot's Summer of Code wiki]] * [[http://www.farallon.dk/dokuwiki/doku.php|Farallon.dk's wiki]] * [[http://www.hitel.com/|Hitachi Telecom]] uses it for an internal site * [[http://www.cad-design.com|CAD Design Software]] uses it internally * [[http://www.computersupportcenter.net|Computer Support Knowledge Base]] Thank you for your mod * [[http://competi.hu/ | Competi - modified version of MonoBook (Hungarian)]] * [[http://www.bug.lt|BSD users group of Lithuania]] * [[http://liama.ia.ac.cn|LIAMA sino-french research lab in Beijing]] * [[http://www.blevwal.net/dokuwiki|blevwal.net Wiki]] * [[http://immortal-guild.net/wiki|Immortal Guild Wiki]] * [[http://gika.s206.xrea.com/|技術の部屋]] * [[http://dsmg600.info/|DSM-G600 Wiki]] Thanks!!! * [[http://travel.pelopor.nl| Travel Pelopor]] A little wiki for travel tips, things to do and food! * [[http://apps.tpot.tk/|Oceansoft Library]] (Japanese resources are here) * [[http://wiki.dns323.info/|DNS-323 Wiki]] Thanks!!! * [[http://vwcaddy-wiki.de/|VW Caddy Wiki]] * [[http://tsi300.info/|TS-I300 Wiki]] Thanks!!! * [[http://www.kabissa.org/wiki/ttgo/start|Kabissa - Time To Get Online Internet Training manual for African civil society organizations]] Many thanks for this terrific template! * [[http://locks.stewardclan.net/dokuwiki/doku.php|Locksdownunder - Australian Locksmith Site]] * [[http://agbu.une.edu.au/~kmeyer/dokuwiki|The Wicked WOMBAT Wiki]] * [[http://wiki.terrorchid.org|Terrestrial Orchid Wiki]] * [[http://kde-sk.skosi.org|KDE Slovak translation team]] (sk) * [[http://www.benedikt.kroll.de.gg]] * [[http://www.rookstat.com/rookwiki|Rookgaard Wiki]] Simply the best template! Thanks!! * [[http://ticopedia.costa-rica.eu|Ticopedia.de]] a german wiki for Costa Rica * [[http://wikisquare.com|WikiSquare]] Wiki for Square-Enix ! * [[http://www.ntalk.de/Nettalkdoku/doku.php|Dokumentation]] for the freeware-program Nettalk ([[http://en.ntalk.de|en]]/[[http://www.ntalk.de|de]]) * [[http://sicness.si.ohost.de/wiki|FC-Wiki]] a German wiki about 1. FC Köln * [[http://wiki.phoenixschule.de/|Phönix-Wiki]] a German Wiki about consciousness and excellence * [[http://www.electronica2000.org|WikiTronica2000]] * [[http://www.shannon-erne.de|Shannon Erne Info]] Deutsche Wiki über die irischen Bootsreviere Shannon, Shannon-Erne-Waterway und Erne * [[http://www.delequilibrium.890m.com|ArquivoWiki]] a Wiki for Coordenação de Arquivo/Min. da Saúde/Brasil. * [[http://www.familienaufstellungs-lexikon.org | German wiki about family constellations and psychology]] * [[http://pse.pbf.hr/wiki/| PSEwiki]] * [[http://baron-robert.dyndns.org|Randonnée dans le var]]: Is a wiki about hiking on the french riviera. * [[http://www.tbk3.it/public/dokuwiki/doku.php]] * [[http://www.flash.neatinfo.com./3dfa-forum]] * [[http://www.vmworld.com.br]] * [[http://wadooa.com/doku.php]] * [[http://www.songtranslator.net/lyrics]] * [[http://www.letras-traducidas.org/wiki/]] * [[http://namelesskingdom.com/doku]] * [[http://www.cognitiones.de|Cognitiones Publicae]] * [[http://javawiki.sowas.com|JavaWiki]] * [[http://cerj.idoo.com|CERJ]] * [[http://www.hettel.dk|Hettel & Havkajak]] * [[http://wiki.bsdforen.de/|BSDforen.de Wiki]] * [[http://pichat-wiki.de/]] Pichat Wiki (multilingual DE EN HU SV) official start 2009/07/02 updated to monobook 2010 ((Thanks to Terence J. Grant for this Template )) * [[http://dotapad.pp.ru/|DotaPad]] - Big Dota:AllStars Wiki * [[http://www.hahatofu.org/wiki/|Shum Wiki]] - Is a wiki about myself ===== Discussion ===== ==== Customize Toolbox ==== Items can be added to the default toolbox by modifying ''context.php''. Starting somewhere after line 355, insert code similar to the following samples. //Add link to clear page's cache with one click $monobook['defaulttoolbox']['purgecache']['href'] = DOKU_BASE."doku.php?id=".$ID."&purge=true"; $monobook['defaulttoolbox']['purgecache']['text'] = $lang['monobook_purgecache']; //Add ODT export link for ODT plugin //FIXME: should probably check if ODT plugin is installed $monobook['defaulttoolbox']['odt']['href'] = exportlink($ID, 'odt'); $monobook['defaulttoolbox']['odt']['text'] = $lang['monobook_odtexport']; //Add quick access to PageMove plugin //FIXME: Should probably hide this for non-superusers, check if plugin is installed $monobook['defaulttoolbox']['movepage']['href'] = DOKU_BASE."doku.php?id=".$ID."&do=admin&page=pagemove"; $monobook['defaulttoolbox']['movepage']['text'] = $lang['monobook_movepage']; Now in the template's ''lang/en/lang.php'' file, add lines similar to the following samples: $lang['monobook_purgecache'] = "Clear page cache"; $lang['monobook_odtexport'] = "OpenOffice export"; $lang['monobook_movepage'] = "Move/rename page"; ==== Additional Examples ==== Using the above method, this is extra items I have added... // TOC Index $monobook['defaulttoolbox']['special']['href'] = DOKU_BASE."doku.php?idx=wiki"; $monobook['defaulttoolbox']['special']['text'] = $lang['monobook_specialpage']; $monobook['defaulttoolbox']['special']['rel'] = "nofollow"; // Upload file $monobook['defaulttoolbox']['upload']['href'] = DOKU_BASE."lib/exe/mediamanager.php?ns=".getNS($ID); $monobook['defaulttoolbox']['upload']['text'] = $lang['monobook_upload']; $monobook['defaulttoolbox']['upload']['rel'] = "nofollow"; // PageMove $monobook['defaulttoolbox']['movepage']['href'] = DOKU_BASE."doku.php?id=".$ID."&do=admin&page=pagemove"; $monobook['defaulttoolbox']['movepage']['text'] = $lang['monobook_movepage']; $monobook['defaulttoolbox']['movepage']['rel'] = "nofollow"; // export raw $monobook['defaulttoolbox']['exportraw']['href'] = $baseurl.DOKU_BASE."doku.php?".$ID."&do=export_raw"; $monobook['defaulttoolbox']['exportraw']['text'] = $lang['monobook_exportraw']; $monobook['defaulttoolbox']['exportraw']['rel'] = "nofollow"; // export html $monobook['defaulttoolbox']['exporthtml']['href'] = $baseurl.DOKU_BASE."doku.php?".$ID."&do=export_xhtmlbody"; $monobook['defaulttoolbox']['exporthtml']['text'] = $lang['monobook_exporthtml']; $monobook['defaulttoolbox']['exporthtml']['rel'] = "nofollow"; // Text printout if (isset($_REQUEST['rev'])) $monobook['defaulttoolbox']['print']['href'] = DOKU_BASE."doku.php?id=".$ID."&rev=".$requestREV."&mbdo=print"; else $monobook['defaulttoolbox']['print']['href'] = DOKU_BASE."doku.php?id=".$ID."&rev=".$INFO['lastmod']."&mbdo=print"; $monobook['defaulttoolbox']['print']['text'] = $lang['monobook_print']; $monobook['defaulttoolbox']['print']['rel'] = "nofollow"; // Permanent link if (isset($_REQUEST['rev'])) $monobook['defaulttoolbox']['permanent']['href'] = DOKU_BASE."doku.php?id=".$ID."&rev=".$requestREV; else $monobook['defaulttoolbox']['permanent']['href'] = DOKU_BASE."doku.php?id=".$ID."&rev=".$INFO['lastmod']; $monobook['defaulttoolbox']['permanent']['text'] = $lang['monobook_permanent'] ; $monobook['defaulttoolbox']['permanent']['rel'] = "nofollow"; // citation if (isset($_REQUEST['rev'])) $monobook['defaulttoolbox']['cite']['href'] = DOKU_BASE."doku.php?id=".$ID."&rev=".$requestREV."&mbdo=cite"; else $monobook['defaulttoolbox']['cite']['href'] = DOKU_BASE."doku.php?id=".$ID."&rev=".$INFO['lastmod']."&mbdo=cite"; $monobook['defaulttoolbox']['cite']['text'] = $lang['monobook_cite']; $monobook['defaulttoolbox']['cite']['rel'] = "nofollow"; // backlink $monobook['defaulttoolbox']['whatlinkshere']['href'] = DOKU_BASE."doku.php?id=".$ID."&do=backlink"; $monobook['defaulttoolbox']['whatlinkshere']['text'] = $lang['monobook_whatlinkshere']; $monobook['defaulttoolbox']['whatlinkshere']['rel'] = "nofollow"; // contact us $monobook['defaulttoolbox']['contactus']['href'] = $baseurl."/public/~site-info/email.shtml"; $monobook['defaulttoolbox']['contactus']['text'] = $lang['monobook_contactus']; $monobook['defaulttoolbox']['contactus']['rel'] = "nofollow"; Don't forget to add the definitions to the language file! "lang/en/lang.php" Such as... $lang['monobook_specialpage'] = 'TOC Index'; $lang['monobook_whatlinkshere'] = "Links to this Page"; $lang['monobook_upload'] = "Upload File"; $lang['monobook_print'] = "Export Print Version"; $lang['monobook_permanent'] = 'Permanent Link'; $lang['monobook_cite'] = "Cite this Article"; // jz-custom $lang['monobook_movepage'] = "Move/Rename Page"; $lang['monobook_exportraw'] = "Export as Text"; $lang['monobook_exporthtml'] = "Export as HTML"; $lang['monobook_contactus'] = 'Contact Us'; etc.... ===== Customize Nav Bar ===== I have not found any place to add items to the navigation bar so I found the place to hard code it. ... Enjoy! - jwz (8/1/2009) Please, do not hard code your navigation using the template files. If you do so, you always have to change them from outside the wiki. Here the way to use monobook's navigation from inside the wiki: - :!: IMPORTANT: You have to install the plugin "[[:plugin:displaywikipage|Diplay Wiki Page]]" to use the navigation! ([[:template:monobook|see Monobook install]]) - Open Config -> Monobook Template Konfiguration * Check ''tpl»monobook»mb_use_navigation'' (Use Navigation?) * Set ''tpl»monobook»mb_navigation_location'' (If yes, navigation location:) to the page, where your navigation should be saved (For example use \\ '':wiki:navigation'') - :!: If you do not see an edit button (you must be superuser) in the nav bar, then the plugin is not installed (properly). P.S. The author has been very helpfull in clarifying and updating these instructions. I have followed them and it works. :) - jz-8-10-09 - Create the page the normal way - (Open the page and) enter your navigation items --- //[[ste-re@web.de|SteRe]] 2009/08/03 15:10// The page wiki:navigation is a normal wiki page. To use it as navigation list, just enter links to your sites, for example the following syntax is used: * **Title 1** * [[page1]] * [[page1]] * **Title 2** * [[page1]] * [[page1]] Here is an actual example... * **Main Menu** * [[:start|Main Menu]] * [[:start|Basic Editing]] * [[wiki:syntax|Advanced Editing]] * **About DokuWiki** * [[http://www.dokuwiki.org/dokuwiki|Dokuwiki Site]] * [[http://www.dokuwiki.org/manual|Dokiwiki Manual]] --- //[[ste-re@web.de|SteRe]] 2009/08/06 00:39// ===== Adding new Tabs ===== There is a [[http://forum.dokuwiki.org/thread/3357|thread on the Forum]] which explains how to add some more tabs. ===== Nav Bar Language Support ===== I needed an multilingual Navigationmenue, so I replaced/modified line ~140 in main.php\\ Now it will add a languagecode like en or de to the navigation link.\\ For example: :wiki:navigation:de original: modified: --- Mark Wolfgruber 26.06.2009 ==== modification using the Translation-Plugin ==== === Disable list-style-image === If you are using the Translation-Plugin there is a square before each language-code.\\ To disable the square-image edit the ''~plugins/translation/style.css'' and \\ add in line ~14 ''list-style-image: none !important;''\\ .dokuwiki div.plugin_translation ul li{ float: left; list-style-type: none; list-style-image: none !important; padding: 0; margin: 0; } --- Mark Wolfgruber 2009/06/30 ===== Bugs ===== === Installed the template but the out come looks nothing like the image here! === > You might want to clear your browser cache or force a re-cache in Firefox (CTRL+SHIFT+R) ... === I missed in the ''...monobook/lang/hu/lang.php'' the the section //Constants for the tool box// === here it is:\\ //Constants for the tool box $lang['monobook_whatlinkshere'] = "Mi kapcsol itt"; $lang['monobook_upload'] = "Feltöltodo file"; //$lang['monobook_specialpage'] Already here; $lang['monobook_print'] = " Nyomtatható verzió"; $lang['monobook_permanent'] = 'Állandó link'; $lang['monobook_cite'] = "Hivatkozás erre a cikkre"; --- Mark ===== Local Language Support ===== If you wish to support a language, please do the following: - **Create** the language file based on **en** file in the lang folder. (And optionally a lang.css if you need special style support.) - **Send an email** to [[tjgrant@tatewake.com|Terence]] (with the file, and please tell me the two-character code, "en", "de", etc.) - **Last**, add an entry below so we'll all know which languages still are needed; thanks! :-) After I get your email, I'll add the language to the next release, and link it below so those who need it before the next release can get it. * Current languages supported, author: * en - Etienne Gauthier * fr - Etienne Gauthier * de - Dirk Blasius, Volker Leonhardt * nl - [[alien@slackware.com|Eric Hameleers]] * lt - [[eg@zemaitija.net|Edmondas Girkantas]] * sv - Johan Linnér * hu - [[petiati@apu.hu | Attila Péter]] * pl - Marcin Hugo Kosiniski * it - Emiliano Volta * zh-cn - [[danny@pie.com.tw|郭長祐]] * zh-tw - [[danny@pie.com.tw|郭長祐]] ===== FAQ ===== These are the top questions that always seem to come up; I guarantee you that they're not caused by the template. ==== Wiki Editing tools menu has disappeared? ==== Your problems can be explained and fixed [[http://wiki.splitbrain.org/wiki:faq:toolbar|here]]. The template didn't cause this. ==== Navigation doesn't show up ==== Reread [[#install_and_configure|the installation instructions]]. >I had this problem because I had not installed the displaywikipage plugin. After installing it the trouble disappeared. It is not documented, is it? It is documented, follow the link above. --- //[[tjgrant@tatewake.com|Terence J. Grant]] 07/19/2007 23:04// ==== I have a Navigation permissions issue ==== This has to do with the [[:plugin:displaywikipage]] plugin, so ask it on that discussion page. ==== I'm having trouble with ACL ==== This has nothing to do with the template, so don't ask it here. Ask any question you want about ACL [[http://wiki.splitbrain.org/wiki:acl|here]], [[http://wiki.splitbrain.org/wiki:discussion:acl|here]], [[http://wiki.splitbrain.org/wiki:discussion:acl2|here]], and [[http://wiki.splitbrain.org/wiki:mailinglist|the mailing list]]. If you paste in ACL to this discussion, it will get deleted. Here's a couple of things to consider. - Not using the prefix ":" means that for any page, your navigation will look for "current_namespace:wiki:navigation" (which is a different page in different namespaces.) If you don't use anything beyond the root namespace, you're fine; but most people don't use DokuWiki this way. - Some ACL routines were (and might still be) broken in DokuWiki. Essentially this meant (or might still mean) that: - if you have your root namespace not readable by all, - and you set the page permissions for ":wiki:navigation" to be readable by all, - then regardless of this, ":wiki:navigation" will still inherit the permissions of the root namespace regardless. I've reported this bug [[:wiki:talk:projects:displaywikipage for dokuwiki#acl_issues|here]], [[http://bugs.splitbrain.org/index.php?do=details&task_id=1084&pagenum=2|and here]]. As you can see from both links, they're not able to reproduce the bugs (but they're comparing this to the "current dev version" rather than the "stable" versions everyone else uses.) This means either one of two things: - This may mean the bug was fixed in one of the stable versions released in the last few months. * If so, try upgrading if you haven't already. - This may mean the bug isn't fixed, for some reason the problem is not understood by the DokuWiki team. * If so, please continue the discussion [[http://www.freelists.org/archives/dokuwiki/02-2007/msg00134.html|here]], [[http://bugs.splitbrain.org/index.php?do=details&task_id=1084&pagenum=2|and here]]. And again, I'll state, if this problem still exists, it isn't a problem with monobook, it's a bug in DokuWiki's ACL. ACL problems have absolutely **nothing** to do with this project-- if it's a problem with ACL here, it's a problem with ACL everywhere-- and there's truly absolutely nothing I can do from here to fix them. --- //[[tjgrant@tatewake.com|Terence J. Grant]] 08/02/2007 03:02// ==== I installed the template and now... ==== * My plugins don't work! * My ACL broke! * Pages say they're locked! * Other non look and feel issue! If it's not related to look and feel, the template didn't do it. It's not even **remotely** possible. ==== How do I add a PDF Export link? ==== * How do I export PDFs from these pages? My suggestion is to use a PDF print driver, like one you might find in [[http://adobe.com|Adobe Acrobat]] (commercial version). Personally I use [[http://pdf995.com|PDF995's PDF printer]], and it's great. Otherwise, there are **many** [[http://wiki.splitbrain.org/wiki:plugins|plugins]] that attempt to solve this problem. I don't use them. * Okay, now how do I add a link to export as PDF? If you use a PDF print driver, just click "Printable Version" and you're set-- just print. Otherwise, it's up to how the PDF plugin you're using does it; editing the toolbox is covered on [[:projects:monobook for dokuwiki]] project page, so I'll refer you to that. ==== What is "create this page" and "[edit]" everywhere? ==== That's part of the [[:plugin:displaywikipage]] plugin. It's required for **navigation**, **site notice**, and **copyright.** * I don't want it! Just uninstall the plugin then! * I can't set permissions for... See [[#I'm having trouble with ACL]]. ===== General Discussion ===== //Ask any other questions below.// ==== missing print.css ==== I use monobook version July 30, 2008, too. I found an error: Apache error-logfile: [Fri Feb 6 12:06:36 2009] [error] [client 84.xxx.206.xxx] File does not exist: /www/xxx/www/dokuwiki/lib/tpl/monobook/common/print.css I created print.css in the common-directory. ---- //pilgrims aka mha// Second this! The print.css file is missing. I can create an empty one to prevent errors, but would be more comfortable if a proper one was provided or else the reference removed if it is no longer needed. The reference is in line 58 of main.php. Thanks! ---- // DC // 3rd one! This can be a big problem, if the server does various things when he can't find a page... ==== Mail icon is not displayed ==== I installed the monobook tempaltes. Everything is working fine except that for mail links like this: * [[someone@somewh.ere|someone]] it does not display the envelope bitmap on the left any more and it looks like this: * [[someone]] except that it is blue and not underlined and red > oh, I just noticed that since the last time i checked the envelope bitmap has now disappeared here too :( It used be next to the first [[someone@somewh.ere|someone]]. === Solution === If you add the following to your Monobook.css file in monobook/users: div.dokuwiki a.mail { background: transparent url(mail_icon.gif) left center no-repeat; padding-left: 18px; } and also copy the mail_icon.gif into the same directory as the Monobook.css file, your mail icons will start showing up correctly again. Not sure why it can't find the mail_icon.gif file without these changes. ==== CSS-Links in mediamanager broken ==== Hello, I use monobook version July 30, 2008. When I try to use the mediamanager.php there is no formatting available, the look is very confusing. Perhaps I found the problem when looking into the page source: I tried to fix it but did not find the right place yet where this declarations are put together. ---- //Matthias// Edit: This bug is related to plugin [[http://wiki.splitbrain.org/plugin:loadskin|loadskin]] as it changes the place of setting the mentioned environment variables which then seems to pass the mediamanager. I deinstalled the plugin and reverted the changes in init.php and doku.php and now everything works fine. ---- //Matthias// ==== Customizing CSS, Which File? ==== I want to customize the UI a bit. There's a *lot* of CSS going on... I read through the PHP and I gather that possibly a "userstyle.css" is the last to be loaded and possibly that means this is the best place to make changes? Yes? I already tweaked the main.css (trying to get rid of all the vertical white space around heads...) but I don't think that is "best practices." I might want to replace the background so it does not look exactly like Wikipedia, (cool, but gets boring) I also change the "logo.png" with my own, again, probably not best practice...(gets wiped on upgrade i would think...) I should put our own company logo somewhere and call it in from user local user conf that will survive over an upgrade... Please advise. Thanks! Himalayan Academy ==== Navigation per Namespace, Any Progress? ==== Aloha Terence, I'm on Kauai... Just switched from PMWiki DokuWiki... good move! I'm interested in providing better navigation in the side bar. I'm using Display_Wiki page in the side bar now, and of course the Site Map works fine, but what would be ideal would be for the default index for those names for which the user has permissions, to appear automatically in the side bar. I note below the option to create separate nav pages for different names spaces, which could work, but I would need to call an index for just one name space.. can we do that? i.e. do=index does the whole site.. it would be neat to have a "do=index?$namespace for the current names space only and actually have it displayed in the side bar. Thanks for listening! Himalayan Academy ==== install Display Wiki Page in which directory? ==== >Hi Terence, hi folks Aloha bud, >the [[:projects:monobook for dokuwiki|monobook install instructions]] says to put Display Wiki Page folder into tpl - the template directory. >> Installation is simple, just unzip the file into the folder lib/tpl in your DokuWiki install, the install instructions for [[:plugin:displaywikipage|Display Wiki Page]] says to put it into the plugins directory Well... * Monobook itself goes into tpl * Display Wiki Page goes into plugins I take the approach that the instructions for each component are on their own individual pages, rather than trying to explain how to install everything on one page. It may not be 100% intuitive, but that may help you in the future at least. >> As a plugin all you need to do is unpack the file into the lib/plugins/ directory (you should end up with a lib/plugins/displaywikipage folder.) > >QUESTION > >where do i put the Display Wiki Page folder, in the plugins directory OR the tpl directory? That definitely goes in the plugins directory, however instead of unzipping directly into the directory, you can use the plugin manager to install it that way. >ps QUESTION, off topic, what plugin do you use for the "put the letters into the box to prove you're human" That would be the [[http://wiki.splitbrain.org/plugin:captcha|"captcha" plugin]] from the author of DokuWiki himself. --- //[[tjgrant@tatewake.com|Terence J. Grant]] 07/27/2008 04:23// ==== Table of content showing up in Navigation frame...? ==== Hi, I recently upgraded to the latest DokuWiki (2008-05-05) and sometimes when I open a page, the table of content of that page appears at the top in the navigation frame, as well as at the standard location. Simply reloading the page solves the issue and gives me a normal navigation frame. Any thought how this can be caused...? The former DokuWiki engine did not show this problem, so it must be related to that, I guess, but I cannot disentangle where DokuWiki stops and monobook starts... I have a picture showing the effect but I can't upload it. Cheers, Arno Schoenmakers (schoenmakers 'at' astron 'dot' nl). >Hi it is me again -- Len from PatentBlurb.com. I am having the same problem as Arno. > >When using Firefox, the table of contents form the main page shows up in the navigation window. If I refresh the page, the TOC goes away and the page correctly renders. I have deleted the DokuWiki cache pages in the data directory and this is not caused by browser cache. > >When using Internet Explorer, I get a different problem -- the background of my logo isn't transparent like it used to be. > >I posted screenshots of the issue [[http://www.patentblurb.com/doku.php/playgroundtest2|here]]. > >-- Len May 31, 2008 I've just made a new issue, watch [[#bugs_feature_requests|bugs]]. //-- Milan Zmatlo 19/10/2009// ====Formatting error? ==== >Hi. I noted a minor formatting error that seems to only appear in Firefox browsers. I reported the bug to splitbrain, but then realized maybe it is a monobook issue more than a DokuWiki issue. The bug report is [[http://bugs.splitbrain.org/index.php?do=details&task_id=1211 | here]]. I'll repeat what I wrote for convenience sake: > >"This is a rendering error that appears to be limited to Firefox. Opera and IE seem to render correctly. The problem is that a long unordered list beginning across from an "expanded" table of contents will not wrap around the table of contents." See my sample page here: http://www.patentblurb.com/doku.php/playgroundtest > >(By the way -- love the template, good works and tons of thanks!) --Len Hi Len, I see what you're talking about, though truthfully I don't know how to fix this. I'd say it's definitely a CSS related issue though. Do you get this same behavior with the "default" template, by the way? My guess would be, any fix for this will happen in doku.css in the monobook distribution. Look for "toc", as all style matters related to the DokuWiki table of contents uses this. --- //[[tjgrant@tatewake.com|Terence J. Grant]] 08/02/2007 06:55// ==== Search Toggle Linked to Sitenotice ==== >Perhaps this has already been fixed, but in the version I have (quite recent) the search box toggle option is actually set to toggle with the sitenotice toggle. In main.php, line 125 down: > %%** tag. --- //[[tjgrant@tatewake.com|Terence J. Grant]] 08/06/2007 08:51// ==== Problem with searchGoButton ==== Using the current versions of DokuWiki and Monobook, I have a Problem with the "searchGoButton": If I search for a term, it shows a mouseover-effect with Firefox and shows nothing with IE -- clicking this button produces a failure in IE (maybe a javascript-failure?) and nothing happens if I click the searchGoButton in Firefox. As I can see this button works at tatewake.com. Any ideas? --- //Wolfgang - 2007/09/06// ==== How to add another box under "navigation" and "toolbox"? ==== Open up the main.php file (make a backup too just in case) Look for this set of code more then half way down that page under the
:
Now paste this code under the two divs. You can also modify the lang files and create your own tag to control the sections name outside of the main.php file by putting this back in between the
tags.
I used this instead of the sidebar app since the ACL controls would take over my wiki. ==== How to have the CITE link work when using a customized Toolbox? ==== Can't succeed in creating this link in the toolbox, can someone paste here the necessary code? thanks. ==== Problem with table BORDERS? ==== * I am trying to install in my wiki a table like this (using DokuWiki-latest version and monobook-latest ) : ^Col4^Col5^Col6^ |3|one|25/12/2008| |4|two|10/12/2008| * but in my wiki the last line to the right in the last column after the "8" disappear ... a mean the whole border it is missing ..!! I don't know what is the style-cheat (CSS) or .php that is in change of parsing the "|" character that makes this tables. * Any help will be highly appreciated. * The old version of DokuWiki with the old-monobook still working...!! ... so I don't know which one to start looking for :-( , if there is any compare that I can perform to spot the error. (I know some basics about PHP and CSS) \\ Regards, \\ [[enrique_miranda@yahoo.com|Enrique Miranda ]] //(ps: I hope that is the place in your wiki for this general question)// ---- * **Found the solution**: My problem was my install using Ubuntu and Firefox somehow gets corrupted. Solved by reinstall the /home//.mozilla directory meaning: remove my directory then the next time I try to run Firefox its recreate the directory. ( of course I copy my bookmarks first , then after the install finished, include back my add-ons) ===== User Contributions ===== //Post your patches and code contributions here if you wish.// ==== "In other languages" ==== This file has been included with the main monobook download for some time, but I'm dropping it and will just link it here since it has remained unfinished. Also, I spent a lot of time getting the names of the languages right and did not want to delete the file. So here it is as a prototype for someone else to possibly finish: * {{:wiki:talk:projects:other.zip|In other languages 08-19-2006}} It does **not** work as a simple drop in, you will have to figure it out on your own. Also if you do use it, it will make your wiki much slower(which is why it was never enabled in any release.) I believe there is a better (and different way) to do "in other languages" support; this method isn't very good though. --- //[[tjgrant@tatewake.com|Terence J. Grant]] 08/19/2006 17:53// ==== Configurable logo ==== >Hi, > >I needed easy method for changing top left logo >(at least easier that changing files on server), so I made it configurable. >It's not a big change, but for me it make difference, so it would be >nice if you apply attached patch. > >Best regards, >Marcin Semeniuk diff -u -r -N monobook.org/conf/default.php monobook/conf/default.php --- monobook.org/conf/default.php 2007-05-23 08:59:40.000000000 +0200 +++ monobook/conf/default.php 2009-11-17 17:14:23.000000000 +0100 @@ -28,3 +28,4 @@ $conf['mb_author'] = "Anonymous Contributors"; +$conf['mb_logo'] = "lib/tpl/monobook/user/logo.png"; diff -u -r -N monobook.org/conf/metadata.php monobook/conf/metadata.php --- monobook.org/conf/metadata.php 2007-05-23 08:49:50.000000000 +0200 +++ monobook/conf/metadata.php 2009-11-17 16:51:48.000000000 +0100 @@ -27,3 +27,5 @@ $meta['mb_hbc_loc'] = array('multichoice','_choices' => array('top','bottom')); $meta['mb_author'] = array('string'); + +$meta['mb_logo'] = array('string'); diff -u -r -N monobook.org/lang/en/settings.php monobook/lang/en/settings.php --- monobook.org/lang/en/settings.php 2007-05-23 08:57:13.000000000 +0200 +++ monobook/lang/en/settings.php 2009-11-17 17:15:53.000000000 +0100 @@ -28,3 +28,4 @@ $lang['mb_author'] = "Author name in \"Cite this Article\":"; +$lang['mb_logo'] = "Link to image with logo:"; diff -u -r -N monobook.org/main.php monobook/main.php --- monobook.org/main.php 2008-03-12 22:45:40.000000000 +0100 +++ monobook/main.php 2009-11-17 17:05:07.000000000 +0100 @@ -123,7 +123,9 @@