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

Problems to use the plugin #2

Closed
olivierNK1 opened this issue Jan 7, 2016 · 4 comments
Closed

Problems to use the plugin #2

olivierNK1 opened this issue Jan 7, 2016 · 4 comments

Comments

@olivierNK1
Copy link

Hello,
I have problems to use your plugin (cakePHP v3.1)
To enable the extensions I add this line to routes.php file: "Router :: extensions (['xlsx']);"
The "AddTable" method does not seem to exist

Is the documentation is up to date, or is something missing?
Thank you

@cewi
Copy link
Owner

cewi commented Jan 7, 2016

Sorry. I recently renamed the method "addTable" to "addWorksheet" and forgot to update the docs.
Please note: you've also to load the plugin in your bootstrap.php and to include RequestHandlerComponent in your controller.
HTH.

@olivierNK1
Copy link
Author

Thank you for your answer.
Can you update the documentation by adding these details?
Thank you

@cewi
Copy link
Owner

cewi commented Jan 7, 2016

already did ;-)

@cewi cewi closed this as completed Jan 8, 2016
@Dariozic
Copy link

Hi, I'm working with cakephp 3.6, I have setted all the configurations and created the folders.
Upload an excel file works, but generate a worksheet doesn't.
It seems to not read the extensions, articles.xlsx is recognzed as a controller
"Articles.xlsxController could not be found."
Can you helpme please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants