Extension talk:PageSidebar

Eaggel,

make sure there are not extra leading spaces when you copy the code for the page sidebar

...place standard sidebar wikitext here...

Hi,

try to use it, but it did not change the sidebar. what else extensions one some must have ?

Thanks --Eaggel 11:02, 19 April 2008 (UTC)
 * Did you follow the installation instructions? If you did, you must have installed Extension:StubManager and respected the version supported (I only validated this extension with 1.11 for now). Jean-Lou Dupont 11:15, 19 April 2008 (UTC)

Pagesidebar becomes first on left side
Hi, is there a possibility to make the pagesidebar the first one (see page)? Thanx

--Sigbert, 20:25 (MESZ), 18 May 2008
 * Not with the current version of the extension. Jean-Lou Dupont 00:07, 19 May 2008 (UTC)
 * Is it not sufficient to change in PageSidebar.body.php in line 100 the order in the array_merge? Sigbert 08:45 (MESZ), 19 May 2008
 * For a quick patch yes but I am not fond of patches. If and when I do this, I'll add the proper support for specifying the order as an attribute to the tag pagesidebar. Jean-Lou Dupont 12:39, 19 May 2008 (UTC)

magic words
is there anyway to include magic words or values from templates like into the page sidebar? i know it works for the normal side bar. Also is it possible to specify a constant name for the page sidebar section? thanks Redekopmark 06:03, 23 September 2008 (UTC)
 * Why don't you try it in my sandbox? Jean-Lou Dupont 10:28, 23 September 2008 (UTC)


 * thanks that helped abit I figured out how to name the section,(I must have been asleep last night when i looked at it, to have missed giving it your own name), however I wasn't able to get magic words/templates to work in it, I know for most other extenstion to use magic words you need to have use a format simmilar to I tried this on your sandbox and ended up with just a bunch of text onthe page whe I previewed it.  Is there any format like this? Redekopmark 18:44, 23 September 2008 (UTC)

Indentation
Would it be possible to make an indentation with the number of stars at the beginning? In a page I made two boxes "Fragebogenanalyse" and "Fragebogenkonstruktion", but actually "Fragebogenkonstruktion" could be an indented list in "Fragebogenanalyse". Thanx --Sigbert 13:01, 24 September 2008 (UTC)
 * Hi - can be done I am sure but at the moment I leverage Mediawiki's sidebar code to produce the page-level sidebar: if special formatting is required, then more work needs to be done I am not up for it unfortunately unless somebody comes back to me with some code I can readily integrate. Many sorry. Jean-Lou Dupont 12:51, 26 September 2008 (UTC)

Breaks
I tried to use &amp;shy; to give the browser good places in my sidebar entries to allow for breaks (see first entry in first box of the page mentioned in indentation). However, the sidebar does not react on it. Any help possible? Thanx --Sigbert 13:14, 24 September 2008 (UTC)
 * Breaks should work in the same way for this extension as with the standard sidebar. Jean-Lou Dupont 12:51, 26 September 2008 (UTC)

A new sidebar (topnavbar) request
First of all thank you for this extension and for the great idea. It would be really nice for me to adjust this extension not to add content to sidebar or replace it, but to add a new sidebar (maybe called topnavbar) that could be called from the different skins php files. That way i could manage better those two bars (one content dependent on top, the other fixed on one side) and add different css "look" to those links. Unfortunatly my knowledge of php, mysql and mediawiki variables is not so high enough that i could do this by myself. I was just able to manage css classes and the main php file of my skin (clean.php) just to double tha same sidebar:

...php foreach ($this->data['sidebar'] as $bar => $cont)... {

If i could call something like  data['topnavbar']  instead of  data['sidebar']  this would make that extension so nice for develepment of new skins with that new content dependent bar!

--Federicodip 16:12, 11 January 2009 (UTC)

Download
If someone does not like to install pear for downloading a simple tar.gz file: http://mars.wiwi.hu-berlin.de/mediawiki/pear/PageSidebar-1.1.0.tgz (downloaded with pear at 16 Sep 2009). --Sigbert 11:41, 16 September 2009 (UTC)