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

2017-05-08 Thread Oliver Betz
Hi Petko, > The skin is configured to use the "desktop" layout when the browser > window is at least 50em large (about 800 CSS reference pixels, 16.9°, > 0,295 rad), otherwise the "mobile" layout. > > This allows a large 5.5" HD smartphone 1920x1080px (and smaller ones) to > display the "mobile"

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

2017-05-05 Thread Oliver Betz
Hi Petko, >> Do you consider a "switch to standard view" option to get the sidebar >> displayed permanently also on smaller devices? Other responsive designs >> do so. > > Not at the top of my priority list. There is a feature in mobile > browsers, at least in Firefox and Chrome: click on the "me

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

2017-05-03 Thread Oliver Betz
Hi Petko, > In the last few days I've been working on the responsive skin for the > core, based on the 2016 skin.[*] great, thanks! I will have to check how to merge it with my old customizations. Do you consider a "switch to standard view" option to get the sidebar displayed permanently also on

[pmwiki-users] Captions from IPTC in Mini

2017-04-02 Thread Oliver Betz
Hi, when / under which circumstances does/should the IPTC recipe https://tl.5ko.fr/M/IPTC display captions? I don't remember exactly whether it behaved differently last year but I think it displayed captions. In the mean, I updated PmWiki and recipes and switched to a newer PHP version. Oliver

[pmwiki-users] Captions from IPTC in Mini

2017-04-02 Thread Oliver Betz
liver -- Oliver Betz, Munich http://oliverbetz.de/ ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Re: [pmwiki-users] Pagelist conditional: One of two PTV not empty?

2016-02-29 Thread Oliver Betz
many thanks to all, I overlooked the if= section in the pagelist page, sorry. (:pagelist if="![ equal '{=$:foo}{=$:bar}' '']":) works as I intended. Oliver ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinf

Re: [pmwiki-users] Custom PageVariables from request strings: critical vulnerability

2016-02-29 Thread Oliver Betz
Petko Yotov wrote: > the recipe "HttpVariables" provides access to request strings it doesn't offer a method to access have a get /or/ post parameter in a single PTV as I had in: $FmtPV['$foo'] = 'isset($_GET["foo"]) ? $_GET["foo"] : @$_POST["foo"]'; The markup {$!foo} is stated "might not be

[pmwiki-users] Pagelist conditional: One of two PTV not empty?

2016-02-28 Thread Oliver Betz
Hello All, how can I get a pagelist where at least one of the PTV "foo" or "bar" are not empty? TIA, Oliver P.S.: Sorry if this post arrives twice - gmane didn't seem to transport it. ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www

[pmwiki-users] Pagelist conditionyl: at least one PTV not empty

2016-02-28 Thread Oliver Betz
Hello All, how can I get a page list of pages where at least one of the PTV "foo" or "bar" are not empty? TIA, Oliver -- Oliver Betz, Munich http://oliverbetz.de/ ___ pmwiki-users mailing list pmwiki-users@pmichaud.com htt

Re: [pmwiki-users] Custom PageVariables from request strings: critical vulnerability

2016-02-28 Thread Oliver Betz
Petko Yotov wrote 2015-12-19: > > This message concerns you if your wiki creates custom page variables > which get their values from request strings like the URL address of the > page. > > The previously documented recommended way to sanitize such values can > allow PHP code injection in some cas

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

2015-08-27 Thread Oliver Betz
o this would not work. I use different target settings with PmForm, one has a "saveto={$FullName}" in config.php. I have to admit that I don't understand exactly the dependencies by looking briefly at the construct. PmForm is not that easy to use and not that verbosly doc

Re: [pmwiki-users] PmWiki 2.2.79 released

2015-08-27 Thread Oliver Betz
to redefine the $InputAttrs array could you elaborate? I'm using PmForm with PmWiki 2.2.45, I use (need) the "target" attribute in forms, but I didn't "redefine the $InputAttrs array". Oliver -- Oliver Betz, Munich http://oliverbetz.de/ _

[pmwiki-users] PmWiki as requirements management tool?

2015-08-26 Thread Oliver Betz
review after changing a linking requirement. It will be difficult to get "base lines". Copy the whole tree to another group? Oliver -- Oliver Betz, Munich http://oliverbetz.de/ ___ pmwiki-users mailing list pmwiki-users@pmichau

