[pmwiki-users] FW: NOT Re: Solved myself FW: error inAdvancedTableDirectives
Peter K.H. Gragert
p.k.h.gragert at skyaccess.nl
Sat Apr 28 00:48:01 CDT 2007
OK, the version of today (070428) has
FmtPageName($TableCellAttrFmt,'');
The yesterday version the ,'' was missing ...
I am just busy to 'understand' PmWiki ..., so if this is the way it should
be, I have to understand ... (and I will!).
Have a nice day
Peter
> -----Oorspronkelijk bericht-----
> Van: pmwiki-users-bounces at pmichaud.com [mailto:pmwiki-users-
> bounces at pmichaud.com] Namens JB
> Verzonden: vrijdag 27 april 2007 17:24
> Aan: pmwiki-users at pmichaud.com
> CC: pmwiki-users at pmichaud.com
> Onderwerp: [pmwiki-users] NOT Re: Solved myself FW: error
> inAdvancedTableDirectives
>
> > Easy solution
>
>
>
> The "Easy solution" might not be the right solution.
> This part of AdvancedTableDirectives was mirrored after
> the way PMWiki did it. Either something changed in PMWiki
> or I goofed up. It always worked flawlessly on my server.
> I just upgraded ATD to version 3.1.
>
> I changed the function calls to look the way PMWiki does it:
>
> FmtPageName(@$TableCellAttrFmt, '')
> FmtPageName(@$TableRowAttrFmt, '')
>
>
> So try installing the newest version and see if that helps.
>
> My ATD test area is at
>
> http://gnuzoo.org/test/AdvancedTableDirectives
>
>
> Thanks
>
>
> John
> http://gnuzoo.org/
>
>
> > Easy solution
> >
> > In AdvancedTableDirectives
> >
> > function AdvancedTableDirectives($name,$attr) {
> >
> > global $pagename; //<<ADD
> >
> > And add on all three FmtPageName $pagename as a second parameter
>
>
> > First:
> > I just downloaded and installed AdvancedTableDirectives.php and I get a
> > warning: Warning: Missing argument 2 for FmtPageName(), called in
> >
> C:\WWW\xampp\htdocs\pmwiki-2.2.0_44\cookbook\AdvancedTableDirectives.php
> on
> > line 191 and defined in C:\WWW\xampp\htdocs\pmwiki-2.2.0_44\pmwiki.php
> on
> > line 678
> > in AdvandedTableDirectives.php:
> > $attr = MergeClassAndAppendAttributes($attr,
> > FmtPageName($TableCellAttrFmt));
> >
> >
> > In pmwiki.php:
> > function FmtPageName($fmt, $pagename) {
> >
> > Meaning the error/warnig is correct.
> >
> > Second:
> > How to find out if this is already known or discussed?
>
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
More information about the pmwiki-users
mailing list