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

Crisses crisses at kinhost.org
Fri Oct 6 06:44:31 CDT 2006



On Oct 6, 2006, at 5:44 AM, Crisses wrote:

> I'm trying to create a list that has a header for "Work" (book  
> title) & "WAuthor" (book author) -- of course it's possible that  
> two Authors wrote books with the same title -- and even more  
> possible that one author wrote many books.
>
> I want to change the section header every time the Work OR WAuthor  
> changes.  I just can't seem to get the syntax correct.
>
> Here's my latest try, but I've tried a bunch of other methods.
>
> [@
> [[#othercatlist]]
> (:if  (( ! equal {=$:Work} {<$:Work} )) || (( ! equal {=$:WAuthor}  
> {<$:WAuthor} )) :)
> *   {Data-{=$FullName}$:Work} - {Data-{=$FullName}$:WAuthor} -  
> {Data-{=$FullName}$:Year}
> (:ifend:)
> -->[[{=$FullName} | {Data-{=$FullName}$:Simile}]]
> [[#othercatlistend]]
> @]


It takes standing in the cold at sunrise to get it ;)

I might still need help with the syntax...

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

That still doesn't do it.

:/


Is this a current possibility even?   I can do different types of  
nested lists if needed....but it does seem this should be maybe  
possible maybe.....?

Crisses




More information about the pmwiki-users mailing list