Re: [pmwiki-users] One time passwords, anyone?

2015-08-21 Thread Oliver Betz
providers /force/ it these days, so no problem here. Oliver -- Oliver Betz, Munich http://oliverbetz.de/ ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

[pmwiki-users] One time passwords, anyone?

2015-08-21 Thread Oliver Betz
used passwords to avoid replay attacks. Counter based OTP need to store the new counter value. With challenge/response systems, you need a suitable password generator on your mobile device. And: Since PmWiki uses PHP sessions for authentication, is it vulnerable to session hijacking? Oliver -- O

Re: [pmwiki-users] RFC: Simple link markup for a "nearly WYSIWYG" editor

2015-08-11 Thread Oliver Betz
Petko Yotov wrote: >> I often use @ to show a condition, e.g. 3000rpm@230V or 15USD@10k >> (pricing information at a given quantity). > >I've seen many people write an e-mail address without the mailto: >protocol and their link does not work, and they don't know why and try >to add brackets and

Re: [pmwiki-users] RFC: Simple link markup for a "nearly WYSIWYG" editor

2015-08-11 Thread Oliver Betz
allow limited styling and organizing, >unlike a full WYSIWYG editor. This is simpler to implement, use and >maintain, but most importantly, different pages will look consistently >similar which wouldn't be the case if everyone was allowed to use any >font, color, style and size of any word they type. agreed. Oliver -- Oliver Betz, Munich http://oliverbetz.de/ ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

[pmwiki-users] "version=x" GET parameter? Link spamming supposed.

2014-09-13 Thread Oliver Betz
on=1 with different numbers ranging from 1 to 5. As far as I see, PmWiki doesn't use the "version" parameter. Can anybody imagine where such links could come from? TIA, Oliver -- Oliver Betz, Munich http://oliverbetz.de/ ___ pmw

Re: [pmwiki-users] PmWiki.org attachments cleanup

2014-03-26 Thread Oliver Betz
"Patrick R. Michaud" wrote: [...] >Also, there might be some attachment files referenced by [[http://... ]] >links instead of Attach: . Not to forget "Mini"! >I'd suggest developing a mechanism (recipe, likely) that scans >a set of pages to generate attachment links, then generate a table >cros

Re: [pmwiki-users] accept-charset in forms

2014-03-14 Thread Oliver Betz
Petko Yotov wrote: >No, while it is possible to try defining form element attributes with a >dash, the current implementation of InputToHTML() calling ParseArgs() >ignores those. > >I'll add the dash as an allowed character in form attributes for the next >version. Then it will be possible t

[pmwiki-users] accept-charset in forms

2014-03-12 Thread Oliver Betz
Hello All, ist there a simple way to set the character set used in a form? TIA, Oliver ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Re: [pmwiki-users] pmwiki to epub ebooks

2014-03-12 Thread Oliver Betz
John Rankin wrote: [...] >How did you envisage a client-side solution would work? For example, the >recipe could easily generate suitable html, which you could save for >further local processing. I do this for testing the skin and css anyway. exactly, the key is "suitable HTML". I made some ex

Re: [pmwiki-users] pmwiki to epub ebooks

2014-03-10 Thread Oliver Betz
John Rankin wrote: [...] >Is this of interest to others and if so, would anyone like to help test >it? In particular, the CSS needs testing and refining with a range of ys, I'm alsways looking for an "offline" version of my personal wiki. >inputs. Testers would need: > >- time and patience (i

Re: [pmwiki-users] Proposed change to pmwiki.php: Markup_e

2014-02-11 Thread Oliver Betz
er a finite time, I wouldn't try this with WordPress or MediaWiki. Oliver *) C for embedded industrial devices, often very low level -- Oliver Betz, Munich http://oliverbetz.de/ ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Re: [pmwiki-users] PreviewChanges: Show only on demand?

2014-02-11 Thread Oliver Betz
.php contains code for "e_resetbutton", does anybody know >> what it is good for? > >If a "reset" button is pressed, all form fields are reset to their default >content (before any changes). Thanks, I should have looked at forms.php before asking. Oliver --

Re: [pmwiki-users] PreviewChanges: Show only on demand?

2014-02-10 Thread Oliver Betz
"); to config.php. I didn't investigate the difference between the standard form button and the e_... buttons, and I'm not sure whether that's a clean approach. Oliver -- Oliver Betz, Munich http://oliverbetz.de/ ___ pmwiki-u

[pmwiki-users] PreviewChanges: Show only on demand?

2014-02-10 Thread Oliver Betz
Hi All, http://www.pmwiki.org/wiki/Cookbook/PreviewChanges is very useful to see the changes during complex edits. But I'm afraid that novice users can be confused by this (seldom used) information. And with a large number of diffs, the preview is shifted down so you have to scroll more. Theref

Re: [pmwiki-users] How do I create a new page from form data?

2014-02-03 Thread Oliver Betz
change the forms immediately, based on some form selection, without submitting the form? I guess you need JavaScript for this. That's beyond my knowledge. Oliver -- Oliver Betz, Munich http://oliverbetz.de/ ___ pmwiki-users mailing list pmwiki-us

Re: [pmwiki-users] selling pmwiki to high school students

2014-02-01 Thread Oliver Betz
;master" installation with all cookbooks installed, simply sync it with the targets. I operate several PmWiki installations, my personal web site, two club sites and my employer's web site. It's not so hard. After all, you don't _need_ to update PmWiki very often. Not every release

Re: [pmwiki-users] selling pmwiki to high school students

2014-02-01 Thread Oliver Betz
p of high school students with >limited technical experience but good potential, what would you say are its >top advantages as compared with WP? I know you mean the advantage for the students, but the advantage for you is that you will learn about the students. The clever ones will s

Re: [pmwiki-users] Suppress HTML comments from template in output

2014-02-01 Thread Oliver Betz
)) {$TmplFmt[$ps][] = "";} (a better name for the TmplDisplay flag should be chosen) Oliver -- Oliver Betz, Munich http://oliverbetz.de/ ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Re: [pmwiki-users] How do I create a new page from form data?

2014-02-01 Thread Oliver Betz
y solution resulted a bit from guessing. I hope this helps as a starting point. Oliver -- Oliver Betz, Munich http://oliverbetz.de/ ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

[pmwiki-users] Suppress HTML comments from template in output

2014-01-31 Thread Oliver Betz
Hi All, not really important, more out of curiosity: Is there a simple way to suppress the HTML comments from the template directives? For example etc. TIA, Oliver ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mail

Re: [pmwiki-users] syncing pmwiki with local installation (OSX)

2013-11-30 Thread Oliver Betz
Peter Bowers wrote: >> I'd like to have a two-way >> sync between a local installation of pmwiki on my Macbook and my >> "real" wiki. I'd prefer to sync the whole wiki, not just a group. > >I don't use mac, so take this with a grain of salt, but a quick stroll >through google-land seems to indicat

Re: [pmwiki-users] The Philosophy of PmWiki: adding to the core

2013-11-12 Thread Oliver Betz
"Patrick R. Michaud" wrote: [...] >Storing data and metadata in a single file was a very conscious >design choice in PmWiki -- I wanted pages to be well encapsulated >and didn't want to ever have to worry about them getting out-of-sync. It is safe and easy to handle, e.g. when moving, copying,

Re: [pmwiki-users] E_DEPRECATED big problems

2013-11-09 Thread Oliver Betz
Hello Philippe, please don't start a new thread by replying to some mail and changing the subject. In my environment, your mail is displayed in the "Apache 2.4 htaccess" thread hierarchy. Oliver -- Oliver Betz, Munich http:

Re: [pmwiki-users] Apache 2.4 htaccess

2013-11-03 Thread Oliver Betz
Petko Yotov wrote: [...] >In the mean time, I'm not overly worried because the old .htaccess >protection does not allow access to the protected files with the new version >of Apache. thanks for the investigation! I didn't consider access_compat_module, and if somebody gets a hard error, he

[pmwiki-users] Apache 2.4 htaccess

2013-11-03 Thread Oliver Betz
Hello All, currently PmWiki uses Order Deny,Allow Deny from all as default .htaccess in several writeable directories. As far as I see, Apache 2.4 doesn't support this notation. Is the default behaviour of Apache 2.4 safe enough or should there be specific entries? Oliver -- Oliver

Re: [pmwiki-users] PmWiki 2.2.56 released

2013-10-01 Thread Oliver Betz
Petko Yotov wrote: >Hello. PmWiki version 2.2.56 was published today, and is available at: is pmwiki.php UTF8-encoded intentionally? If it's needed (lines 967, 968), will a non-UTF8-system handle it without problems? Oliver ___ pmwiki-users mailing

Re: [pmwiki-users] various ways to launch pmwiki

2013-09-17 Thread Oliver Betz
jdd wrote: > >I get the wiki, but without skin if you use chdir, you need to adjust $PubDirUrl, PmWiki doesn't guess it automatically (I don't know whether it would be possible). My redirection script is: |http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Re: [pmwiki-users] RFC: Deleting pages from the core documentation

2013-09-09 Thread Oliver Betz
Petko Yotov wrote: [...] >When someone upgrades from an old version, the core documentation gets >updated too, but only existing and new pages. If a page was removed from the >distribution and someone upgrades, they will still have the old page in >their wikilib.d directory, with the old co

Re: [pmwiki-users] noleft in SiteHeader suppresses leftbar except for page-actions (mostly)

2013-09-06 Thread Oliver Betz
michael paulukonis wrote: >If I put SetTmplDisplay('PageLeftFmt', 0) in config or the skin, it ALWAYS >surpresses the left-content. > >I would like it to be suppressed when the (:noleft:) markup is present on >the page, or in the header. >Now, SiteHeader would suggest it is almost always present,

Re: [pmwiki-users] Permalink

2013-07-15 Thread Oliver Betz
Petko Yotov wrote: >Oliver Betz writes: >> A "search" would be simple but I'm afraid it's an expensive operation. >> IIRC, links are cached so "backlinks" are faster? > >A search for terms (words) should be about as fast as a search for backlin

[pmwiki-users] Permalink

2013-07-10 Thread Oliver Betz
Hello all, just collecting ideas: The "Reorganizing our Wiki" thread reminded me that I wanted to investigate simple methods to generate permalinks or canonical URLs with PmWiki. A "search" would be simple but I'm afraid it's an expensive operation. IIRC, links are cached so "backlinks" are fas

Re: [pmwiki-users] piwik

2013-07-05 Thread Oliver Betz
Tamara Temple wrote: [...] >http://www.pmwiki.org/wiki/Cookbook/GoogleAnalytics > >Even if you are using something besides Google Analytics, use the recipe >as a guide to insert the code you need to track web stats the way you >want to. > >The info on using Piwik javascript tracking in a fashion

Re: [pmwiki-users] Disable scripts to speed up "read only" view (stdconfig.php)?

2013-07-02 Thread Oliver Betz
Petko Yotov wrote: [...] >> Any idea whether that's useful in terms of performance, and which >> scripts should be disabled or kept? > >It will be only slightly faster to disable the scripts that are not needed: thanks for commenting the entries! [...] >But what would be faster is to enable pa

[pmwiki-users] Disable scripts to speed up "read only" view (stdconfig.php)?

2013-06-27 Thread Oliver Betz
Hello All, when using PmWiki as CMS, several scripts are not needed for the "guest" view of the page, e.g. simuledit.php, draft.php, author.php, blocklist.php... Loading of many scripts can be disabled by setting the according variables used by stdconfig.php. Any idea whether that's useful in te

Re: [pmwiki-users] No between tables with $HTMLVSpace = '';

2013-05-22 Thread Oliver Betz
Lars Eignner wrote: [...] >What you really want, I think, is extra space between tables. Do that by >styling extra bottom margin for the first table and extra top margin for the >second table. Examples of how to add styles to tables are given in My solution is now a general rule in CSS: table

Re: [pmwiki-users] No between tables with $HTMLVSpace = '';

2013-05-18 Thread Oliver Betz
given in >PmWiki/Tables. Perhaps: > >||border=1 style="margin-bottom: 0.5em;" I think I will try to get a general CSS rule to get vertical space between tables. Oliver -- Oliver Betz, Munich http://oliverbetz.de/ ___ pmwiki-users

Re: [pmwiki-users] No between tables with $HTMLVSpace = '';

2013-05-18 Thread Oliver Betz
uld be doable with CSS, no need to control it with Wiki markup. Sorry for causing unneeded work, Petko! Oliver -- Oliver Betz, Munich http://oliverbetz.de/ ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

[pmwiki-users] No between tables with $HTMLVSpace = '';

2013-05-17 Thread Oliver Betz
Hi all, is anybody using $HTMLVSpace = ''; and knows how to get a between two tables separated by empty lines in Wiki markup? For example, this markup: || border=1 || cell 1 || cell 2 || || cell 1 || cell 2 || || border=1 || cell 1 || cell 2 || || cell 1 || cell 2 || should result in two tab

Re: [pmwiki-users] PmWiki 2.2.49 released

2013-04-01 Thread Oliver Betz
t", and "pmwiki-2.2.49.zip". :-) I know, and I don't suggest it as a general measure. Oliver -- Oliver Betz, Munich http://oliverbetz.de/ ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Re: [pmwiki-users] PmWiki 2.2.49 released

2013-04-01 Thread Oliver Betz
mWiki interface, >add to config.php such a line: > > $UploadBlacklist = array('.php', '.pl', '.cgi'); another possibility is to disallow file names with more than one dot. Even more restrictive but it would repair the whitelist approach. Oliver -- Oliver Betz, Mun

Re: [pmwiki-users] Disallow scripts in upload directories

2013-03-31 Thread Oliver Betz
orrect? I think it would be a good idea to include also a warning in sample-config.php about disabling script execution by .htaccess if $EnableDirectDownload is set. Oliver -- Oliver Betz, Munich http://oliverbetz.de/ ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Re: [pmwiki-users] Disallow scripts in upload directories

2013-03-23 Thread Oliver Betz
Asking the hosting provider is also a good idea but doesn't guarantee a good answer (BTDT, sadly the most expensive hosting I checked). Oliver -- Oliver Betz, Munich http://oliverbetz.de/ ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Re: [pmwiki-users] Disallow scripts in upload directories (Oliver Betz)

2013-03-19 Thread Oliver Betz
Dennis Knight wrote: >Here's a link to some advice that I find works for me. > >http://stackoverflow.com/questions/8414840/prevent-upload-php-script-to-be-executed thanks, but I think the options offered are somewhat crude and my approach is safer. Oliver __

Re: [pmwiki-users] Disallow scripts in upload directories

2013-03-17 Thread Oliver Betz
that nobody cares. BTW: I asked in the apache user mailing list about "Options -ExecCGI" and "SetHandler default-handler" but didn't get any reply. Oliver -- Oliver Betz, Munich http://oliverbetz.de/ ___ pmwiki-users m

[pmwiki-users] Disallow scripts in upload directories, was: PmWiki 2.2.49 released

2013-03-09 Thread Oliver Betz
er" works also for script languages running as module. Before I add this information to the PmWiki documentation, I would appreciate comments from people with better Apache knowledge. Oliver -- Oliver Betz, Munich http://oliverbetz.de/ ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

[pmwiki-users] Conditional "next three months"

2013-02-17 Thread Oliver Betz
Hello all, is (:if date ..{(ftime "+3 month" %F)} {$:myptvdate}:) the easiest way to check whether a date in a PTV expires in the next three months? TIA, Oliver -- Oliver Betz, Munich http://oliverbetz.de/ ___ pmwiki-users mailing l

Re: [pmwiki-users] PmWiki 2.2.47 released

2013-02-17 Thread Oliver Betz
Petko Yotov wrote: [...] >This version enables tooltip titles in links to anchors in the same page, Great, thanks! An easy way to provide a short help tooltip and a link to a longer help. Oliver -- Oliver Betz, Munich http://oliverbetz

Re: [pmwiki-users] cannot acquire lockfile

2013-02-12 Thread Oliver Betz
rouble with my "Uploaded files world readable!?" posting. If permissions are the problem for Thomas, it would be interesting to learn more about the server configuration. Oliver -- Oliver Betz, Munich http://oliverbetz.de/ ___ pmwiki-users m

Re: [pmwiki-users] No dot required in Attach:Group./Filename?

2013-02-04 Thread Oliver Betz
Petko Yotov wrote: >> http://www.pmwiki.org/wiki/PmWiki/Images-Talk and >> http://www.pmwiki.org/wiki/Cookbook/Mini tell me that I have to write >> Attach:Groupname./image.jpeg or Mini:Group./picture.jpg to access >> files in another group, i.e. with a dot before the slash. >> >> But seemingly it

Re: [pmwiki-users] Pagelist template - repeat each N entries

2013-02-04 Thread Oliver Betz
prPlus by DFaure (corrected to $MarkupExpr['mod'] = '0 + ($args[0] % $args[1])';) Thanks, works! I already thought about modulo or division but was seemingly too stupid to use the search function. Oliver -- Oliver Betz, Munich http://oliverbetz.de/ ___

[pmwiki-users] Pagelist template - repeat each N entries

2013-02-03 Thread Oliver Betz
Hello All, repeating certain elements every N entries of a page list would be nice e.g. for table headers. Ist there a simple way to get this? TIA, Oliver -- Oliver Betz, Muenchen http://oliverbetz.de/ ___ pmwiki-users mailing list pmwiki-users

[pmwiki-users] No dot required in Attach:Group./Filename?

2013-01-28 Thread Oliver Betz
Hello All, http://www.pmwiki.org/wiki/PmWiki/Images-Talk and http://www.pmwiki.org/wiki/Cookbook/Mini tell me that I have to write Attach:Groupname./image.jpeg or Mini:Group./picture.jpg to access files in another group, i.e. with a dot before the slash. But seemingly it works also without the do

Re: [pmwiki-users] Create pages with some content not modifiable&In-Reply-To=

2013-01-28 Thread Oliver Betz
"Paolo Z." wrote: >I'm sorry but I can't quite understand I'm searching some info about >GroupHeader and GroupFooter Enter GroupHeader and GroupFooter in the search box at pmwiki.org -> http://www.pmwiki.org/wiki/PmWiki/SpecialPages http://www.pmwiki.org/wiki/PmWiki/GroupHeaders >For example let

Re: [pmwiki-users] Anchors: No link title / tooltip?

2013-01-28 Thread Oliver Betz
Lars Eighner wrote: BTW: Strange, this message didn't show up im gmane, and also my reply to Petko was not distributed over the list. A gmane or a PmWiki list problem? > > is it true that anchor links can't have a link title resulting in a > > tooltip? > > No. Place the title (which is what ma

Re: [pmwiki-users] Anchors: No link title / tooltip?

2013-01-28 Thread Oliver Betz
ginal idea with the tooltips. But if there is no reason against it, and if it's not too much work, I think it would be nice to have also anchor links to the current page behaving like other links. Thanks for your permanent effort to improve PmWiki, Petko! Oliver -- Oliver Betz, Muenche

[pmwiki-users] Anchors: No link title / tooltip?

2013-01-26 Thread Oliver Betz
Hello All, is it true that anchor links can't have a link title resulting in a tooltip? If yes: Is there a reason? TIA, Oliver -- Oliver Betz, Muenchen (oliverbetz.de) ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichau

Re: [pmwiki-users] Create pages with some content not modifiable

2013-01-26 Thread Oliver Betz
r and GroupFooter to add content. You can use a certain naming scheme e.g. {*$FullName}-Protected to have page specific content added. Oliver -- Oliver Betz, Muenchen (oliverbetz.de) ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://w

Re: [pmwiki-users] Hide PTV from edit?

2013-01-22 Thread Oliver Betz
could try to understand it. That's no more "simple" but interesting. Oliver -- Oliver Betz, Muenchen (oliverbetz.de) ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Re: [pmwiki-users] PmForm on request, edit structured data on pages

2013-01-21 Thread Oliver Betz
'useform']) ? $_GET['useform'] : @$_POST['useform']; I don't know why I didn't use the obvious, thanks for the reminder. Oliver -- Oliver Betz, Muenchen (oliverbetz.de) ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Re: [pmwiki-users] PmForm on request, edit structured data on pages

2013-01-21 Thread Oliver Betz
>> $FmtPV. > >in which scope do you want to use the value at the specific index? sorry, I don't understand. I want a page variable "useform" containing the get _or_ post parameter "useform". Not so important, though. Oliver -- Oliver Betz, Muenchen (oliverbetz.de) ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Re: [pmwiki-users] PmForm on request, edit structured data on pages

2013-01-20 Thread Oliver Betz
...] >fyi array_merge() is available in PHP 4 and PHP 5. but the member selection as written above is only available in 5.4, if I understand correctly. This enables me to avoid a helper function for $FmtPV. Oliver -- Oliver Betz, Muenchen (oliverbetz.de)

