[pmwiki-users] Cookbook recipeinfo box style explained

gb languefrancaise at gmail.com
Fri Feb 23 16:17:10 CST 2007


Schmidgall, David <david.schmidgall <at> superior-ind.com> writes:

> 
> 
> Can anyone explain 
> how the cookbook recipe box using the >><< syntax 
> below?
> 
>  
> >>recipeinfo<<Summary: Version: 
> Prerequisites:Status:Maintainer:Categories:Votes:>><<
> 
>  

Hello all,

I have almost same kind of question : I want to copy (and then adapt) the 
recipeinfo from pmwiki to my wiki.
At this time, I copy the code from cookbook groupheader to my group groupheader 
(%define=recipeinfo color=black background-color=#f7f7f7 border='1px solid 
#cccccc' padding=4px%) and the code from the recipe to my template
(>>recipeinfo<<
(...)
>><<)

But the result is not fine : I get not a list (each section in <div></div>) as 
Pm does but a juxtaposition of words.
In other words : I get this
Summary: Version: Prerequisites: Status: Maintainer: Categories: Votes:

where Pm gets this :
Summary:
Version:
Prerequisites:
Status:
Maintainer:
Categories:

I know the reason ; in the page source, summary, version,... are between div 
tags and mine don't.
Please, what is the solution to get a list like recipe info and not a single 
line ?

Thank you !





More information about the pmwiki-users mailing list