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

Create a command to add a controller action + view #6154

Open
tsteur opened this issue Sep 7, 2014 · 0 comments
Open

Create a command to add a controller action + view #6154

tsteur opened this issue Sep 7, 2014 · 0 comments
Labels
Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.

Comments

@tsteur
Copy link
Member

tsteur commented Sep 7, 2014

We already have a command to generate a new controller. But sometimes you have to add a new action to an existing controller.

The command would ask whether one wants to create a blank page, a page with top menu and logo (extends dashboard.twig) or admin page (extends admin.twig).

Note: There is already a method to copy a method from a template to an existing class https://github.com/piwik/piwik/blob/2.6.1/plugins/CoreConsole/Commands/GeneratePluginBase.php#L124

@tsteur tsteur added the Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change. label Sep 7, 2014
@tsteur tsteur added this to the Mid term milestone Sep 7, 2014
@mattab mattab modified the milestones: Long term, Mid term Dec 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.
Projects
None yet
Development

No branches or pull requests

2 participants