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

Fix default theme not being copied on dev/build #11

Open
sminnee opened this issue Mar 31, 2012 · 0 comments
Open

Fix default theme not being copied on dev/build #11

sminnee opened this issue Mar 31, 2012 · 0 comments

Comments

@sminnee
Copy link
Member

sminnee commented Mar 31, 2012

From http://open.silverstripe.org/ticket/5954

A default theme "blackcandymobile" exists in the mobile module, which is available as a base to start a mobile site.

dev/build will attempt to copy this theme into the SilverStripe? project's theme folder through the use of DataObject::requireDefaultRecords(), provided that it doesn't exist, or if another theme is being used for the mobile theme.

However, this doesn't occur. When installing the module the user has to copy the blackcandymobile folder from the module folder to the themes manually if they would like to use it. This would also be true if write permissions to the themes directory aren't available, which may be true for many cases anyway.

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