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

Issue when creating new theme when prefix distinct to "sf" #3

Open
roldan opened this issue May 26, 2011 · 3 comments
Open

Issue when creating new theme when prefix distinct to "sf" #3

roldan opened this issue May 26, 2011 · 3 comments

Comments

@roldan
Copy link
Contributor

roldan commented May 26, 2011

In line 11 of "lib/task/sfThemeBaseTask.class.php"

// Get Theme Configuration
if (!class_exists($configClass = sprintf('sf%sThemeConfiguration', sfInflector::camelize($theme)))) 
{
     throw new InvalidArgumentException(sprintf('No theme configuration class exists for "%s".  Please create a %s class',     $theme, $configClass));
}

Can i use distint prefix instead "sf". I use "mr". How can i avoid this exception?
Thanks,
Matías

@roldan
Copy link
Contributor Author

roldan commented May 26, 2011

I think that using a "--plugin" parameter could work... what do you think?

@bshaffer
Copy link
Owner

I would rather have a --config-class parameter for this, which defaults to the above if not specified

@roldan
Copy link
Contributor Author

roldan commented May 27, 2011

Yep, in the weekend i'll try to do a pull request for this issue.

@roldan roldan closed this as completed May 27, 2011
@roldan roldan reopened this May 27, 2011
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

2 participants