[pmwiki-users] Hide PTV from edit?

2013-01-20 Thread Oliver Betz
Hello all, ist there a simple way to hide page text variables in (:name:value:) form from edits? Thanks in advance, Oliver -- Oliver Betz, Muenchen (oliverbetz.de) ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com

Re: [pmwiki-users] PmForm on request, edit structured data on pages

2013-01-20 Thread Oliver Betz
o not use $_REQUEST instead of $_GET/$_POST? $_REQUEST contains also cookie data, doesn't it? I want to avoid unwanted effects. Oliver -- Oliver Betz, Muenchen (oliverbetz.de) ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

[pmwiki-users] No Links in "messages"?

2013-01-20 Thread Oliver Betz
} :) (:template defaults successpage="{$$saveto}" :) (:template require if="!exists {$$xgroup}.{$$xname}" errmsg="Page [[{$$xname}]] already exists!":) Unfortunately [[{$$xname}]] doesn't show up as link. Is this intended? Oliver -- O

Re: [pmwiki-users] PmForm on request, edit structured data on pages

2013-01-20 Thread Oliver Betz
dden form parameter and extend the $FmtPV code to add also post parameters. BTW: Is there a simple way to get something like array_merge($_GET, $_POST)["useform"]; in PHP older than 5.4? Excuse my ignorance, I'm a "plain old C" programmer. Nevertheless I would

[pmwiki-users] PmForm on request, edit structured data on pages

2013-01-20 Thread Oliver Betz
be no easy way to select the target page depending on the status: * post successful -> return to the "no form" page * post canceled by user -> return to the "no form" page * post with errors -> return to the form Maybe I'm missign

Re: [pmwiki-users] Uploaded files world readable!?

2013-01-07 Thread Oliver Betz
issions with 0004 doesn't give other customers access to my files. I don't yet know how it works at the other hosting service where Apache is in the same group as the customer accounts. Unless I missed something, the solution with "other" rights for Apache seems smarter

Re: [pmwiki-users] in advanced tables

2013-01-07 Thread Oliver Betz
Hello Petko, hello Patrick, thanks for the clarification. I also think it's not suitable to change the current behaviour. Oliver -- Oliver Betz, Muenchen (oliverbetz.de) ___ pmwiki-users mailing list pmwiki-users@pmichaud.com

Re: [pmwiki-users] in advanced tables

2013-01-07 Thread Oliver Betz
his should be changed in a future PmWiki release to get consistent results? Shall I create a PITS entry? Oliver *) Promoting PmWiki as CMS (which I consider a good thing), I often get feedback that the generated HTML isn't that beautiful. -- Oliver Betz, Muenchen (oliverbetz.de) _

Re: [pmwiki-users] in advanced tables

2013-01-05 Thread Oliver Betz
Is this suitable / intended? > >2. In a cell with more than one paragraph, the first "paragraph" has >no tags if the text is in the same line as the (:cell:) directive: > >(:table:) >(:cell:)Without > >But second paragraph is in >(:cell:)... >(:tableend:)

Re: [pmwiki-users] Uploaded files world readable!?

2012-12-31 Thread Oliver Betz
lexity to the script. Other tests might be time consuming - I don't know. Oliver -- Oliver Betz, Muenchen (oliverbetz.de) ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Re: [pmwiki-users] Uploaded files world readable!?

2012-12-31 Thread Oliver Betz
environments. Maybe it's an interesting option for the Site Analyzer to check the permissions set by default and needed for PHP and web server. Oliver -- Oliver Betz, Muenchen (oliverbetz.de) ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Re: [pmwiki-users] Uploaded files world readable!?

2012-12-31 Thread Oliver Betz
ustomers account. If I understand correctly, other customers on the same server can therefore not only read files written by PmWiki but also write them if they can guess the file path. Oliver -- Oliver Betz, Muenchen (oliverbetz.de) ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Re: [pmwiki-users] Uploaded files world readable!?

2012-12-30 Thread Oliver Betz
posting through gmane seemingly doesn't work, so I send a third reply via mail. Apologies if the other two mails arrive later. Patrick R. Michaud wrote: > > upload.php uses "fixperms($filepath,0444);", therefore uploaded files > > get world read access, correct? > > Why is this needed? > > Shor

Re: [pmwiki-users] Uploaded files world readable!?

