[pmwiki-users] Pagelist definition problem (fixed?)

Crisses crisses at kinhost.org
Fri Oct 6 09:52:56 CDT 2006


On Oct 6, 2006, at 10:31 AM, Patrick R. Michaud wrote:

> (:if expr ( ! equal "{Data-{=$BaseName}$:Work}" "{Data-{<$BaseName} 
> $:Work" ) \
>           || ( ! equal "{Data-{=$BaseName}$:WAuthor}" "{Data-{< 
> $BaseName}$:WAuthor") :)


fmt=#othercatlist

For the Other simile-related category pages.

[[#othercatlist]]
(:if expr ( ! equal "{Data-{=$BaseName}$:Work}" "{Data-{<$BaseName} 
$:Work}" ) \
           || ( ! equal "{Data-{=$BaseName}$:WAuthor}" "{Data-{< 
$BaseName}$:WAuthor}") :)
*   {Data-{=$FullName}$:Work} - {Data-{=$FullName}$:WAuthor} - {Data- 
{=$FullName}$:Year}
(:ifend:)
-->[[{=$FullName} | {Data-{=$FullName}$:Simile}]]
[[#othercatlistend]]


It still doesn't work -- even when I add the missing }'s.

I get a list in the right format, but the part I want to group on  
just repeats:



http://similepedia.com/index.php/Category/Period-20thCentury
http://similepedia.com/index.php/Category/Publisher-PenguinBooks


It doesn't work when I do it without the 2-part || so something else  
is wrong:

!!!fmt=#authorcatlist

For the Author category pages.

[@
[[#authorcatlist]]
(:if ! equal {Data-{=$FullName}$:WAuthor} {Data-{<$FullName} 
$:WAuthor} :)
*  {Data-{=$FullName}$:Work} - {Data-{=$FullName}$:Year}
(:ifend:)
-->[[{=$FullName} | {Data-{=$FullName}$:Simile}]]
[[#authorcatlistend]]
@]

gives:

http://similepedia.com/index.php/Category/Author-SteinbeckJohn

Crisses




More information about the pmwiki-users mailing list