Skip to content
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

feat: Twigify Portal Quick Start landing page. Prep for plugin support. #7116

Closed
sjpadgett opened this issue Dec 18, 2023 · 2 comments · Fixed by #7117
Closed

feat: Twigify Portal Quick Start landing page. Prep for plugin support. #7116

sjpadgett opened this issue Dec 18, 2023 · 2 comments · Fixed by #7117
Assignees
Labels
developers This issue targets an issue that is for developers/collaborators/module writers/technical users Feature Enhancement Changing a current feature for better usage.
Milestone

Comments

@sjpadgett
Copy link
Sponsor Member

Since I'm planning to support various dependency injections, view events and/or various hooks, converting from a PHP template will allow for cleaner implementation and will expose dashboard to existing twig resources.
I plan to use this as an example case for injecting one or two canned plugins until a plugin registration process can be implemented.
Will develop the initial controller, services and location tree as initial backbone to build out.

I think it would be prudent to have a simpler plugin option for items where a full module is overkill.

@sjpadgett sjpadgett added Feature Enhancement Changing a current feature for better usage. developers This issue targets an issue that is for developers/collaborators/module writers/technical users labels Dec 18, 2023
@sjpadgett sjpadgett self-assigned this Dec 18, 2023
@mdsupport
Copy link
Contributor

simpler plugin option for items where a full module is overkill

If you want to keep existing code mostly untouched, you can explore approach similar to one posted here. Basic idea is to use globals.php as a proxy for the controller that gets parent-child relationships stored in the dictionary tables for a given script. Component (or plugin in your case) actions on the standard script output are performed in a specific order by plugin object methods before final result is sent to the browser.

Best.

@sjpadgett
Copy link
Sponsor Member Author

Closed per PR. Added events to plugin new dashboard cards.

@adunsulag adunsulag added this to the 7.0.2.1 milestone Apr 23, 2024
@adunsulag adunsulag changed the title Twigify Portal Quick Start landing page. Prep for plugin support. feat: Twigify Portal Quick Start landing page. Prep for plugin support. May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
developers This issue targets an issue that is for developers/collaborators/module writers/technical users Feature Enhancement Changing a current feature for better usage.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants