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

Overriding views #84

Closed
markjlorenz opened this issue Jun 28, 2011 · 5 comments
Closed

Overriding views #84

markjlorenz opened this issue Jun 28, 2011 · 5 comments

Comments

@markjlorenz
Copy link

Running:
$ rake refinery:override view=blog/∗∗/∗

returns:
Couldn't match any view template files in any engines like blog/∗∗/∗

Other than that the blog engine seems to work fine for me, I've got:
Using rails (3.0.9)
Using refinerycms-base (1.0.3)
Using refinerycms-generators (1.0.2)
Using refinerycms-core (1.0.3)
Using refinerycms-pages (1.0.3)
Using refinerycms-resources (1.0.3)
Using refinerycms (1.0.3)
Using refinerycms-blog (1.6.1)

Did the path change?

@parndt
Copy link
Member

parndt commented Jun 28, 2011

This is a bug in Refinery CMS that will be fixed in 1.0.4
Sorry!

@joemsak
Copy link
Contributor

joemsak commented Jun 28, 2011

This is a known issue and we're working on it

For now, copy/paste the files from github into the correlating
app/(views|controllers|models)/blog/* folder...

Running:

$ rake refinery:override view=blog/*/

returns:
Couldn't match any view template files in any engines like blog/*/

Other than that the blog engine seems to work fine for me, I've got:
Using rails (3.0.9)
Using refinerycms-base (1.0.3)
Using refinerycms-generators (1.0.2)
Using refinerycms-core (1.0.3)
Using refinerycms-pages (1.0.3)
Using refinerycms-resources (1.0.3)
Using refinerycms (1.0.3)
Using refinerycms-blog (1.6.1)

Did the path change?

Reply to this email directly or view it on GitHub:
https://github.com/resolve/refinerycms-blog/issues/84

@joemsak
Copy link
Contributor

joemsak commented Jun 28, 2011

As parndt said, this is a fix for Refinery, not blog, so closing.

@joemsak joemsak closed this as completed Jun 28, 2011
@resistorsoftware
Copy link

This is still a bug in refinery? Using > 1.0.4 and still cannot override blog views?

@derekyau
Copy link

I just tried overriding views in blog using rake refinery:override view=blog/∗∗/∗ and I still get an error.


**UPDATE: weird... I ran it again rake refinery:override view=blog/**/\* and it worked.

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

5 participants