This is the tracker for the Core of the Nucleus CMS-project (Nucleus CMS Website)
FS#16 — event_PreSkinItem and event_PreComment problems
| Bug | |
| Plugin API | |
| CLOSED | |
| No-one | |
| All |
| Medium | |
| Normal | |
| 3.2 | |
| Undecided | |
| Undecided | |
|
|
1. event_PreSkinItem cannot modify skin contents.
To enable this, modify line 147 of SKIN.php to
Code:
$manager->notify('PreSkinParse',array('skin' => &$this, 'type' => $type, 'contents' => $contents));
Then there's 3rd parameter in the array, which has real skin contents.
2. event_PreComment doesn't know item id.
The passed comment structure doesn't have item id field.
To change this, add 'c.citem as itemid' in line 73 of COMMENTS.php.
See: http://forum.nucleuscms.org/viewtopic.php?t=6266
To enable this, modify line 147 of SKIN.php to
Code:
$manager->notify('PreSkinParse',array('skin' => &$this, 'type' => $type, 'contents' => $contents));
Then there's 3rd parameter in the array, which has real skin contents.
2. event_PreComment doesn't know item id.
The passed comment structure doesn't have item id field.
To change this, add 'c.citem as itemid' in line 73 of COMMENTS.php.
See: http://forum.nucleuscms.org/viewtopic.php?t=6266
This task depends upon
This task blocks these from closing
Date: Monday, 14 March 2005, 09:51PM
Reason for closing: Implemented
Additional comments about closing: changes are in CVS