From: John C. <joh...@ua...> - 2004-07-15 13:28:34
|
Reini, I see that. The problem is that the $section, $lines, etc... are using the $c variable, so their output isn't getting used with the current cvs version. The effect is that you cannot use the section, lines, words or bytes attributes. Moving the $ct = implode("\n", $c); line below the 4 'if' statements does fix that, but I see now that it bypasses the recursive plugin preg_match. I moved the preg_match below the implode line but my blog page doesn't show the recursive include :-) (BTW, that's a bug in the blog plugin) because the sortby=-mtime doesn't appear to be working ;-( Looking at the sortby, I see that it's in the db handlers, so I changed mine form SQL to ADODB, and it still isn't working. Here is another stab at the patch that fixes the words attribute (I have not tested section, lines or bytes) but the sortby=[+-]mtime does not work. Thanks, John Cole -----Original Message----- From: php...@li... [mailto:php...@li...]On Behalf Of Reini Urban Sent: Thursday, July 15, 2004 4:08 AM To: php...@li... Subject: Re: [Phpwiki-talk] patch for UnfoldSubpages plugin... John Cole schrieb: > Here is a patch for UnfoldSubpages. I just moved one line so that the > arguments would get processed. John, your patch is not correct. $ct is needed for preg_match. What was the problem? -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ Phpwiki-talk mailing list Php...@li... https://lists.sourceforge.net/lists/listinfo/phpwiki-talk ------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. |