-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ability to hook into generic CP page output production after session has started #1557
Comments
@jcogs-design It's been a while since this was requested, but I think we could add Do you think that will cover what you need here? |
To be honest I'm not aware of the core_boot hook - as mentioned in opening post what would work would be anything that allows a process to be run after the member status has been determined: the request came from a need to put a marker on a CP page depending on role of logged in member - currently the only way we found was to load a trigger element that fired a js process after template was constructed that ran an ajax job to determine current role and the insert html into page based on what that determined; a solution that is rather long-winded and would not work for some purposes. A better option would be something equivalent to |
So for this case, you actually need the hook to run after the views have been compiled (or at least fetched), so you could inject your own HTML there, is that correct? With the |
OK - sounds like that might work. |
Add / amend EE so that either / or:
Either of these options would provide some mechanism to add dynamic elements to a generic CP page that could reflect (for example) the role / status of the member currently logged in: something that appears not to be possible currently.
The text was updated successfully, but these errors were encountered: