User talk:Barre/MediaWiki/Extensions/kw bread crumbs: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
No edit summary
No edit summary
Line 27: Line 27:


Has anyone gotten this to work for mediawiki 1.4rc1?
Has anyone gotten this to work for mediawiki 1.4rc1?
I've spent some time to try to get this working but I keep getting "database error" and "internal error".
I've spent some time to try to get this working but I keep getting "database error" and "internal error". there's no place on the net that talks about this, i've scoured every last webpage for a month already :(


Then I noticed that the version of this wiki:
Then I noticed that the version of this wiki:

Revision as of 22:28, 26 April 2005

Hey thanks Sebastien for you help with the trail, however your positioning description was a little confusing.

So I have saved the file kwBreadCrumbs.php into extensions folder and and entered include("extensions/kwBreadCrumbs.php"); into LocalSettings.php.

I want the trail to run along the top of the page like in your Wiki system. I have set $on_top_hack = 1; What does "use the tag anywhere in the page " mean?

Thanks in advance, really neat little idea. Also just in case you were wondering my wiki will not be going public. Its just a research project for university.

Ali.


It seems this extension was written in mind for the 1.3 series. I got the "Anywhere in the layout" part working for the 1.4 series. You need to add:

<div><?php echo kwBreadCrumbsTAL() ?></div>

into: <wikibasedir>/skins/MonoBook.php

This of course will limit this option to monobook, but i'm sure you could add it to your other skins as well.

Laner 16:28, 25 Apr 2005 (EDT)



Has anyone gotten this to work for mediawiki 1.4rc1? I've spent some time to try to get this working but I keep getting "database error" and "internal error". there's no place on the net that talks about this, i've scoured every last webpage for a month already :(

Then I noticed that the version of this wiki:

   MediaWiki (http://wikipedia.sf.net/): 1.3.0beta4 
   PHP (http://www.php.net/): 4.3.8-9 (apache) 
   MySQL (http://www.mysql.com/): 4.0.20-log

while mine is:

   MediaWiki (http://wikipedia.sf.net/): 1.4rc1 
   PHP (http://www.php.net/): 4.3.9 (apache2handler) 
   MySQL (http://www.mysql.com/): 3.23.58

this has got to be the reason why it isnt working for me...

Jctong 18:22, 26 Apr 2005 (EDT)