From: Reini U. <ru...@x-...> - 2004-11-24 18:24:14
|
Pascal Giard (QC/EMC) schrieb: > > I like it. > > Sample buttons to insert a plugin or category. (Current CVS only) > > glad you like it :) > > > <?plugin WikiFormRich action=AppendText buttontext="AddPlugin" > > pulldown[] name=text value=<!plugin-list BackLinks > > page=WikiPlugin !> > > ?> > > > > <?plugin WikiFormRich action=AppendText buttontext="AddCategory" > > pulldown[] name=text value=<!plugin-list TitleSearch s=Category !> > > ?> > > hey, you're cheating! there's no support for pulldowns in the CVS's > version! ;) It is, it is, just added it. :) > btw, i noticed that the "break;" is still missing for hidden[]. That's the last so it doesn't need a break. > PS: this one includes fixes of sprintf usage... > i also noticed that you're add AppendText to the CVS after diong some > modif, i synch'd both, so here it is. The only "major" problem we have now is the "Go to ", HTML::em(WikiLink($pagename)), "." part, which should be translatable. sprintf("Go to %s.", HTML::em(WikiLink($pagename)) is forbidden. Only $link = HTML::em(WikiLink($pagename)); HTML::Raw(sprintf("Go to %s.", $link->asXml()); would work. >> if you have the patience to help me with some of my frustrations... >> here they are: - how do i cleanly redirect, with: "$request->redirect(WikiURL($pagename);" solved? >> - how to i render raw content the phpwiki way ? (e.g. transforming %%% into <br>, etc.) pass the HTML object into the tree. HTML::br(). or if must be a string pass it is HTML::Raw(). >> - how do i get a menu on the left without pulling my hair modifying the CSS for hours (i already wasted to much time on it, i now have a menu on the left using a modified Wordpress, but there are margin problems when there are <div> in <div> [e.g. plugins]). CSS is a horror. try theme=sidebar (from CVS, not from 1.3.10) This is quite ok. The MonoBook sidebar is not yet stable enough. (MSIE issues) Wordpress is limited. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ |