[pmwiki-users] disable pagelist css tyle fpltemplate

Dominique Faure dominique.faure at gmail.com
Sat Aug 25 16:50:38 CDT 2007


On 8/25/07, noskule <noskule at gmx.net> 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



More information about the pmwiki-users mailing list