My Gila


Filed in: Skins.Maguila-Talk · Modified on : Sat, 21 Nov 15

Go back to Maguila.

Put your name and date at the end of your post or question.

The skin Maguila throws warnings on php 5.5 due to the deprecated /e switch in preg_replace(). To fix this change

Markup('searchbox', '>links',
  "SearchBox2(\$pagename, ParseArgs(PSS('$1')))");


Markup_e('searchbox', '>links',
  "SearchBox2(\$pagename, ParseArgs(PSS(\$m[1])))");

Kurt - 2015-Nov-21

Validation of generates two errors:

Line 116, Column 6: end tag for element "p" which is not open


Line 299, Column 11: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified

<br clear=all />

They are generated by the skin code itself. Could you please correct the following lines:

maguila.php:354:  </p></form>";
maguila.tmpl:81:<br clear=all />


maguila.php:354:  </form>";
maguila.tmpl:81:<br clear="all" />

Thanks! - moisesbr March 27, 2015, at 01:22 PM

I saw that this question was asked previously, but I cannot figure it out. I would like to hide the title on all pages on my wiki with this amazing template, how EXACTLY do I that? I read to use "SetTmplDisplay('PageTitleFmt',0)" but I'm not sure where that goes. Can someone help me out please? I really have fallen for this template, but I would like to have the page title that "Filed in" information stripped from each page. Thanks! - Ben

Hi Ben, you just have to edit a page for that, the name is: Site.PageBar . CarlosAB March 31, 2012, at 04:12 AM

I like this skin a lot. Good job - Keep up the great work!

  • I can't get the "Home" links to work...any help?
  • Thank you I'll keep on doing it. Do you mean the logo link? You just have to edit the maguila.php file ( line 52 ) and include $ScriptUrl with the other global variables. It will be fixed for the next version. CarlosAB

Hello, I've been working with this skin for a bit now. I'm wondering, how do you set a particular layout for all pages in the wiki? For example, if I want to only show the right sidebar for all wiki pages. Thanks--S.Opal

Did you try to use (:noleft:) skin directive inside YourGroupName.GroupHeader and if you want this to work for the intire site you can use the recipe All Group Header. CarlosAB

Hi, I've just updated from some old version of Beeblebrox to the current version of Maguila. Unfortunately after the update several references in one line don't work in the (left) sidebar anymore. My code was something like this:

With the new version the two references get broken up into 2 lines. Does anyone have an idea, how to avoid that? TIA, Rod

Can I take a look at your site? CarlosAB March 20, 2008, at 06:29 PM

Hi, the data on the site is quite private, that's why I don't wanna give you access to it. Are two screenshots enough? If not I'll find another way. Ok, let's give it a try:

Version with Beeblebrox, after editing the left sidebar:

[(approve links) edit diff]

Version Maguila, exactly the same except the skin:

[(approve links) edit diff]

As you can see, the superscript works in both versions in the main area, but not in the sidebar. The code is:

* [[Main/HomePage]][[Main.HomePage?action=edit|'^edit^']]
* [[Main/HomePage]]'^[[Main.HomePage?action=edit|edit]]^'

If tried several versions, none of them work.

Best, Rod

Rod, that is the way it is supposed to work, but you can change that. Look at maguila.css for :

div#wiki-left a.createlink, div#wiki-right a.createlink{

CarlosAB June 18, 2008, at 04:50 PM

I'm pretty sure this is a dumb question but I can't find the answer. I have switched over to this script and I love it. Most of my pages already have a title so I don't want the title generated by the script. I know I can add (:notitle:) to the page markup and it is not shown, but I don't want to do this to the 600 pages I have in my Pmwiki!

So, what is the command for the config.php that will turn off the title for ALL pages?

Thanks very much!

Doug Force

I think that must be:


CarlosAB June 18, 2008, at 04:50 PM

PERFECT! Exactly what I was looking for - this skin rocks, makes my site look great and your example turned off the auto page title stuff. Wonderful! Thanks SO much. Postcard on the way! :)

