[pmwiki-devel] $SimpleTableDefaultClassName

Simon nzskiwi at gmail.com
Wed Sep 15 16:19:15 PDT 2021


Thanks very much
the only place  $BlockMarkups appears in any PHP file in this wiki is in
pmwiki.php

It's very odd, because if I add
||width=*
as the first line to my simple table, I see
<table width="*" class="wikisimpletable">
(example <https://ttc.org.nz/pmwiki/pmwiki.php/FixtureCard/2022Hanmer>)

If I remove that line its reverts to
<table width="100%">

nhā mihi

Simon

On Wed, 15 Sept 2021 at 22:24, Petko Yotov <5ko at 5ko.fr> wrote:

> Yes, I can confirm it works as documented, you can set the default
> simple table to any class name.
>
> Check for interference by some local customization or recipe, I'd look
> for:
>
>    $BlockMarkups['table']
>
> Petko
>
> On 15/09/2021 12:07, Simon wrote:
> >
> https://www.pmwiki.org/wiki/PmWiki/LayoutVariables#SimpleTableDefaultClassName
> >
> > Could someone please tell me if this is working when you add
> > $SimpleTableDefaultClassName [1] = "wikisimpletable";
> > to config.php.
> >
> > I'm not seeing any change to the markup, just the same '<table
> > width="100%">' from simple table markup, viz
> > || my simple table ||
> >
> > thanks
> >
> > Simon
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-devel/attachments/20210916/09f2b329/attachment.html>


More information about the pmwiki-devel mailing list