|
Re: Edit Page Desc in PHPWiki 1.3.6?: msg#00033web.wiki.phpwiki.talk
On Saturday, December 6, 2003, at 05:43 pm, Michael Wexler wrote: Ok, I understand that the gleandescription function looks at Hi Michael, I'm not really familiar with that part of code myself, so this may be a longshot. Does purging the markup cache of the page bring the description up to date? (add &nocache=purge to the page url you are viewing) If so, try this patch and see if it works. Let me know if this does it, I'll check it into CVS. Carsten Proposed experimental patch: Index: CachedMarkup.php =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/lib/CachedMarkup.php,v retrieving revision 1.7 diff -U2 -r1.7 CachedMarkup.php --- CachedMarkup.php 25 Mar 2003 21:04:41 -0000 1.7 +++ CachedMarkup.php 7 Dec 2003 18:39:05 -0000 @@ -126,5 +126,5 @@ $this->_buf .= "</$item->_tag>"; - if (!isset($this->_description) and $item->getTag() == 'p') + if ($item->getTag() == 'p') $this->_glean_description($item->asString()); } ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: installing phpwiki on a remote server is a nightmare !!: 00033, Dan Sawyer |
|---|---|
| Next by Date: | Re: Restore 'has edit conflicts - skipped' - how to avoid: 00033, Sergio Trejo |
| Previous by Thread: | Remote-Control Boats & Cars - Great Xmas Gifts.....anisei: 00033, Serena Berger |
| Next by Thread: | non breaking spaces added at the top of the pages ...: 00033, Arnaud Fontaine |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |