Skip to content

Fixed a php warning related to getModuleDir and created a modman file to make deployments easier. #10

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

Closed
wants to merge 2 commits into from

Conversation

mreeves1
Copy link

Explanation in the commit comments.

mreeves1 added 2 commits June 29, 2013 23:30
I tested this in Magento EE 1.12 but I assume it will work in others. 
The method Mage::getModuleDir expects 2 arguments:
public static function getModuleDir($type, $moduleName)
    {
        return self::getConfig()->getModuleDir($type, $moduleName);
    }
A good reference on this:
http://alanstorm.com/magento_base_directories

Unfortunately it doesn't recognize "Helper" as an argument so I just use an empty string and then prepend Helper before the filename.
The best idea is to also copy magento_extension/src/* into a directory called Zendesk_Zendesk in the .modman directory (as a git submodule).
@rjocoleman rjocoleman mentioned this pull request Jul 29, 2013
@jwswj
Copy link
Contributor

jwswj commented Jul 30, 2013

Replaced with #12, modman being looked at #11

@jwswj jwswj closed this Jul 30, 2013
@jwswj
Copy link
Contributor

jwswj commented Jul 30, 2013

Thanks for the contribution @mreeves1

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

Successfully merging this pull request may close these issues.

2 participants