2012-12-30 Thread Oliver Betz
t makes the files readable for all other customers on the same server. My original question is: Why is the additional/unconditional 0444 "$add" parameter present in upload.php? Oliver -- Oliver Betz, Muenchen (oliverbetz.de) ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Re: [pmwiki-users] Uploaded files world readable!?

2012-12-30 Thread Oliver Betz
the account owner has sufficient permission to access >the file. > >Longer answer: Some PHP installations run programs under a [...] I think I understood the general intention of fixperms, but the question is, why upload.php _generally_ adds 0444. That's IMO not in the sense

[pmwiki-users] Uploaded files world readable!?

2012-12-26 Thread Oliver Betz
server (and the FTP server) use the same user ID. As far as I see, fixperms without "add" wouldn't add any bits, correct? Oliver -- Oliver Betz, Muenchen (oliverbetz.de) ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Re: [pmwiki-users] Redirect after login, $LoginRedirectFmt?

2012-12-16 Thread Oliver Betz
te with a public area for visitors and a members >> area. After login, members want to see the members news. (would you mind to snip signature and mailing list footer in replies?) >That's a neat idea. > >How are you managing registrations and such? A simple password for mos

Re: [pmwiki-users] Redirect after login, $LoginRedirectFmt?

2012-12-13 Thread Oliver Betz
requires admin privileges). so simple, thanks. I was somewhat focused on not revealing the internal place, but that's not important. Oliver -- Oliver Betz, Muenchen (oliverbetz.de) ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Re: [pmwiki-users] Redirect after login, $LoginRedirectFmt?

2012-12-13 Thread Oliver Betz
rs area. After login, members want to see the members news. Oliver -- Oliver Betz, Muenchen (oliverbetz.de) ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

[pmwiki-users] Redirect after login, $LoginRedirectFmt?

2012-12-12 Thread Oliver Betz
Hello All, how can I redirect to a specific page after a successful login? TIA, Oliver -- Oliver Betz, Muenchen (oliverbetz.de) ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Re: [pmwiki-users] noleft query in skin.php for CSS change

2012-11-08 Thread Oliver Betz
rue". > >Actually, the variable $GLOBALS['TmplDisplay']['PageLeftFmt'] is not yet >defined when your skin.php file is loaded, because the wikitext has not yet >been processed. that's what I guessed, thanks for the confirmation. I will

Re: [pmwiki-users] noleft query in skin.php for CSS change

2012-11-08 Thread Oliver Betz
Hello Hans, [...] >But you could try something like this: >(:noleft:) via the core definition will set variable > >$GLOBALS['TmplDisplay']['PageLeftFmt'] = 0; > >so you could check for that in your skin.php to trigger your style >injections: > >if ($GLOBALS['TmplDisplay']['PageLeftFmt']==0) > {

Re: [pmwiki-users] noleft query in skin.php for CSS change

2012-11-08 Thread Oliver Betz
sh...@joshleepictures.com wrote: >And you cannot do that with Markup('yourmarkupname', 'directives', >'/\\(:noleft:\\)/ei', "YourFunctionThatTriggersWhateverYouNeed()"); ? in current PmWiki these are already defined in the core so I hesitate to redefine them. There should be a cleaner way. Oli

Re: [pmwiki-users] noleft query in skin.php for CSS change

2012-11-07 Thread Oliver Betz
tivated to inject a CSS rule in the HTML (via $HTMLStylesFmt[]). Oliver -- Oliver Betz, Muenchen (oliverbetz.de) ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

[pmwiki-users] noleft query in skin.php for CSS change

2012-11-07 Thread Oliver Betz
Hello All, http://www.pmwiki.org/wiki/Cookbook/RemovingLeftContent is marked obsolete. What is the right way to check for excluded sections like (:noleft:) to change CSS styles accordingly? Oliver ___ pmwiki-users mailing list pmwiki-users@pmichaud.c

[pmwiki-users] in advanced tables

2012-11-04 Thread Oliver Betz
paragraph, the first "paragraph" has no tags if the text is in the same line as the (:cell:) directive: (:table:) (:cell:)Without But second paragraph is in (:cell:)... (:tableend:) IMO that's not clean, both text portions should be . Oliver -- Oliver Betz, Muenchen

  1   2   3   4   5   >