On 8/25/07, noskule <[EMAIL PROTECTED]> wrote: > hi list > I trying do build a pagelist like: > > *Category > ** SubCategory > *** SubSubcategory > > Pmwiki builds around every pagelist a div with the fpltemplate class. So > its not possible to build hirarchical list. Is ist somehow possible to > avoid the div, or if there is no real reason disable it in the core, > cause a surrounding div can be defined in the pagelisttemplate to? > > > Pagelists: > !!! #CategoryStructure > [@ > [[#CategoryStructure]] > (:template first:) > (:table:) > (:template each:) > (:cell:) > '''{=$Name}''' > (:pagelist link={=$FullName} fmt=#categorylist-1:) > (:template last:) > (:tableend:) > [[#CategoryStructureend]] > @] > > > !!! #categorylist-1 > [@ > [[#categorylist-1]] > * {=$Name} > (:pagelist link={=$FullName} fmt=#categorylist-2:) > [[#categorylist-1end]] > > !!! #categorylist-2 > [@ > [[#categorylist-2]] > ** {=$Name} > (:pagelist link={=$FullName} fmt=#categorylist-3:) > [[#categorylist-2end]] > > !!! #categorylist-3 > [@ > [[#categorylist-3]] > *** {=$Name} > [[#categorylist-3end]] >
You should only add the option: wrap=none to your related (:pagelist:) directives to get the expected result. -- Dominique _______________________________________________ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users