Re: [pmwiki-users] AsSpaced PTV (definition list)

2012-07-30 Thread a . sonderhoff
Dear Mark As far as I know PTVs do allow spaces, e. g. (:somePTV: a string with spaces:). Or are you referring to PTV names? Regards Josh On Jul/30, 2012, at 0846 , Mark Stephen Barralet wrote: > As PTVs do not allow spaces I would like to format the output 'Name' of > definition list ( Name

Re: [pmwiki-users] Empty Pages

2012-07-16 Thread a . sonderhoff
Hi Bernd, are you using the latest version of PmWiki? This problem often occurs when your service provider updates the php server software and you are running an old version of PmWiki. Updating PmWiki usually solves the problem in that case. If it does not, can you check if the files in your pa

Re: [pmwiki-users] search and replace over multiple / all pages

2012-07-06 Thread a . sonderhoff
hi clemens if you want to have a really quick and dirty (and ultrafast) way to change the links, you could simply override them client side with jquery. of course this comes with the usual drawbacks (clients need to have javascript enabled and the additional overhead of loading the jquery frame

Re: [pmwiki-users] output encoding problem iso latin 1 / utf-8

2012-07-05 Thread a . sonderhoff
just figured the problem out myself. my local config.php for the en field was missing $FarmD/ in the path for the utf-8 script. curiously this did not matter on the dev server though, probably because of differences in the mod_rewrite configuration. sorry for bothering you guys. take care josh

[pmwiki-users] output encoding problem iso latin 1 / utf-8

2012-07-05 Thread a . sonderhoff
I just transferred a site from the dev to the live server and encountered a strange behavior: on one field of the farm (the main field) the encoding is perfectly as expected (utf-8, same as outputted by dev server), on the other field it is partially utf-8 (e. g. ) and the rest renders in iso la

Re: [pmwiki-users] WikiSh t_string error

2012-07-04 Thread a . sonderhoff
the obvious next question would be: does the error message only occur on pages where WikiSh is used? On Jul/04, 2012, at 0406 , adam overton wrote: > hi there > indeed, after digging around a little bit, it seems to be on only a few > pages, but not the whole site. that said, WikiSh isn't used

Re: [pmwiki-users] how to use HTML5

2012-07-03 Thread a . sonderhoff
Lars: I don’t think that Paul asked how to accomodate the needs of the editors of PmWiki’s original target audience, nor that he asked how to completely implement every aspect of HTML5 and YAML4 in PmWiki. > I am reading a book on HTML5 and I am interested in creating a new skin , > based on YA

Re: [pmwiki-users] very strange behavior

2012-07-03 Thread a . sonderhoff
Hey Peter Can you tell us how you set the password for the specific site/sites (whether it’s a sitewide password in config.php, etc.) Groetjes Josh -- GASSI TV® brand & marketing office +49 2238 4629519 mobile +49 1511 5794189 fax+49 2238 963023 email web movin

Re: [pmwiki-users] how to use HTML5

2012-07-03 Thread a . sonderhoff
> However, all wikis including PmWiki, are somewhat more presentational than > the spirit of HTML specs call for. A wiki is a compromise. It is a quick > and easy way for naïve users to write sort-of HTML without having to learn > HTML. > […] > I think you need to ask why you want HTML 5. If you

Re: [pmwiki-users] WikiSh t_string error

2012-07-03 Thread a . sonderhoff
does this error pop up on every site in your wiki? or just a couple of them? On Jul/03, 2012, at 0047 , adam overton wrote: > > hi there! > i've been away from one of my sites for awhile, not making any real changes, > and up popped the following message recently. > > > Parse error: syntax

Re: [pmwiki-users] Email Spam

2012-06-14 Thread a . sonderhoff
hi wade check out this recipe: it’s simple and seems to work. we are using it for years now and our spam amount is reasonably low. take care josh -- GASSI TV® brand & marketing office +49 2238 4629519 mobile +49 1511 5794189 fax+49 2238 96302

[pmwiki-users] is it possible to make (:keywords …:) accessible as a PageVariable?

2012-06-12 Thread a . sonderhoff
We are currently looking to create keyword related landing pages. As our editors have already entered all the necessary content in the (:keywords:) directive the most convenient way would be to use a (:pagelist $Keywords=*keyword*:). But then I found out that there is no PageVariable $Keywords.

Re: [pmwiki-users] PmWiki cookbook recipe for Anti-virus scanning

2012-05-25 Thread a . sonderhoff
Long answer: Given the amount of interfacing and server side issues (especially file transfer), I don’t think that such a script could be easily written in a mere couple of hours. I am not even close to being a real programmer though, so maybe someone can figure out an easy way to do this in jus

Re: [pmwiki-users] Anti-virus scanning & PmWiki

2012-05-20 Thread a . sonderhoff
Antivirus scanning is something you really don’t want a php script to perform. You would face script timeouts, slow performance, memory issues, etc. So unless you want to prepackage PmWiki with a server OS bundle and throw in apache, clamav, php-clamav, etc, it is not doable. There are far to ma

Re: [pmwiki-users] Solved: How do you creating one, wiki-wide, Upload Directory on Local Site, not remote site?

2012-05-19 Thread a . sonderhoff
For all those interested in FOSS-based approaches to virus scanning for web app servers, this is an article I found while researching whether there was an easy solution to Al’s request: On May/19, 2012, at 0019 , tamouse ma

Re: [pmwiki-users] edit passwd?

2012-05-18 Thread a . sonderhoff
hi jdd can you tell me the page’s attributes? (just add ?action=attr to the url and you will get the attributes) josh On May/18, 2012, at 0832 , jdd wrote: > Hello :-) > > I have this in my config.php: > > $DefaultPasswords['admin'] = crypt('x'); > $DefaultPasswords['edit'] = crypt('yyy

Re: [pmwiki-users] How do you creating one, wiki-wide, Upload Directory on Local Site, not remote site?

2012-05-17 Thread a . sonderhoff
Dear Al, obviously this can’t work. your remote config.php will only affect the remote settings and therefore only manipulate the remote file system. to achieve what you want to do, you will… 1) …either have to mirror the site using something like rsync’ing with the help of a cron job (and ha

Re: [pmwiki-users] How do you creating one, wiki-wide, Upload Directory on Local Site, not remote site?

2012-05-17 Thread a . sonderhoff
> >> $UploadDir = "C:/public_html/pmwiki/uploads"; > >> $UploadUrlFmt = > >> "http://www.politicaltransformation.org/htdocs/pmwiki/uploads";; did you put these lines in your local or remote site’s local/config.php? josh On May/17, 2012, at 1414 , Al Louis Ripskis wrote: > May 16, 2012 10:11 PM

Re: [pmwiki-users] Keeping links while moving files between different PmWiki sites

2012-05-17 Thread a . sonderhoff
Dear Patrick I am not aware of any out-of-the-box solution to your problem. Are all the pages you are moving in the same group? Or are all the pages referred to from the moved pages in the same group? Groetjes Josh On May/16, 2012, at 0848 , Patrick Van Cauteren wrote: > > > I am moving a

Re: [pmwiki-users] Question about RACT

2012-05-17 Thread a . sonderhoff
Hi Mingyuan Apparantly the RACT Toolbox page () uses PmWiki as their CMS, which led you to post your question to the pmwiki-users mailing list. This mailing list is only about the PmWiki CMS and _NOT_ the content of every site which uses PmWiki as

Re: [pmwiki-users] Enabling autosave

2012-05-12 Thread a . sonderhoff
Hi Pranav just edit yout Site.EditForm page and insert (:autosave:) on its own line to the content. Press save and you are already on your way. Take care Josh On May/12, 2012, at 1557 , Pranav Lal wrote: > Hi all, > > I am trying to enable autosave from > http://www.pmwiki.org/wiki/Cookbook/

Re: [pmwiki-users] using PTVs from pagelists in skin scripts (or how to register a new PV)

2012-05-12 Thread a . sonderhoff
Hi Peter, thanks a lot for your advice. I had a look at Hans’ powertools recipe, but then opted for the quick and dirty solution to use (:setSomeVar {=$FullName}:) in the pagelist template (together with the markup to translate the directive into a global variable) to work around the PTV limita

Re: [pmwiki-users] using PTVs from pagelists in skin scripts (or how to register a new PV)

2012-05-12 Thread a . sonderhoff
Dear Hans, > I don't understand why you want to include a php script that way or > any other way inside the tmpl file. The tmpl file is processed late, > and you bound to have problems with the script. The script is my own html5 video with flash fallback script. It serves the same mp4 as html5 v

Re: [pmwiki-users] using PTVs from pagelists in skin scripts (or how to register a new PV)

2012-05-11 Thread a . sonderhoff
Peter, thx so much for your reply. I was suspecting that much. That’s why I tried to write some markup to actually register a real PV (with <{$var} priority), but I couldn’t get that to work beyond the scope of a single page. As far as I can tell, the problem breaks down this single question: W

[pmwiki-users] using PTVs from pagelists in skin scripts (or how to register a new PV)

2012-05-11 Thread a . sonderhoff
Here is my problem. #1 and #2 are for further background only. I am basically trying to use PVs and PTVs of the newest page in a certain group when visiting another page in another group within a script referenced by the active skin’s .tmpl file by using a pagelist. 1) I have a simple custom sk

Re: [pmwiki-users] how to access configuration variables from skin scripts

2012-03-24 Thread a . sonderhoff
> Sorry for my late reply. You are using PmWiki in unusual ways so I had to find > some time to test the thing. guilty as charged ^^ > You can set this line in pub/skins/yourskin/yourskin.php if you declare the 4 > variables global. this does the trick. is there a way to additionally suppress t

Re: [pmwiki-users] text and image as link content in same [[ ]]

2012-03-24 Thread a . sonderhoff
Dear Dominique, Thanks for your reply. I had a look at the recipe’s page (http://www.pmwiki.org/wiki/Cookbook/DomTT) and could not quite find the functionality I am looking for. The DomTT recipe does not allow me to put an image and text content in the same [[ ]] pmwiki link markup. Best rega

[pmwiki-users] text and image as link content in same [[ ]]

2012-03-11 Thread a . sonderhoff
Hi I am trying to put some text and an image in the same link markup: [[ linktarget | some text goes here http://host/image.ext ]] This is necessary in order to trigger the hover state of the text when the mouse cursor moves over the image. This also why I cannot use separate link markups, e. g

Re: [pmwiki-users] how to access configuration variables from skin scripts

2012-03-11 Thread a . sonderhoff
Dear Petko Apologies for my delayed reply and many thanks for your answers. Your hint with the globals declaration works great (I did try to access the globals with the globals array only and not by declaring them global in my script, which was my error). > $HandleBrowseFmt = array(&$PageStart

[pmwiki-users] how to access configuration variables from skin scripts

2012-02-25 Thread a . sonderhoff
hi I am currently working on a skin with multiple templates, where most of the content is loaded from page variables (using the functions described in http://www.pmwiki.org/wiki/Cookbook/Functions). 1) Basically I have a lot of in my tmpl to fire the scripts that merge the page variables and

Re: [pmwiki-users] Password protection not working

2011-11-10 Thread a . sonderhoff
yue, can you tell me what 5.3 version you are using? 5.3.7? according to there is a confirmed md5 crypt specific to php 5.3.7. if you are using 5.3.7, you should upgrade to 5.3.7-p11 or 5.3.8. josh -- ALJOSCHA SONDERHOFF brand & marketing office +49 223

Re: [pmwiki-users] Password protection not working

2011-11-10 Thread a . sonderhoff
checked the supplied link. most interestingly Main.HomePage?action=attr shows the edit password set by site. still (:if auth edit:) evaluates to true for non-logged in users while (:if auth admin:) evaluates to false. can you post the contents of your entire local/config.php? (minus clear passw

[pmwiki-users] Referencing Page Variables through multiple pages / use markup expressions as pagename base for page variable path / AuthUser htpasswd behavior

2011-11-06 Thread a . sonderhoff
Dear Petko, thanks for the help. Still more questions… 1) Page1's title is set to something like “MyTitle” Page2's title is set to “{Page1$Title}” and Page3's title is set to “{Page2$Title}”. Is the expected behavior that Page3's title reads “{Page1$Title}” and not “MyTitle̦”? 2) Is there a wa

[pmwiki-users] Page Variable for Original Author

2011-11-05 Thread a . sonderhoff
Is there an easy way to have something like {$LastModifiedBy} for the original author of a page, e. g. {$FirstModifiedBy} or something similar? I am currently setting up a blog system where I need the original author named automatically. Also, I am looking for a recipe which can automatically cr

Re: [pmwiki-users] mod EditForm to parse certain directives and preprend them to the content after submitting

2011-11-05 Thread a . sonderhoff
Dear Petko thanks for pointing me to these recipes. I managed to configure EditAttributes with some quick and dirty javascript hacks to do the job. I noticed though, that there is a major bug in the recipe when handling checkboxes. it will only set the PTV to 1 once. if you want to set it to 0

[pmwiki-users] mod EditForm to parse certain directives and preprend them to the content after submitting

2011-11-01 Thread a . sonderhoff
Dear PmWiki community, I am looking for a way to modify the edit form (preferably by writing a new Cookbook recipe) to be a little more n00b-friendly. ^_~ on gassi-tv.de we are using a lot of directives (variables and page text variable declarations) to control certain modules, e. g. whether the

Re: [pmwiki-users] Looking for articles/reviews about PmWiki

2011-10-02 Thread a . sonderhoff
>> I see many webdesigners using wordpress as a basis for their work > ... >> Maybe PmWiki, if it would have been visually >> more attractive at first sight, could have suit their need too. > > Maybe. But those people are curiuos and educated so I think they know what > they're doing. > > They m

Re: [pmwiki-users] pagelist / searchresults with weighted search

2011-07-29 Thread a . sonderhoff
Thanks for the suggestion, but I am more of a designer and less of a real developer. I tend to get lost in complex existing code like the PmWiki internal functions. I managed to fork Gilles' suggested cookbook recipe (SortByScore) and change it to suit my purpose for now. It's still some kind of

[pmwiki-users] pagelist / searchresults with weighted search

2011-07-28 Thread a . sonderhoff
With several PmWiki powered pages I am experiencing limitations in the Search functionality to a point where searching is nearly useless. This happens when there are a lot of pages (100+) with a large amount of content (50+ words). What happens is, that when using certain search terms, the page