Hans,
The following markup is appending a newline that I don't think it used
to append:
(:fox shoutbox put=top target={$FullName}:)
(:input textarea class=shoutbox shoutText value='' cols=30 rows=2:)
(:input submit post Enter:)
(:foxtemplate {$$shoutText}[[]]:)
(:foxend shoutbox:)
If I enter
Thursday, April 24, 2008, 7:15:35 AM, Randy Brown wrote:
The following markup is appending a newline that I don't think it used
to append:
Thanks! Now fixed.
I did change the handling of new lines two updates ago,
to improve replacements in sections, and I missed
this undesired behaviour with
Unit testing is creating automated regression tests so that you can
tell immediately when you've introduced a bug in your code.
Ten years ago, I used to use Eclipse to unit test my Java code.
Has anyone out there figured out a way to do unit testing for your
pmwiki markup code? If so, what
Hi all,
Is it possible to either alter markup or create new markup for PTV's. It would
suit my purposes if I could define a PTV thus:
PTV (Value)
{$:PTV} would then display Value?
DaveC
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
You can use class in table:
(:table class=indent border=1 cellpadding=5 cellspacing=0:)
In your case you should add new class for second level
.indent2 { margin-left:80px; }
and then use
(:table class=indent2 border=1 cellpadding=5 cellspacing=0:)
Roman
On Thu, Apr 24, 2008 at 12:49 AM,
Isn't it sufficient to use local customization, i.e. put
$EMailFormAddresses['feedback'] = '[EMAIL PROTECTED]'
$EMailFormDefaultSender = '[EMAIL PROTECTED]';
to
local/groupnamepagename.php ?
Roman
On Wed, Apr 23, 2008 at 10:46 PM, [EMAIL PROTECTED] wrote:
I asked this question last week end
Has anyone out there figured out a way to do unit testing for your
pmwiki markup code? If so, what tool do you use?
I would be *VERY* interested in something like this. Currently I just have
dozens of pages in a wikitrail with expected output hardcoded followed by
the actual markup. I have
Has anyone out there figured out a way to do unit testing for your
pmwiki markup code? If so, what tool do you use?
I would be *VERY* interested in something like this. Currently I just have
dozens of pages in a wikitrail with expected output hardcoded followed by
the actual markup. I have
Is it possible to either alter markup or create new markup
for PTV's. It would
suit my purposes if I could define a PTV thus:
PTV (Value)
{$:PTV} would then display Value?
There is currently a definition of $PageTextVarPatterns like this in
pmwiki.php:
===(snip)===
$PageTextVarPatterns =
I don't know how often people have need for a nested conditional, but I've
put together a recipe that supports it. You can find it here:
http://www.pmwiki.org/wiki/Cookbook/NestedIf
It uses markup in this form:
(:n-if true:)it is true(:n-if false:)it is false(:n-else:)it is not
Thursday, April 24, 2008, 2:24:43 PM, Peter Melodye Bowers wrote:
PS I don't think much of the way this looks in terms of being understandable
and intuitive. (That's why I've offered so many alternatives - in hopes of
finding one that looks right.) If somebody has a better idea on the
On Thu, 24 Apr 2008 12:12:21 +0200
Roman [EMAIL PROTECTED] wrote:
Isn't it sufficient to use local customization, i.e. put
$EMailFormAddresses['feedback'] = '[EMAIL PROTECTED]'
$EMailFormDefaultSender = '[EMAIL PROTECTED]';
to
local/groupnamepagename.php ?
I knew about group
Peter Melodye Bowers pbowers at pobox.com writes:
Is it possible to either alter markup or create new markup
for PTV's. It would
suit my purposes if I could define a PTV thus:
PTV (Value)
{$:PTV} would then display Value?
There is currently a definition of $PageTextVarPatterns
Try adding this to your config file:
$PageTextVarPatterns['var (...)'] =
'/^(\\s*(\\w[-\\w]*)\\s*\\()(.*?)(\\))/m'
Haven't tested it, but that ought to work.
Remove the ^ if you'd like to match things in the middle of a line as
well as at the beginning of one.
eemeli
On 24/04/2008, Dave
hi list
is it somehwo possible to ad style information to a select option. I
would like to build a color chooser, something like:
(:input select color red stype=background-color:red:)
(:input select color green stype=background-color:green:)
(:input select color blue
It probably happens to be an old question, or a very naive one, but:
is it now possible to have sortable tables in pmwiki?
I just built a (not finished yet) table of that kind in wikipedia, and
it proves quite easy to write (while extremely useful for readers,
which is the key point).
What about
I just built a (not finished yet) table of that kind in wikipedia, and
it proves quite easy to write (while extremely useful for readers,
which is the key point).
Jut to be complete http://it.wikipedia.org/wiki/Fisarmonica#Centri_di_produzione
Luigi
I found this thread
http://article.gmane.org/gmane.comp.web.wiki.pmwiki.user/42024
I also used that jquery script, and it's really a good, compact and
reliable tool.
Maybe it could be used for some pmwiki recipe.
Luigi
___
pmwiki-users mailing
It would be an add-on. Here's the javascript:
http://en.wikipedia.org/skins-1.5/common/wikibits.js (search for
sortable) (found in the source of the page that you referenced)
Here's the author's source:
http://www.joostdevalk.nl/code/sortable-table/ (taken from the wikipedia
javascript
It probably happens to be an old question, or a very naive one, but:
is it now possible to have sortable tables in pmwiki?
I just built a (not finished yet) table of that kind in wikipedia, and
it proves quite easy to write (while extremely useful for readers,
which is the key point).
What
Thursday, April 24, 2008, 2:24:43 PM, Peter Melodye Bowers wrote:
PS I don't think much of the way this looks in terms of being
understandable
and intuitive. ...
Would it be possible to create if markup similar to the div markup,
which accepts digits after the 'if' which act as
Luigi (quoting DaveG):
http://motherrussia.polyester.se/docs/tablesorter/
Sameer:
I am using the javascript and the method indicated towards the end of this
page:
http://www.pmwiki.org/wiki/PITS/00388
Henrik
Here's the javascript:
http://en.wikipedia.org/skins-1.5/common/wikibits.js
Luigi,
http://www.joostdevalk.nl/code/sortable-table/ is dead easy.
1. Download the javascript file from the above link (right click, Save
Link As... on Just the script, unzipped (9kb)
2. Upload that file to your server, to wiki/pub/sortable/sortable.js
3. Create a file called
On Thu, Apr 24, 2008 at 05:13:49PM +0200, Peter Melodye Bowers wrote:
Thursday, April 24, 2008, 2:24:43 PM, Peter Melodye Bowers wrote:
(:if1 :)
...
(:if2 :)
(:elseif2 :)
...
(:if2end:)
(:elseif1 ...:)
...
(:if1end:)
This will make it much
To get the effect of the alternating colors, modify
Experments.Sortable.php to this:
?php
$HTMLHeaderFmt['sortable'] = 'script type=text/javascript
src=pub/sortable/sortable.js/script
style type=text/css
.even {
background-color:#ccc;
}
.odd {
background-color:white;
}
/style';
Henrik
After following the thread on sorting the tables, I went to your website,
and saw:
http://testwebsite.bechmann.ca/wiki/wiki.php/Site.SiteMap?sitemapoption=foldersname=FrontPage
for the sitemap. How do you do the sitemap options?
--
Thanks
http://www.911networks.com
When the network has to
The options are written into the GET url with forms -- see
http://testwebsite.bechmann.ca/wiki/wiki.php/Site.SiteMap?action=source
Note that I have request=1 in
(:pagelist list=sitemap fmt=#sitemap name={$DefaultName} request=1:)
which causes any url query parameters to over-ride pagelist
...I'm now adopting this markup and approach as a PmWiki
CoreCandidate and planning to add it into the core. I will
probably try to do this today or over the weekend. Others are
welcome to implement something like it in recipes, but just be
aware that PmWiki should have its own
Mark Trumpold wrote:
Hi All
I have two questions to dtart with.
1. My class was edting the same page but under the section edit. What
was strange was that when they went to save it would save but the stuff
the others were writing did not save. Any ideas?
Were they editing it at the
After quite a bit of messing around I finally did get it to work sing
Cookbook/FlashMediaPlayer.
Thank you for pushing me in the right direction.
At 05:51 AM 4/23/2008, you wrote:
Mailinglists a écrit :
... Is there anybody on the list who has setup a working example that we
could take a
Still doesn't work! I've now got at the end of my local/config.php
$TotalCounterBlacklist['Users'] = 'User1,User2';
$TotalCounterBlacklist['Locations'] = '62.254.xxx.xxx';
$TotalCounterBarColor = '#B983F4';
$TotalCounterAuthLevel = 'edit';
include_once('cookbook/totalcounter.php');
The others
I am going to try to sell pmwiki to my faculty as a better way to handle
our whole web-site (rather than just an add-on wiki section) at an upcoming
meeting. One of the most important issues for them is the look and feel
of it. Understanding that this is a very subjective issue, would it be
On Thu, Apr 24, 2008 at 3:14 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
http://www.joostdevalk.nl/code/sortable-table/ is dead easy.
Your're quite right!
I drafted a (sort of) recipe for this
http://pmwiki.org/wiki/Cookbook/SortableTables
As soon as my children are in bed (it might
Roman,
First, thank you! I use a slightly modified version of the monobook theme.
I added the line .indent2 { margin-left:80px; } to the end of the
monobook.css, actually renamed mononei.css. Thereafter I put the
class=indent2 into the table declaration, e.g.
(:table class=indent2
hi
i'm having trouble getting a 'delete page' action to work (as
described on http://www.pmwiki.org/wiki/Cookbook/FoxPageManagement).
i created a page on my main site (let's called it GroupOne/Blah), and
as a test i am trying to delete it with the page action provided in
the fox
http://www.kryogenix.org/code/browser/sorttable/
It works beautifully, and took about 5 minutes to get worked into a plugin.
...which you're ready to share...?
Did you code anything out of that, or just copied and pasted the javascript?
And how, please?
Henrik's advice worked really
1. as a wikistyle - put
$WikiStyle['indent2']['margin-left'] = '80px'; to your config.php
or
2. as a CSS style - put .indent2 { margin-left:80px; }
to your CSS (pmwiki.css or other file depending on your skin)
I prefer second option.
Thank you.
I have an input box in my sidebar through which people can enter chat
messages. The text is saved on a page, and the most recent lines
appear below the box in the sidebar. Unfortunately, you only see each
person's response when you manually refresh the page.
Maybe there is a way to put in
38 matches
Mail list logo