[pmwiki-users] Wikiform - empty fields, numeric type, page names
Andreas Mühlhausen
andreas at diemuehlis.de
Sun Dec 11 08:33:24 CST 2005
Hi all,
I have some questions about the wikiforms.
1) I use the following WikiFormCSS.php - yes, I have renamed it on the
actual website:
<?php if (!defined('PmWiki')) exit();
if (preg_match('/[.\\/]\\d{5}$/',$pagename)) $HTMLStylesFmt['form'] = "
#wikitext dt { float: left; margin-right: 0.2em; font-weight: bold; }
#wikitext dt:after { content: ':' }
#wikitext p { margin-left: 40px; }";
?>
Everything works fine unless a field in the form is left empty. The
result is, that all headdings of empty fields are in one single line. As
I'm not very familiar with style sheets it would be very nice, if you
can give me a hint, what went wrong.
2) Is it possible to define a numeric field type, because I want to use
a numeric ordering in the (:wikilist:)?
3) Is it possible to replace the numeric pagename with the contents of a
field?
Thanks alot,
Andreas.
More information about the pmwiki-users
mailing list