Doug <<<<<<<

Well, you should thank everybody else too, specially Pm, but If you want to send a post card, I won't say no because this is my first time receiving one. :)

Thank you too.

CarlosAB June 21, 2008, at 11:40 PM


Great skin, but anchors are working strangely for me. When I click on an active anchor, I am sent to the spot on the page, but the rest of the page "disappears"; the page becomes only as big as from the anchor spot to the end. So I cannot scroll up to the top, and I usually lose the side bars (since I anchor for text that is far down the page). Any ideas?

- Braden

Hi Braden, can you give me a url to your site and also the browsers you are using. T

CarlosAB September 19, 2008, at 12:18 PM

Braden, there is a bug for this type of layout that I wasn't aware of, I couldn't solve it for firefox and some internet explorer versions, but I'll work on it for the next version. There are a couple of solutions that don't work for all browsers but could be tested.

Here is the link for those solutions.

anchor problems

Braden and CarlosAB: I ran into this problem today and decided to try and fix it. I found a reference to the problem from 2006 that provided the solution, at least for Firefox. The fix is to change the large padding from the bottom to the top in MacIE5 filter. In other words, change this:

/*Mac IE5 filter \*/
div#grid-main, div#grid-left, div#grid-right {
    padding-bottom: 32767px !important;
    margin-bottom: -32767px !important;

to this:

/*Mac IE5 filter \*/
div#grid-main, div#grid-left, div#grid-right {
    padding-top: 32767px !important;
    margin-top: -32767px !important;

Other large margin/padding settings were not changed from bottom to top. Only this one. This fix has not been tested with anything other than Firefox 3.0.4 on Fedora 9 Linux, however. The reference noted that this might not work if the large padding/margin is to make equal column lengths, but as far as I can tell this fix has no ill effect on tested platform.

[(approve links) edit diff] - December 14, 2008

Hi, I used the AllGroupHeader recipe to get rid of the right bar. It worked, except it didn't seem to affect the Site.ActionBar page, so when clicking on Search or History the right bar would still be there... I'm not sure if I did something wrong or if this is a bug.../Johan Bengtsson

Hi Johan, first a few questions so I will be able to help you better:

  • What is the pmwiki version you are using?
  • What are the browsers you are using?
  • Can I take a look at your site?
  • How did you used AllGroupHeader and which directives have you put inside it?

CarlosAB September 19, 2008, at 12:48 PM

Hi Carlos, I'm sorry for taking so long to reply, I came up with a workaround for the problem. I'm not using/working with the problematic wiki at the moment, it looks like it will not be used. The pmwiki version I was using was pmwiki-2.1.27. I'm using mainly firefox and konqueror, the problem showed up in both browsers.

Right now it's configured like this:

$GroupHeaderFmt =
  '(:include {$Group}.GroupHeader {$SiteGroup}.SiteHeader:)(:nl:)';

The AllGroupHeader file just have one line with (:noright:) in it. The workaround I came up with was to put a line with (:noright:) at the top of Site.ActionBar.

-Johan Bengtsson 2009-01-17

One more thing: I just removed (:noright:) form the Site.ActionBar and the problem is now visible on the site again. Just click on "Bifoga" and the right bar will show up again even though it shouldn't...

-Johan Bengtsson Sat Jan 17 20:26:55 CET 2009

Hi Carlos, I have a problem with the sidebar. I am using the current latest version of pmwiki and your latest maguila skin. How can I make the left sidebar not editable by all users?

Sehr schönes Layout,

nur hängt leider auf einem Windows Phone 7 der erste Buchstabe der Menüspalten aus dem Bildschirm heraus.
D.h. er wird abgeschnitten und ist nicht oder nur zur Hälfte sichtbar.
Betrifft ebenfalls die rechte Menüspalte.
Hier der PrintScreenΔ zum Problem.

Gruß. Tom. Oct 04, 2012, at 11:20 AM

Talk page for Maguila (users).

Powered by PmWiki