layout intact. So there are pros and cons, and I wanted to
provide a choice.
Hans
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
included a recipe script, whitespace.php,
because it is easier to include a script for a Group, and change the
whitespace handling for that group, than a bunch of markup code.
Hans
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http
.
Subsequent lines will be treated as part of the paragraph,
till an empty line occurs.
I put up a demo test page on my site here (editing locked)
where you can see some effects of the script:
http://softflow.co.uk/design/Test/WhiteSpaceTest
Hans
uploaded an update of whitespace.php
Could you please reinstall it, including setting
$EnableCodeWrap = 1;
I will change Site.PageActions, and put on the recipe page some
Sandbox text.
Thanks!
Hans
___
pmwiki-users mailing list
pmwiki-users
-- adding
the caret should fix that as well.
I want to change both leading spaces as spaces in between words etc.,
to preserve white spaces literally in text as well.
Hans
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http
.
How do I filter out the html tags though? I need to create a function
for this, and when(where) shall the spacing markup run then in the markup
translation table?
Hans
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com
that or if it is
possible.
Hans
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
which are not needed. But I have not investigated this.
Hans
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
Friday, March 16, 2007, 2:15:17 PM, Hans wrote:
I will try if I can redefine (:nolinebreaks:) markup to work with
whitespace.php
Just updated the recipe with support for (:nolinebreaks:) and
(:linebreaks:) markup
Hans
___
pmwiki-users mailing
nbsp;, because it will
allow breaks for line wrapping.
IE is supported with using nbsp; instead.
I used a very simple User Agent browser check, I hope that non-IE
browsers will not be filtered out as IE.
Please give me feedback if there are problems,
and comments as usual.
--
Best regards,
Hans
saved on a page. Or maybe we have
Hans
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
there's a huge demand for it.
That would be great and make it a lot friendlier to add the image to
the background style.
Hans
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
in the titlebar:
Main Test
TestPageTitle
and not
Main Test TestPageTitle
TestPageTitle
thanks!
Hans
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki
Sunday, March 18, 2007, 8:05:38 PM, Hans wrote:
just testing, and getting error:
Warning: Missing argument 1 for hgBreadCrumb()
function hgBreadCrumb($group,$name) { ...
Looking at it neither $group nor $name are used inside the function.
Since they are not used, and no argument is provided
. It may need some careful
bracketing.
Hans
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
as from Group
Hans
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
Sorry this went to the wrong list!!
Hans
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
.
their content may be inherited by pages in groups down the cluster
line (also called subgroups).
* Updated TriadTips page and Triad-Configuration page.
Please share feedback/comments.
--
Best regards,
Hans
___
pmwiki-users mailing list
pmwiki-users
://www.gnu.org/copyleft/gpl.html
Hans
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
but are
related in some manner to one. *-Talk and *-Comments pages are not
listed, but there are others for which it does not make much sense to
add an exclusion to the list.
Can they be excluded from listing by having a special category, like
Subpage? Or is there another way?
Hans
to me otherwise.
No more Cookbook add-ons.
All for recipeinfo
Hans
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
Tuesday, March 20, 2007, 9:15:01 PM, Hans wrote:
I'm thinking I'd like to replace the current cookbook page
with this one... any comments or suggestions?
Functional Extensions is not a (very clear) category.
It is a place for all kinds of recipes, of various categories.
I think it should
a set of
official categories. This may help a tendency to just invent new
ones.
Hans
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
.
Hans
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
extended conditional testing of
numbers.
I think to get pagelist to output a calenderlist format would be a
good step forward.
Hans
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
Monday, March 19, 2007, 10:49:10 AM, Hans wrote:
This is a major update to the Triad skin
http://www.pmwiki.org/wiki/Cookbook/TriadSkin
I fixed a bug in the rightbar detection for cluster support.
Update uploaded.
Hans
___
pmwiki-users mailing
Wednesday, March 21, 2007, 10:06:36 AM, Simon wrote:
I'd like to see IDs changed to classes where they are used in PmWiki itself,
except, as noted by Hans, where they are required for functionality.
which ids do you see need changing into classes?
Hans
Wednesday, March 21, 2007, 10:51:59 AM, Hans wrote:
Hans,
Thanks for this skin. It solved so many problems for my website.
I really hope PM considers to add some of your ideas to the core. Like
te popup-preview option. This makes the editing much more dynamic and
logical. But it would
. There should be no need for a calendar
markup, or function.
Hans
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
lines and white spaces from the end of page['text'].
Hans
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
.
Hans
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
a skin update to pmwiki.org.
Hans
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
focus=on as a parameter. I removed an onblur event in the code.
Now the term will stay in the box.
I uploaded a skin update to pmwiki.org
http://www.pmwiki.org/wiki/Cookbook/TriadSkin
Hans
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http
regards tables:
if your page content is not very high, then IE will put in extra space
above the content box (above the titlebar), presumingly to compensate.
On page in which the content is high enough there is no problem.
Hans
___
pmwiki-users mailing
be to copy the relevant code from the
PageListTemplatesSamples to Site.LocalTemplates (PmWiki automatically
includes pagelist formats from that page), then edit page Site.Search
and change (:searchresults:) to (:searchresults fmt=#teasers:)
That way it will be used for all search results.
Hans
Friday, March 23, 2007, 6:18:50 PM, Hans wrote:
There is a problem with IE regards tables:
if your page content is not very high, then IE will put in extra space
above the content box (above the titlebar), presumingly to compensate.
On page in which the content is high enough
Friday, March 23, 2007, 5:29:09 PM, Hans wrote:
If you skip a line and then add leading spaces at the beginning of the
next line, the space between them roughly doubles in the output. Is
there anyway this can be avoided?
I don't know.
The markup for leading white spaces whitespace.php uses
Page1 to Page2
will also change references to pages in other groups with name Page1,
since now the links will point to Group.Page2 instead. So that may not
be what you desired.
Hans
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http
Monday, March 26, 2007, 11:15:07 AM, Hans wrote:
It was Firefox falling over something, and it needed to be closed and
started fresh.
Something to do with session variables, I need to explore now further.
For information:
I was using
session_register($varName);
in a script
EditTemplate
function I can feed the var into the edit window for ?action=edit.
I seem to have to use session_start() ?
# get the processed post into a session variable
@session_start();
$_SESSION[FoxTempPageText] = FoxTemplateEngine($targetname, $fields, '',
$id);
Hans
\d)(\d\d)(\d\d)/,$pagename,$m);
if(!$m[1]) return $title;
$tdate = mktime(0,0,0,$m[2],$m[3],$m[1]);
return strftime(%d %B %Y,$tdate);
}
then put into the calendar GroupHeader page:
(:title {$DMYTitle}:)
Hans
___
pmwiki-users mailing list
, suggestions very welcome!
~Hans
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
Wednesday, March 28, 2007, 4:02:36 PM, malexism wrote:
It works. Just a little problem when submit, in the HomePage form and in
the Comment form, the post sent the user to the root of the web site...
can you explain this a bit? Is there a url to look at?
Hans
post a comment in an existant topic.
Thanks! There was a bad variable in the Fox form. I uploaded an
updated fox.php. Tell me if it works now. Please also check if delete
buttons work. I obviously need feedback from use on different systems.
Latest Fox version: 2007-03-28a
Hans
Thursday, March 29, 2007, 8:49:54 PM, Patrick wrote:
I've now done this as a recipe -- see
http://www.pmwiki.org/wiki/Cookbook/PagelistCount
Thanks!
will the count take into account any list= parameter?
I.e. list=normal fmt=count will disregard the pages normally not
listed?
Hans
Thursday, March 29, 2007, 8:54:17 PM, Hans wrote:
will the count take into account any list= parameter?
well it does say so on the page:
The fplcount.php? script adds a fmt=count option to
(:pagelist:), returning a simple count of pages in the list.
Hans
}:)
(:foxend addname:)
Hans
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
conditional to your local config:
# add conditional markup: (:if author AUTHORNAME:)
$Conditions['author'] = \$GLOBALS['Author']==\$condparm;
Hans
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
with the latest improvements like capacity to use
external(other recipe script) FilterFunctions and field substitutions
will make Fox a much better tool for all kinds of form processing.
Comments, suggestions, feedback most welcome!
~Hans
___
pmwiki-users mailing
}\n;
};
$AuthPromptFmt = array($HTMLStartFmt,
'page:$SiteGroup.AuthForm', $HTMLEndFmt);
You may need to adjust the div names in above css.
~Hans
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo
pages
in the site works well. (:noleft:) in the SideBar does not. It has to
be part of the main page (as GroupHeaders and AllGroupHeader are),
since it affects styles defined in the HTML head, which you can't do
from a sidebar.
http://www.pmwiki.org/wiki/Cookbook/AllGroupHeader
~Hans
realising it.
Anyway, so far my comments in the land of drafts. Not bad if you need
it. But more straightforward without.
~Hans
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
begins with Test:
$FoxNameFmt[] = 'Test*.*';
redirect=1 will redirect to the new page after the page was saved.
~Hans
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
{section2}
div3
{section3}
you can lay it out as you wish, with or without divs
Fox replaces {fieldname} markup with values entered in form fields of
name='fieldname'
The notes about $FoxNameFmt in previous mail etc. still applies.
~Hans
for PmWiki, or a good
choice for a form processing recipe for its field substitution
variables (basically doing something similar)?
~Hans
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
is the allowed name pattern for input field names?
~Hans
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
page section. Are there possible conflicts to be seen? Any better
markup for this?
~Hans
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
Monday, April 2, 2007, 9:31:06 PM, Hans wrote:
thanks! It is looking good. The change will be painful, as all
template pages and Fox forms need to be mended.
Sorry I did not mean this in a sarcastic way!
The new code is looking good, but changing existing installations will
be painful
Monday, April 2, 2007, 9:51:16 PM, Hans wrote:
[[{$$target}]]
is displayed as a link like this
{7magearget}
see http://www.pmwiki.org/wiki/Test/LinkTest
$$t becomes image inside [[ ]] links,
and other weird substitutions
~Hans
___
pmwiki
it could write then $page['passwdedit'], but Fox's code would need
to be modified.
But I think this modification may be too specialised.
And to create a general solution by adding a function hook into Fox
for doing stuff just before a page gets saved seems perhaps a little
risky.
~Hans
the word powerful it may mean high
security risk.
~Hans
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
, it is easier to spot substitution variables in the source text.
My apologies to Fox users who face extra work in this upgrade. I think
you will find it very worthwhile in the long run.
Please send your feedback, comments, questions etc. thanks!
~Hans
=normal:)
good.
There is no good way to make group={$Group} shorter?
I am not wanting any confusing shortforms, but
group={*$Group} seems to be the norm when I use group= and not trail=
or link=
~Hans
___
pmwiki-users mailing list
pmwiki-users
= RetrieveAuthPage($pagename, $FoxAuth, true);
as standard for all Fox's page reads, $FoxAuth being the permission
level set by the admin (ALWAYS,read,edit,attr, admin).
~Hans
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com
Tuesday, April 3, 2007, 3:39:51 PM, The wrote:
Currently, a person can use essentially the same template syntax { }
with forms in ADL, ZAP and FOX. Which is nice. If Hans changes to
{$$ } that will no longer be true. Not a big deal of course, but nice.
That's all I meant.
I have changed
for a new date function?
And I won't need
$string = preg_replace('/\\{\\(date\\s(.*?)\\)\\}/e',date(PSS('$1')),$string);
in Fox for timestamping a post? Or am I totally misunderstanding what
a {(date )} markup is used for?
~Hans
___
pmwiki-users
standard, and it's much easier to write things like:
{(date fmt=Today is %Y-%m-%d)}
than to write
{(date fmt=\T\o\d\a\y\ \i\s Y-m-d)}
Why do you want to put Today is into the markup, and not have it
outside: Today is {(date Y-m-d)} ?
~Hans
Tuesday, April 3, 2007, 2:52:12 PM, Hans wrote:
* Change from {date: ...} and {strftime: ...} syntax to new
{(function ...)} syntax, in line with a proposed future PmWiki
syntax for function markup.
I realised from the list discussion that I made a mistake here, and
have now changed the date
Wednesday, April 4, 2007, 5:19:29 PM, Hans wrote:
perhaps try
font-family:'Courier New', Courier, monospace;
for mono style.
Well testing this: it is still not quite right in Firefox.
Same as Lucida Console. And Lucida Console is a bit easier to read,
being sans-serif.
~Hans
to pmwiki.org
BTW the (:textarea ..:) markup is great, and I can have all input data
preserved, including textarea data, if Fox does an abort because of an
error.
I added friendly error messaging via (:messages:) to Fox too.
~Hans
___
pmwiki-users mailing
.
~Hans
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
Thursday, April 5, 2007, 4:27:53 PM, The wrote:
Sure, I've been doing it for ages.
See http://www.fast.st/zapbeta/pmwiki.php?n=Snippets/MagicBoxes
sorry this does not explain much.
~Hans
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
'; is set otherwise in pmwiki.php.
hope this helps a little, even though it does not solve the mystery!
~Hans
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
and request!
~Hans
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
. into cookbook/ and pub/ and creating a subfolder
in each.
You got any thoughts or advise on this?
Hans
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
Monday, April 9, 2007, 10:18:41 AM, Hans wrote:
Maybe all I am missing is some tricks how to construct a zip archive
with the correct path information for all files, which can unzip into
several folders, i.e. into cookbook/ and pub/ and creating a subfolder
in each.
I like Hagan's package
cookbook/package folder, I think.
~Hans
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
will get
used to it, but it doubles the work and ther eare possibilities of
errors due to forgetting synchronising some part of the recipe.
~Hans
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki
a light grey shading). Colour
styles will still be applied automatically if you use Gemini, FixFlow
or Triad skins.
See http://www.pmwiki.org/wiki/Cookbook/Fox
http://www.pmwiki.org/wiki/Cookbook/ForumX
http://www.pmwiki.org/wiki/Cookbook/GuiButtons
~Hans
just
about any date-and-time formatting issue that I can think of
to throw at it.
From looking at the sandbox page: why does now produce
now:April 11, 2007, at 12:00 PM
and not the present time? Should it not always show the actual time
the page is opened?
~Hans
Wednesday, April 11, 2007, 6:43:14 PM, Patrick wrote:
Any chance you happened to view the page at exactly 12:00 noon? :-) :-)
I just looked at the page, and it now says:
now:April 11, 2007, at 12:37 PM
you are right! Egg in my face!
Great work Pm!
~Hans
Where do I read up on nesting of divisions using div markup?
~Hans
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
if deep nesting levels are needed one can also use (:div1:) etc
inside ... divs. Or use the numbers inside the ..., as the
third proposal.
So I vote for both 1 and 3 together, but against 2.
~Hans
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
delete link.
~Hans
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
building of pagelist
templates easier, if I remember rightly from previous user-list
discussions.
~Hans
___
pmwiki-users mailing list
[EMAIL PROTECTED]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
.
It needs to go into the head section of your skin's template .tmpl
file.
also while on the subject.. is it possible to do a if on browser type?
(:if browser IE:) Get Firefox (:else:) You made the right choice (:if:)
No. Not yet anyway.
~Hans
this into the footer, but
only show it conditionally for someone (me) logged in as admin.
you can even see it on pmwiki.org, scroll down to footer:
http://www.pmwiki.org/wiki/Main/HomePage?skin=triad
~Hans
___
pmwiki-users mailing list
[EMAIL PROTECTED
:)(:if:)
[[#recentchanges]]
(:if:)
This could be styled nicer still with added classes, and the fmt
definition could go into Site.LocalTemplates.
When I tested it {=$LastModifiedSummary} did not give any output.
Did I miss something?
~Hans
___
pmwiki
/NewRecentChanges
~Hans
___
pmwiki-users mailing list
[EMAIL PROTECTED]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
to
it.
~Hans
___
pmwiki-users mailing list
[EMAIL PROTECTED]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
for those links
which need the added class attribute. The category link markup is
a nice example for a more specialised link. See scripts/stdmarkup.php
~Hans
___
pmwiki-users mailing list
[EMAIL PROTECTED]
http://www.pmichaud.com/mailman/listinfo/pmwiki
in a locol config file:
$HTMLPNewline = 'br /';
~Hans
___
pmwiki-users mailing list
[EMAIL PROTECTED]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
Friday, April 13, 2007, 1:45:09 PM, Hans wrote:
Install the new MarkupExpressions recipe
http://www.pmwiki.org/wiki/Cookbook/MarkupExpressions
and use {(substr {$ScriptUrl} 12)}
should be: {(substr {$ScriptUrl} 11)}
the are necessary, and the string character count starts with 0
Friday, April 13, 2007, 1:52:20 PM, Hans wrote:
should be: {(substr {$ScriptUrl} 11)}
Side note:
{$ScriptUrl} on its own is rendered as a link.
Stripping the initial http://www. will render as text.
Bracketing the markup expression
[[{(substr {$ScriptUrl} 11)}]]
will render as link
Friday, April 13, 2007, 1:58:22 PM, Hans wrote:
Side note:
{$ScriptUrl} on its own is rendered as a link.
Stripping the initial http://www. will render as text.
Bracketing the markup expression
[[{(substr {$ScriptUrl} 11)}]]
will render as link, but to some wiki page, most likely
non
on that page are becoming superceded with the new
markup expressions
~Hans
___
pmwiki-users mailing list
[EMAIL PROTECTED]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
topic stored on same topic page.
ForumX:
* Each post is stored on a separate page, sharing the same name as the
topic name plus a suffix number.
Please note that all this is still in beta development.
As always please send your comments and suggestions! Thank you.
~Hans
of the shifts, so records the entire page twice for every
new post added.
I know we talked about this before, and there was no solution then.
I wonder though if any recommendations could be given, i.e. perhaps to
limit the page history. What may be reasonable?
~Hans
Site.PageListTemplates.
In the past there was a problem with this for the first and last page.
Has this been resolved?
~Hans
___
pmwiki-users mailing list
[EMAIL PROTECTED]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
see http://www.pmwiki.org/wiki/Cookbook/DynamicTrails
~Hans
___
pmwiki-users mailing list
[EMAIL PROTECTED]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
101 - 200 of 1949 matches
Mail list logo