[pmwiki-users] Deprecated error after upgrade to version 2.3.11

2022-09-15 Thread Hans-Jürgen Godau
After upgrqading pmwiki to vs. 2.3.11 i got the error *Deprecated*: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in */home2/godau/public_html/valentin/wiki/pmwiki.php* on line *75* My installed php Version is 8.2*. *I changed line 75 from

Re: [pmwiki-users] Using imagemap.php with php8.x

2022-06-24 Thread Hans-Jürgen Godau
rade : https://www.pmwiki.org/Upgrades > > > На 22/06/2022 15:02, Hans-Jürgen Godau написа: > > While using imagemap.php from the cookbook I had to change the code > > because of Warnings/Errors shown by php: > > > > --- imagemap.php 2022-06-21 17:42:57.389642705 +02

[pmwiki-users] Using imagemap.php with php8.x

2022-06-22 Thread Hans-Jürgen Godau
While using imagemap.php from the cookbook I had to change the code because of Warnings/Errors shown by php: --- imagemap.php 2022-06-21 17:42:57.389642705 +0200 +++ imagemap.php.new 2022-06-22 13:47:31.360706020 +0200 @@ -49,17 +49,22 @@ Markup('area', 'directives', "/\\(:area

Re: [pmwiki-users] Undefined array key "title" in .../grouptitle.php - in PHP8

2022-02-20 Thread Hans-Jürgen Godau
I just would try using the line *if (array:key:exists('title',$page) && $page['title']) { return $page['title'];* I think in php 8 a non existing key throws this Warning! Greetings, jürgen Am Sa., 19. Feb. 2022 um 11:28 Uhr schrieb Jean-Patrick Charrey < jpchar...@free.fr>: > Hi > > I have

[pmwiki-users] New warnings with php 8.1.2

2022-01-26 Thread Hans-Jürgen Godau
Today I got a number of deprecated error messages in my pmwiki after setting up php to version 8.1.2 on arch linux. There seem to be new warnings in case of unset parameters to preg_repalce, strlen or strncmp. That happens for examplin pmwiki.php: Passing null to parameter #3 ($subject) of type

Re: [pmwiki-users] ABC tunebook

2019-12-12 Thread Hans-Jürgen Godau
be played? > > > > Regards > > > > Dave Cooke > > > > *From:* Hans-Jürgen Godau > *Sent:* 19 July 2019 15:34 > *To:* David Cooke > *Cc:* PMWiki > *Subject:* Re: [pmwiki-users] ABC tunebook > > > > I use abctunebook. I made some mods to cope wi

Re: [pmwiki-users] Fox forms and notify issues

2019-11-20 Thread Hans
If it carries on to FoxProcessTargets> and more and finally to SAVE PAGE, then you got the configuration wrong somehow. Best regards, Hans ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Re: [pmwiki-users] Fox forms and notify issues

2019-11-19 Thread Hans
your fox markup. > * Duplicate email sent: > > When a form is created, I'm receiving two email messages. I have a > single entry in the EMailList: >notify=comm...@dest.org I have no idea what is happening there, sorry! cheers, Hans

Re: [pmwiki-users] Fox forms and notify issues

2019-11-19 Thread Hans
foxfailure="..." in the (:fox formname .. :) markup directive to some message of your choice. See https://www.pmwiki.org/wiki/FoxDocumentation/MarkupParameters hope this helps! Hans ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Re: [pmwiki-users] Numbered Sections cookbook recipe

2019-11-13 Thread Hans-Jürgen Godau
gs currently depend on the table of contents, but > that should be refactored to become an independent function. Now, if the > sections are less than 3 (configurable), there is no TOC and the > headings are not numbered. > > Petko > > On 13/11/2019 15:23, Hans-Jürgen Godau wrote: > &g

[pmwiki-users] Numbered Sections cookbook recipe

2019-11-13 Thread Hans-Jürgen Godau
; + $argstr = PSS($m[2]); $args = ParseArgs($argstr); - Maybe Petko could change this in the download-version? Greetings, Hans-Jürgen ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Re: [pmwiki-users] Cookbook MarkupExprPlus

2019-11-12 Thread Hans
Hello Dominique, Tuesday, November 12, 2019, 8:03:24 PM, you wrote: > Hello Hans, > The recipe has been fixed (and uploaded) and the PHP 7.2 > compatibility should be complete now. thank you so much! This is brilliant! Best regar

[pmwiki-users] Cookbook MarkupExprPlus

2019-11-12 Thread Hans
imple code: $MarkupExpr['add'] = '$args[0] + $args[1]'; $MarkupExpr['sub'] = '$args[0] - $args[1]'; $MarkupExpr['mul'] = '$args[0] * $args[1]'; $MarkupExpr['div'] = '$args[0] / $args[1]'; but the MarkupExprPlus MEs allowed for more complex expressions. Best rega

Re: [pmwiki-users] ABC tunebook

2019-07-19 Thread Hans-Jürgen Godau
I use abctunebook. I made some mods to cope with php 7.2 and the latest pmwiki-release. Here are my diffs: --- abctunebook/cookbook/abctunebook.php 2016-01-08 15:39:00.0 +0100 +++ cookbook/abctunebook.php 2018-11-13 12:43:55.756779161 +0100 @@ -16,20 +16,23 @@

[pmwiki-users] warning on continue in pmwiki.php from php 7.3

2018-12-14 Thread Hans-Jürgen Godau
Hello, on my Arch-System, which updated php to 7.3, I now receive the warnings *Warning*: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in *pmwiki.php* on line *739* *Warning*: "continue" targeting switch is equivalent to "break". Did you mean to use

Re: [pmwiki-users] triad skin, page header image issue.

2018-06-27 Thread Hans
as part of the image. Instead, you can add text directly to the header via the Site/PageHeader page, for instance use: >>lfloat sitetitle<< [[{$ScriptUrl}|My Site Name]] >><< 8. then use css in pub/css/local.css to style the text, via class .sitetitle: .sitetitle { fon

Re: [pmwiki-users] Triad style choc (chocolate) no longer works

2018-04-14 Thread Hans
hecked the version on my local machine, with $Skin = 'triad'; $DefaultColor = 'choc'; and it also seems just fine Not sure what is going on for you. Best regards, Hans ___ pmwiki-users mailing list pmwiki-users@pmichaud.co

Re: [pmwiki-users] Deprecated: Function create_function() in line 481 of pmwiki.php

2018-02-08 Thread Hans-Jürgen Godau
regards, jürgen 2018-02-07 8:30 GMT+01:00 Petko Yotov <5...@5ko.fr>: > On 05/02/2018 14:00, Hans-Jürgen Godau wrote: > >> the info on pmwiki.org/Troubleshooting says, the warning should be gone >> with the latest release. >> But even after upgrading to 2.2.107 I sti

[pmwiki-users] Deprecated: Function create_function() in line 481 of pmwiki.php

2018-02-06 Thread Hans-Jürgen Godau
Hello, the info on pmwiki.org/Troubleshooting says, the warning should be gone with the latest release. But even after upgrading to 2.2.107 I still get this warning, caused by the Function PCCF in pmwiki.php. How can I get rid of it without setting error_reporting to ~E_DEPRECATED? all the best,

Re: [pmwiki-users] database integration with PmWiki

2017-11-26 Thread Hans
re PHP 7.2 compatible. Will those recipe versions solve your problems? Best regards, Hans ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Re: [pmwiki-users] Toggle not hiding

2017-11-07 Thread Hans
uding any other recipes, one by one, with the aim of identifying a recipe, or some other code, which may be in conflict with Toggle? Perhaps comment out all other recipe inclusions, test to see if init=hide works in Toggle, adding one recipe script after the other, and testing. che

Re: [pmwiki-users] Fox Documentation External Website is Down

2017-09-22 Thread Hans
thank you for the alert! I've now changed the url, and changed the links on pmwiki.org: http://softflow.uk/design/FoxDocumentation/FoxDocumentation http://softflow.uk/design instead of softflow.co.uk/design Hans ___ pmwiki-users mailing list pmwiki

Re: [pmwiki-users] skins and RTL wikis

2017-06-13 Thread Hans
style sheet. Further I added an integration with the MultiLanguagesViews recipe, which will set $HTMLTagAttr accordingly, and trigger a switch to RTL if the page contains RTL text. see http://www.pmwiki.org/wiki/Skins/Amber cheers, Hans ___ pmwiki-users

Re: [pmwiki-users] skins and RTL wikis

2017-06-11 Thread Hans
PHP variable for modifying the skin for RTL. Setting a config variable seems the cleanest way. But I like to release a skin update, which will then just work in group PmWikiAr and PmWikiFa Hans ___ pmwiki-users mailing list pmwiki-users@pmich

[pmwiki-users] skins and RTL wikis

2017-06-09 Thread Hans
are added automatically. Any ideas on any of these issues please? Thanks, Hans ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Re: [pmwiki-users] problem with pagelist and RTL search terms

2017-06-08 Thread Hans
function PageListTermsTargets(). Then the search succeeded, but function PageIndexGrep($indexterms, true) was not called, because $indexterms was not created. Perhaps something can be fixed, so RTL terms can be searched in all cases, without needing to delete the .pageindex file? tha

[pmwiki-users] problem with pagelist and RTL search terms

2017-06-08 Thread Hans
I found a problem with pagelist not finding RTL search terms in pages. xlpage-utf-8.php is included, UTF-8 characters showing and correctly saving. I am double puzzled because normal searches have results on my local machine, as well as on pmwiki.org, but not on my hosted domain. I tried

Re: [pmwiki-users] Custom Markup Expression: how to access quoted parameters

2017-06-04 Thread Hans
otes. How can the double quotes be preserved, so my custom function can differentiate between "abc def" and "xyz 123"? I.e. can treat it as the two distinct terms entered? And should the description in the script be changed to read: these values may be un-escaped by using &q

[pmwiki-users] Custom Markup Expression: how to access quoted parameters

2017-06-04 Thread Hans
] If I use $params I then see something like 3P, i.e. the KeepToken thanks for some tip! Hans ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

[pmwiki-users] Update of fox form processor

2017-05-23 Thread Hans
he example of FoxContact's NewContact form, you need to review those forms. FoxContacts recipe is updated as well, and you can take a look at the form markup there. any feedback is most welcome! Hans ___ pmwiki-users mailing list pmwiki-users@pmichau

Re: [pmwiki-users] Noticed a fox bug

2017-05-13 Thread Hans
. Please report any errors arising from this new update, thanks! cheers, Hans ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Re: [pmwiki-users] Noticed a fox bug

2017-05-10 Thread Hans
does not change the outcome. I only did it to see clearer in the form markup which steps Fox takes. It will do the text replace first, and last any PTV updates. I still need to investigate why the foxtemplate parameter does not work inside the foxreplace markup directive. It

Re: [pmwiki-users] Responsive skin added to core, enabled on pmwiki.org

2017-04-28 Thread Hans
to test it now as a separate skin (update 2016 skin?), before it gets added to PMWiki core? I am not using Subversion thanks, Hans ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Re: [pmwiki-users] big view as default in triad

2017-04-17 Thread Hans
. You can rearrange the Button-link and search box etc by editing that page as well. Best regards, Hans mailto:desi...@softflow.uk www.softflow.co.uk ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.p

Re: [pmwiki-users] ResponsiveGrid usage

2016-11-03 Thread Hans
grid.css and paste it into local.css. grid.css is part of the Amber skin, but I added it as a separate recipe module for use in other skins, in case there was interest, in which case pub/css/local.css would be a good place to add or import the grid.css rules.

Re: [pmwiki-users] ResponsiveGrid usage

2016-11-03 Thread Hans
=first :) (:div2 id=second:) (:div2end:) (:div0end:) Best regards, Hans ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Re: [pmwiki-users] ResponsiveGrid usage

2016-11-03 Thread Hans
xample and see a 75% wide div beside a 25% wide div, with another div nested within the first. You can even give the nested div a responsive grid class, for instance like >>rf50 bgcolor=yellow<< ... >><< and this div will b

Re: [pmwiki-users] quoted text markup

2016-09-24 Thread Hans
rce| block of quoted text"] -Hans ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Re: [pmwiki-users] quoted text markup

2016-09-24 Thread Hans
markup for emphasis, once it is available and known. I see no need to complicate a quote markup, introducing asymmetries, like '"quote"' or "'quote'" or others like this, as it may well be introducing confusion. Two double quotes is quick and can be remembered as easily as two s

Re: [pmwiki-users] quoted text markup

2016-09-22 Thread Hans
am not so keen on a '"inline quote"' markup, as such combination of quote marks may well be used in text, quoting speech. My proposed double ""inline quote"" is likely less prone to be rendered unintentionally (outside of code blocks at least), and it would provide a quick way to produce smart inline quotes within tags. - Hans ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Re: [pmwiki-users] quoted text markup

2016-09-20 Thread Hans
;. Yes, but some people would like to see smart quoting. And using tags would make that possible. I guess there are two common types of using double quotes: A) as a way to "quote", in which case tags would be good, B) as a way to emphasise a word, in which case tags would be good,

