Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 3.3.0-b1
-
Fix Version/s: 3.3.0-b2
-
Component/s: None
-
Labels:None
Description
The AppController.structure event currently uses strings for each of the content update section, instead it should use an array to ease in appending data (and possibly modifying data).
For example, instead of:
$return_val = $event->getReturnVal(); if (!isset($return_val['body_start'])) $return_val['body_start']; $return_val['body_start'] .= "<p>stuff</p>"; $event->setReturnVal($return_val);
You should be able to:
$return_val = $event->getReturnVal(); $return_val['body_start'][] = "<p>stuff</p>"; $event->setReturnVal($return_val);
Issue Links
- relates to
-
CORE-1371 Event: Allow plugins to set markup in structure files
- Closed
Activity
Cody Phillips (Inactive)
created issue -
Cody Phillips (Inactive)
made changes -
Cody Phillips (Inactive)
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Cody Phillips (Inactive)
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |