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

\vendor\dkcwd\dkcwd-zf2-munee\DkcwdZf2Munee\View\Helpers where is the .php file call? #7

Open
ghost opened this issue Sep 26, 2014 · 3 comments

Comments

@ghost
Copy link

ghost commented Sep 26, 2014

Hi
inside every helper file you must use:
munee.php?...
Otherwise nothing work i have a blank page
\vendor\dkcwd\dkcwd-zf2-munee\DkcwdZf2Munee\View\Helpers

Inside \public\ folder
you must copy the monee downloaded original library
and create the munee.php file
following te original documentation.
In this way all work fine

@dkcwd
Copy link
Owner

dkcwd commented Sep 26, 2014

Hi I originally replaced the call to the file with a simple route....see (https://github.com/dkcwd/dkcwd-zf2-munee/blob/master/config/module.config.php).

The route utilises a controller action I made (MuneeController::muneeAction()) so users wouldn't need to do anything other than add the relevant dependencies to their projects.

It's been a while since I made this so I will have a look at updating it, thanks for giving it a go and letting me know about the issue. I expect the module needs to have a total overhaul given several changes in ZF2 and I'll take a look on Sunday.

@ghost
Copy link
Author

ghost commented Sep 26, 2014

Hi thanks for your raply but not work for me.
Looking to the original project of monee copied inside my public folder,
Your controller does not invoke the monee like the original code does:
I have a munee.php file inside the public folder:

// Define webroot
define('WEBROOT', DIR);
// Include Munee's autoload.php file
require '../public/munee/autoload.php';
// Echo out the response
echo \Munee\Dispatcher::run(new \Munee\Request());

I moved your module inside my module folder not in vendor folder so i changed all the helpers to call the munee.php file. In this way the project work fine.
No problem i solved in this way.
Thanks

@dkcwd
Copy link
Owner

dkcwd commented Sep 26, 2014

Glad you managed to find a workaround. I need to review it, fix major bugs and get a timeline in place for improvements.

Thanks for giving it a go.

:-)

On 27 Sep 2014, at 2:23, mediawest [email protected] wrote:

Hi thanks for your raply but not work for me.
Looking to the original project of monee copied inside my public folder,
Your controller does not invoke the monee like the original code does:
I have a munee.php file inside the public folder:

// Define webroot
define('WEBROOT', DIR);
// Include Munee's autoload.php file
require '../public/munee/autoload.php';
// Echo out the response
echo \Munee\Dispatcher::run(new \Munee\Request());

I moved your module inside my module folder not in vendor folder so i changed all the helpers to call the munee.php file. In this way the project work fine.
No problem i solved in this way.
Thanks


Reply to this email directly or view it on GitHub.

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

1 participant