Details
-
Type: New Feature
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 3.2.0
-
Fix Version/s: 3.3.0-b1
-
Component/s: None
-
Labels:None
Description
Plugins need the ability to inject markup into structure files. This should add a new event called Appcontroller.structure, triggered when a URI is requested by a method other than asynchronously (i.e. not AJAX).
Parameters include:
- controller The controller being invoked
- action The controller action being invoked
- portal ('client' or 'admin')
Return values include:
- An array containing key/value pairs to set in the structure file. Any variables can be set, but special keys include:
- head (string) Markup to set in the <head>
- body_start (string) Markup to set at the beginning of <body>
- body_end (string) Markup to set at the end of <body>
Each plugin must exercise care not to overwrite the return values set by prior executed plugins (e.g. append to head, body_start, etc.)
Issue Links
- relates to
-
CORE-1421 Update AppController.structure event to use arrays
- Closed
Activity
Paul Phillips
created issue -
Cody Phillips (Inactive)
made changes -
Field | Original Value | New Value |
---|---|---|
Summary | Add Event: Allow plugins to set javascript file in admin/client structure | Add Event: Allow plugins to set markup in structure files |
Cody Phillips (Inactive)
made changes -
Description | Plugins need to be able to load javascript in the structure of admin and client pages. Create an event to do so. |
Plugins need the ability to inject markup into structure files. This should update the Appcontroller.preAction event, by passing in parameters for:
* controller The controller being invoked * action The controller action being invoked * portal ('client' or 'admin') Return values include: * vars (array) An array of key/value variable to set in the structure file. * head (string) Markup to set in the <head> * body_start (string) Markup to set at the beginning of <body> * body_end (string) Markup to set at the end of <body> |
Cody Phillips (Inactive)
made changes -
Summary | Add Event: Allow plugins to set markup in structure files | Event: Allow plugins to set markup in structure files |
Cody Phillips (Inactive)
made changes -
Description |
Plugins need the ability to inject markup into structure files. This should update the Appcontroller.preAction event, by passing in parameters for:
* controller The controller being invoked * action The controller action being invoked * portal ('client' or 'admin') Return values include: * vars (array) An array of key/value variable to set in the structure file. * head (string) Markup to set in the <head> * body_start (string) Markup to set at the beginning of <body> * body_end (string) Markup to set at the end of <body> |
Plugins need the ability to inject markup into structure files. This should update the Appcontroller.preAction event, by passing in parameters for:
* controller The controller being invoked * action The controller action being invoked * portal ('client' or 'admin') Return values include: * vars (array) An array of key/value variable to set in the structure file. * head (string) Markup to set in the <head> * body_start (string) Markup to set at the beginning of <body> * body_end (string) Markup to set at the end of <body> Each plugin must exercise care not to overwrite the return values set by prior executed plugins (e.g. append to head, body_start, etc.) |
Cody Phillips (Inactive)
made changes -
Description |
Plugins need the ability to inject markup into structure files. This should update the Appcontroller.preAction event, by passing in parameters for:
* controller The controller being invoked * action The controller action being invoked * portal ('client' or 'admin') Return values include: * vars (array) An array of key/value variable to set in the structure file. * head (string) Markup to set in the <head> * body_start (string) Markup to set at the beginning of <body> * body_end (string) Markup to set at the end of <body> Each plugin must exercise care not to overwrite the return values set by prior executed plugins (e.g. append to head, body_start, etc.) |
Plugins need the ability to inject markup into structure files. This should update the Appcontroller.preAction event, by passing in parameters for:
* controller The controller being invoked * action The controller action being invoked * portal ('client' or 'admin') Return values include: * An array containing key/value pairs to set in the structure file. Any variables can be set, but special keys include: ** head (string) Markup to set in the <head> ** body_start (string) Markup to set at the beginning of <body> ** body_end (string) Markup to set at the end of <body> Each plugin must exercise care not to overwrite the return values set by prior executed plugins (e.g. append to head, body_start, etc.) |
Cody Phillips (Inactive)
made changes -
Description |
Plugins need the ability to inject markup into structure files. This should update the Appcontroller.preAction event, by passing in parameters for:
* controller The controller being invoked * action The controller action being invoked * portal ('client' or 'admin') Return values include: * An array containing key/value pairs to set in the structure file. Any variables can be set, but special keys include: ** head (string) Markup to set in the <head> ** body_start (string) Markup to set at the beginning of <body> ** body_end (string) Markup to set at the end of <body> Each plugin must exercise care not to overwrite the return values set by prior executed plugins (e.g. append to head, body_start, etc.) |
Plugins need the ability to inject markup into structure files. This should add a new event called *Appcontroller.structure*, triggered when a URI is requested synchronously (i.e. not AJAX).
Parameters include: * controller The controller being invoked * action The controller action being invoked * portal ('client' or 'admin') Return values include: * An array containing key/value pairs to set in the structure file. Any variables can be set, but special keys include: ** head (string) Markup to set in the <head> ** body_start (string) Markup to set at the beginning of <body> ** body_end (string) Markup to set at the end of <body> Each plugin must exercise care not to overwrite the return values set by prior executed plugins (e.g. append to head, body_start, etc.) |
Cody Phillips (Inactive)
made changes -
Description |
Plugins need the ability to inject markup into structure files. This should add a new event called *Appcontroller.structure*, triggered when a URI is requested synchronously (i.e. not AJAX).
Parameters include: * controller The controller being invoked * action The controller action being invoked * portal ('client' or 'admin') Return values include: * An array containing key/value pairs to set in the structure file. Any variables can be set, but special keys include: ** head (string) Markup to set in the <head> ** body_start (string) Markup to set at the beginning of <body> ** body_end (string) Markup to set at the end of <body> Each plugin must exercise care not to overwrite the return values set by prior executed plugins (e.g. append to head, body_start, etc.) |
Plugins need the ability to inject markup into structure files. This should add a new event called *Appcontroller.structure*, triggered when a URI is requested by a method other than asynchronously (i.e. not AJAX).
Parameters include: * controller The controller being invoked * action The controller action being invoked * portal ('client' or 'admin') Return values include: * An array containing key/value pairs to set in the structure file. Any variables can be set, but special keys include: ** head (string) Markup to set in the <head> ** body_start (string) Markup to set at the beginning of <body> ** body_end (string) Markup to set at the end of <body> Each plugin must exercise care not to overwrite the return values set by prior executed plugins (e.g. append to head, body_start, etc.) |
Cody Phillips (Inactive)
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Cody Phillips (Inactive)
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Cody Phillips (Inactive)
made changes -