[pmwiki-users] quoted text markup

2016-09-20 Thread Hans
rite and to remember, inline text surrounded by two double quotes. It certainly beats the use of quoted text ## ""quote"" Markup("\"\"","inline","/\"\"(.*?)\"\"/",'$1'); Any thoughts pro or against? Could

Re: [pmwiki-users] SkinTest page

2016-08-25 Thread Hans
('Page...Fmt') call. For instance Amber's (:noaction:) directive disables both action links in the header as well as the page footer, and the top actions are not in a section called PageActionsFmt, but PageTopActionsFmt, since there is another section called PageFootActionsFmt. Best regards,

Re: [pmwiki-users] SkinTest page

2016-08-25 Thread Hans
Title: Re: SkinTest page PS: to illustrate, with skin set to 'amber': http://www.pmwiki.org/wiki/Test/NoAction www.pmwiki.org/wiki/Test/NoFooter ___ pmwiki-users mailing list pmwiki-users@pmichaud.com

[pmwiki-users] SkinTest page

2016-08-25 Thread Hans
will add it to th enext update. Best regards, Hans       ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

[pmwiki-users] simple tables: vertical alignment

2016-08-12 Thread Hans
for an image in a cell I find it nicer if it aligns to the top, and text in an adjacent cell aligns to the top as well. What do you think? Is it bad practise to have cell content top aligned by default for simple table markup? I decided my new Amber skin should do this by default. Any thoughts? Thanks, Hans

Re: [pmwiki-users] Fixed horizontal menu in the 2016 skin

2016-08-05 Thread Hans
for the HTML, it provides the raw structure. And do not expect 2016 will evolve to have a switch to a horizontal top menu. That would make it into a rather complicated skin, not one meant to be core candidate. cheers, Hans ___ pmwiki-users mailing list

Re: [pmwiki-users] PmWiki can't process your request

2016-04-14 Thread Hans
t what makes a page not save. Just now I find I cannot save when there is wiki style markup like %red%some red text without %red% it would save. Same if the skin is pmwiki skin. there may be other weirdnesses.... ~Hans ___ pmwiki-users mailing list

Re: [pmwiki-users] PmWiki can't process your request

2016-04-14 Thread Hans
ith that recipe as well : > http://www.pmwiki.org/wiki/Cookbook/ISO8859MakePageNamePatterns?from=Cookbook.ISO8859PageNameConversionPatterns I do not need that recipe, as the page names do not use accented characters. ~Hans ___ pmwiki-users mailing

Re: [pmwiki-users] PmWiki can't process your request

2016-04-14 Thread Hans
or response from PmWiki when saving the old HomePage: not anymore  PmWiki can't process your request  ?invalid page name but a redirect to a non-existing page, but with the original URL: The page "406.shtml" doesn't exist. (Create 406.Shtml). and n

Re: [pmwiki-users] PmWiki can't process your request

2016-04-14 Thread Hans
There are no accented characters in page names. It used to work, but not now. How to proceed from here? ~Hans ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Re: [pmwiki-users] PmWiki can't process your request

2016-04-14 Thread Hans
.HomePage. very puzzled. ~Hans ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Re: [pmwiki-users] PmWiki can't process your request

2016-04-14 Thread Hans
ement: $WikiDir = new PageStore('wiki.d/$Group/$FullName'); I renamed Main.HomePage. Then the default Main.HomePage from wikilib.d gets loaded. And I cannot save edits on that page either. I can edit any page on my local machine. Any other ideas? ~Hans ___

[pmwiki-users] PmWiki can't process your request

2016-04-14 Thread Hans
updated, hoping the problem would just disappear, but it has not. What shall I check to get it working again? Grateful for any help/hints! Best, Hans       ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo

Re: [pmwiki-users] languages

2016-04-02 Thread Hans
tiLanguageViews uses some of the markup syntax MultiLanguage uses, which helps migration from the first to the second recipe. Hans ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Re: [pmwiki-users] languages

2016-04-02 Thread Hans
should use only one or the other. MultiLanguageViews uses some of the markup syntax MultiLanguage uses, which helps migration from the first to the second recipe. Best regards, Hans                         ___ pmwiki-users mailing list pmwiki-users@pm

Re: [pmwiki-users] languages

2016-04-01 Thread Hans
somewhere (and > with same images, maps...). > May be something like: > {:lang french:} > Texte en français > {:lang english:} > English text have a look at this recipe: http://www.pmwiki.org/wiki/Cookbook/MultiLanguageV

Re: [pmwiki-users] Make "M. Name" work for profil link

2016-03-31 Thread Hans
Note the use of two $$ in the markup _expression_, which means Fox will evaluate the _expression_ when it is posted, not when the page is loaded. Best regards, Hans                         ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://ww

Re: [pmwiki-users] Fox replace and variable in regular expression

2016-02-19 Thread Hans
oxend test:) I think all you need to do is leave the regex delimiters out of the form. Like this: (:fox test:) (:foxreplace target=Public.Test put=regex mark='{$$word}':) (:foxtemplate "great":) (:input text name='word':) (:input submit

Re: [pmwiki-users] Insert meta tag in

2016-02-11 Thread Hans
> How do I - from a cookbook insert meta tags into the -part? Do I > in some way have to alter the skin? How? by use the $HTMLHeaderFmt variable. See http://www.pmwiki.org/wiki/PmWiki/LayoutVariables#HTMLHeaderFmt Best regards,

Re: [pmwiki-users] Batch-mode for PmWiki?

2015-12-01 Thread Hans
es, hurrah! Best regards, Hans mailto:desi...@softflow.uk www.softflow.co.uk ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Re: [pmwiki-users] Batch-mode for PmWiki?

2015-11-30 Thread Hans
If I understand corectly I would not need it and could use the jjsiterator call in conjunction with my custom exporthtml action to iterately call the action for all or a group of wiki pages, thereby creating the static html pages correctly, without running into pageVar problems of relative page vari

Re: [pmwiki-users] Batch-mode for PmWiki?

2015-11-30 Thread Hans
t when exporting the page individually. The advantage over FastCache I see is: no messing around with .htaccess files, no PHP calls at all when serving static pages, simple file hierarchy, like example.com/Group/Name.html for static pages. Best regards, Hans mailto:des

[pmwiki-users] Batch-mode for PmWiki?

2015-11-27 Thread Hans
into wiki pages, to suppress the page parts which are for editors or admins only. Thanks for any input to this! I hope to release this recipe script soon, so perhaps others may find it useful. Best regards, Hans mailto:desi...@softflow.uk www.softflow.co.uk __

Re: [pmwiki-users] Does ptvclear work with foxcheck ?

2015-11-13 Thread Hans Bracker
trigger the input error. So if you want to allow empty input, to clear the PTV, then why the foxcheck, or why that regex which wants at least one character? Maybe i do not understand what you are trying to achieve with this foxcheck. Best regards, Hans

Re: [pmwiki-users] PTVs on multiple lines

2015-10-19 Thread Hans Bracker
ch, failing to have code which filters out cases like 'xyz:)' at the end of hidden PTVs. When a form processing script writes the page content, if does not matter too much what syntax the PTVs shall have. but I am aiming it to b

Re: [pmwiki-users] PTVs on multiple lines

2015-10-18 Thread Hans Bracker
TVs of the none-hidden type be allowed to have the colon on the second or later line, perhaps at least it should not be allowed to have a ')' following the ':' immediately, so confusion with the hidden type PTV cannot happen. Best regards, H

[pmwiki-users] PTVs on multiple lines

2015-10-18 Thread Hans Bracker
ern be changed to disallow the colon on the next line(s), i.e. to: 'var:'=> '/^(:*\\s*(\\w[-\\w]*)[ \\t]*:[ \\t]?)(.*)($)/m', Maybe I missed something important why the pattern allows th ecolon on a next line, but otherwise this could be a PITS entry. Best regards,

[pmwiki-users] input default

2015-10-08 Thread Hans Bracker
[] fields in order of the space separated values of the PTV 'name'? Could such functionality for input default be added to PmWiki? thanks, Hans ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Re: [pmwiki-users] Multiple checkboxes

2015-10-01 Thread Hans Bracker
amp; Blues","Rock'n'Roll" or other suitable separators. If all PTVs containing lists with items separated by space, then in a Fox form the use of foxfixptv is not necessary, and in the example (:input default $:Music[] {$:Music}:) can be used. cheers, Hans

Re: [pmwiki-users] Markup Expression parameters

2015-09-29 Thread Hans Bracker
hing like this: $MarkupExpr['fixptv2'] = 'FixPtv2($pagename,$args[0])'; function FixPtv2($pn,$a) { $r = PageTextVar($pn, substr($a,2)); echo $pn; print_r($r); return $r; } embedded expressions and PTvs get rendered correctly in the return, but not before. than

Re: [pmwiki-users] Markup Expression parameters

2015-09-29 Thread Hans Bracker
I meant: you need to use PageTextVar(), not PageVar(), Hans ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

[pmwiki-users] Markup Expression parameters

2015-09-28 Thread Hans Bracker
as M.E.: {(fixptv {$:Music2})} as PTV: {$:Music2} Music3: Classical,Rhythm & Blues,Rock'n'Roll as M.E.: {(fixptv {$:Music3})} as PTV: {$:Music3} Is there a way to get the PTV string unaltered into the function, for further manipulation there, including quotes? thanks Hans

Re: [pmwiki-users] Multiple checkboxes

2015-09-24 Thread Hans Bracker
/'; return preg_replace($pat," ",$arg); } This seems to work well with various separators, and the PTV can look for instance like these, in simple text PTVs: Hobby: Travels,Photo,Music Hobby: Travels, Photo, Music Hobby: Travels + Photo + Music Best reg

Re: [pmwiki-users] Multiple checkboxes

2015-09-22 Thread Hans Bracker
from comma to space would break for sites updating fox.php. Could PmWiki have a similar configuration variable, so instead of a space a comma could be used in a PTV holding array elements? Best regards, Hans mailto:des...@softflow

Re: [pmwiki-users] EnableHTML for php5.6

2015-09-22 Thread Hans Bracker
> Is there a version of enablehtml.php that will work with php5.6? try this for your enable.php file: {$var}', '/(\/?('.$tag.')(?![a-z!])(([\'"]).*?\4|.*?)*?)/i', 'Keep(\'<\'.$m[1].\'>\')'); } Best

[pmwiki-users] formatting title markup directive

2015-09-14 Thread Hans Bracker
How can I apply inline styling for the (:title ...:) directive? In particular I would like to be able to use inline markup '^text^' (HTML sup) and '_text_' (HTML sub) I can use it after ! header markup, but not within the title markup. Is it possible? Any hacks for it? thanks Hans

Re: [pmwiki-users] Looking for a little help with notsosimple skin please

2015-09-14 Thread Hans Bracker
> Hans, THANK YOU! This looks like it will do exactly what I need! I appreciate > your help very much! your most welcome! Just for completenes sake, IF at some point you want to be able to use (:noleft:) in a wiki page to suppress the sidebar, then you need to change the notsosimple.tmp

Re: [pmwiki-users] formatting title markup directive

2015-09-14 Thread Hans Bracker
added HTML tags removed is proving to work well, and not messing up other pages. Best regards, Hans ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Re: [pmwiki-users] formatting title markup directive

2015-09-14 Thread Hans Bracker
WikiTitle; (I got the page name included as part of the HTML title, together with the Wiki name) Best regards, Hans ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Re: [pmwiki-users] Looking for a little help with notsosimple skin please

2015-09-14 Thread Hans Bracker
itext { width: 1100px } /*adjust wikitext div width*/ #sidebar { display: none; } "; so you do not need a css file. $HTMLStylesFmt gets put into the HTML head. You still need the hack to the tmpl file for this to work! cheers, Hans

Re: [pmwiki-users] PmWiki 2.2.79 released (PmForm target)

2015-08-28 Thread Hans Bracker
is accommodating new HTML developments. Best regards, Hans mailto:des...@softflow.co.uk www.softflow.co.uk ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Re: [pmwiki-users] Local Storage

2015-07-22 Thread Hans Bracker
(any user accessing the web page). It does not make sense to me why local data should be written to a web page, which is available to many users on different machines. cheers, Hans ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http

Re: [pmwiki-users] How to avoid a redirect after posting a Fox form

2015-07-15 Thread Hans Bracker
the PHP script running. If a redirect= parameter is set Fox will redirect to another page, instead of displaying the current page. I know nothing about Ajax and modal pages, so excuse my ignorance please! ~Hans ___ pmwiki-users mailing list pmwiki-users

Re: [pmwiki-users] accent problem in page name

2015-06-15 Thread Hans Bracker
is trained not to forget accents in words in the native language :-). this might be of interest to you, to convert ISO 8859 character input to unaccented equivalents : http://www.pmwiki.org/wiki/Cookbook/ISO8859MakePageNamePatterns ~Hans ___ pmwiki-users

Re: [pmwiki-users] Help! The /E modifier is deprecated

2015-06-09 Thread Hans Bracker
. There is also a list of which recipes are already made PHP 5.5 compatible: http://www.pmwiki.org/wiki/Category/PHP55 (this is not necessarily comprehensive though) Best regards, Hans ___ pmwiki-users mailing list pmwiki-users

Re: [pmwiki-users] Text extract, Hans' recipe

2015-06-05 Thread Hans Bracker
perhaps it is better now? It looks like the line endings made the difference. I saved it now as ANSI coded in PC file format. Best regards, ___ pmwiki-users mailing list pmwiki-users@pmichaud.com

[pmwiki-users] How to format image captions using css

2015-05-25 Thread Hans Bracker
to assign a class to the div? thanks, Hans ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Re: [pmwiki-users] How to format image captions using css

2015-05-25 Thread Hans Bracker
see, as any 'caption' text after a | in the Attach: markup is not passed on (and I do not understand how PmWiki generates /brspancaption text.../span at present. Best regards, Hans ___ pmwiki-users mailing list pmwiki-users

Re: [pmwiki-users] RFC: Using arrays in input markup

2015-05-16 Thread Hans Bracker
page: http://www.pmwiki.org/wiki/PITS/01032 could you publish the changes in the pre-release zip version pmwiki-latest-svn.zip please? Best regards, Hans mailto:des...@softflow.co.uk www.softflow.co.uk ___ pmwiki-users

Re: [pmwiki-users] RFC: Using arrays in input markup

2015-05-16 Thread Hans Bracker
you! Best regards, Hans mailto:des...@softflow.co.uk www.softflow.co.uk ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Re: [pmwiki-users] using arrays in input markup

2015-05-14 Thread Hans Bracker
as a comma separated list. Output example: Colour is red,blue,green Best regards, Hans mailto:des...@softflow.co.uk www.softflow.co.uk ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman

Re: [pmwiki-users] mobile

2015-03-24 Thread Hans Bracker
. There are probably others as well I can't think of right now. Is a skin (default or other) actually possible to serve both desktop and mobile devices equally well? Best regards, Hans ___ pmwiki-users mailing list pmwiki-users

Re: [pmwiki-users] Strange error with numerical pages

2015-02-26 Thread Hans Bracker
Hello Daniel, Thursday, February 26, 2015, 9:22:43 AM, you wrote: Hans Bracker is also investigating this matter. I am not. I do not know what is going there, and cannot reproduce your errors. I can give you just the following hints for testing: Are you quite certain that the Triad skin

Re: [pmwiki-users] Strange error with numerical pages

2015-02-25 Thread Hans Bracker
Is HansB listening on this list and can he help me? Daniel, I am reading this, but I have no idea what is going on. Hans ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Re: [pmwiki-users] Help for designing a new ptv pattern my new multiline ptv pattern

2015-01-18 Thread Hans Bracker
. The advantage of using anchors as PTVs is that you could reference those sections as PTVs and also as anchor sections, use them in urls for instance. The markers are also invisible. But they maybe not as easy to write as what you hope. Best, Hans

Re: [pmwiki-users] Help for designing a new ptv pattern my new multiline ptv pattern

2015-01-18 Thread Hans Bracker
definition is set for 'split' in th emarkup table, meaning before line splitting is done, as it needs to get several lines, using th e/s modifier in the pattern. Best, Hans ___ pmwiki-users mailing list pmwiki-users

Re: [pmwiki-users] Help for designing a new ptv pattern my new multiline ptv pattern

2015-01-18 Thread Hans Bracker
...'] = '/( *\\(*(\\w[-\\w]*) *\\)(?!\\))\\s?)(.*?)()/s'; Best, Hans ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Re: [pmwiki-users] Help for designing a new ptv pattern my new multiline ptv pattern

2015-01-17 Thread Hans Bracker
be the PTV name in your example? A page text variable has a name and a value. So if you have a block of text, and some delimiters, you neeed to hav a name as well, best somewhere in or aftter th efirst delimiter. Then we could perhaps work out a regex for this new PTV pattern. Best regards, Hans

Re: [pmwiki-users] 9th Braid (George Watson's College) Scout Group

2015-01-07 Thread Hans Bracker
it here. and a lot less code and nothing in config, I keep forgetting the simpler solutions! Input markup rocks! And easy to customise further cheers, Hans mailto:des...@softflow.co.uk www.softflow.co.uk ___ pmwiki

  1   2   3   4   5   6   7   8   9   10   >