refinerycms

Rails App Refinery+Devise: Can't access Devise views

孤者浪人 提交于 2019-12-08 08:12:19
问题 newbie Rails developer here. I'm trying to create an app that uses Devise for authentication and Refinery for content management. I've followed these tutorials: http://sdownie.com/blogs/integrating-refinery-rails-3-2-into-your-existing-rails-app http://refinerycms.com/guides/with-an-existing-rails-31-devise-app I'm unable to access any of the Devise views on the site. For example when I go to /users/sign_in I get a 404. In my server logs I see the following that makes me think that Refinery

Editing RefineryCMS 2.1 Menu Presenter to manipulate dom_id css and other attributes

六眼飞鱼酱① 提交于 2019-12-07 13:23:31
问题 I am currently trying to update an existing RefineryCMS app from gem version so I can be up to date add bootstrap 3 at the same time. gem "refinerycms", "~> 2.0.10" to gem "refinerycms", "~> 2.1.0" After removing outdated blocks and deleting a couple overridden views from the site's past I have got the site successfully functioning again with its current database's content. Now that Refinery has switched over to the Menu Presenter in exchange of the old partials. How can I add, remove and

Rails App Refinery+Devise: Can't access Devise views

北慕城南 提交于 2019-12-07 03:34:18
newbie Rails developer here. I'm trying to create an app that uses Devise for authentication and Refinery for content management. I've followed these tutorials: http://sdownie.com/blogs/integrating-refinery-rails-3-2-into-your-existing-rails-app http://refinerycms.com/guides/with-an-existing-rails-31-devise-app I'm unable to access any of the Devise views on the site. For example when I go to /users/sign_in I get a 404. In my server logs I see the following that makes me think that Refinery is processing the request instead of the Devise routes: Processing by Refinery::PagesController#show as

Move database from 1.0.9 to 2.0.0

泄露秘密 提交于 2019-12-06 13:21:31
Had some problem with updating it from 1.0.9 , so I made a new project in 2.0.0 and now I just need to move the database. How do I do that ? Got answer on groups.google.com: http://blog.craigambrose.com/past/2012/3/4/upgrading_to_refinery_cms_20/ Pete Higgins :"Craig Ambrose wrote an unofficial guide on upgrading Refinery 1.x to 2.0.x: http://blog.craigambrose.com/past/2012/3/4/upgrading_to_refinery_cms_20/ pete" "I've got an upgrade guide at blog.craigambrose.com which includes a migration. Run the migration in your refinery 1 app then your db should be ready for you refinery 2 code base.

refinerycms not working when adding page

我的未来我决定 提交于 2019-12-06 09:17:42
问题 I'm getting this error when trying to add a new page from the dashboard with refinerycms SQLite3::ConstraintException: refinery_page_translations.refinery_page_id may not be NULL: INSERT INTO "refinery_page_translations" ("created_at", "custom_slug", "locale", "menu_title", "refinery_page_id", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) with the next gemfile gem 'rails', '3.2.14' group :development, :test do gem 'sqlite3' end group :assets do gem 'sass-rails', '~> 3.2.3'

Editing RefineryCMS 2.1 Menu Presenter to manipulate dom_id css and other attributes

北慕城南 提交于 2019-12-06 00:24:45
I am currently trying to update an existing RefineryCMS app from gem version so I can be up to date add bootstrap 3 at the same time. gem "refinerycms", "~> 2.0.10" to gem "refinerycms", "~> 2.1.0" After removing outdated blocks and deleting a couple overridden views from the site's past I have got the site successfully functioning again with its current database's content. Now that Refinery has switched over to the Menu Presenter in exchange of the old partials. How can I add, remove and edit the classes of all elements within the new Menu Presenter system? I would like to have control of the

RefineryCMS 2.1.0 and Zurb 4 Top menu with dropdown navigation

心已入冬 提交于 2019-12-05 01:59:07
问题 I'm trying to use Zurb foundation to style an app built with the latest version of refinery. I began by following this guide http://blog.flatironschool.com/post/54511602806/build-a-blog-based-site-with-refinerycms but the latest version of refinery uses "menu-presenter" to layout the menu. I have got this far: module ApplicationHelper def zurb_menu menu_items = Refinery::Menu.new(Refinery::Page.in_menu) presenter = Refinery::Pages::MenuPresenter.new(menu_items, self) presenter.css = "top-bar

Problems installing imagemagick

别来无恙 提交于 2019-12-04 16:20:17
问题 Im trying to start my first refinery cms project, and am already having trouble. I am trying to get imagemagick going, and am getting errors. I looked on stackoverflow about changing permissions to my profile, or the directories that have problems, also uninstalling and reinstalling, but so far no luck. I was hoping maybe someone could walk me through fixing this. Thanks so much. Mac-Pro:local user$ brew install imagemagick Error: You must `brew link jpeg' before imagemagick can be installed

How to install Refinery CMS using Rails 4

百般思念 提交于 2019-12-04 07:17:04
I previously never had a problem with Refinery. I was refreshing my knowledge by following along to the tutorial http://railscasts.com/episodes/332-refinery-cms-basics .Then when I created a new app with Refinery CMS, I got this error Bundler could not find compatible versions for gem "actionmailer": In Gemfile: refinerycms (~> 2.1.0) ruby depends on actionmailer (< 3.3, >= 3.1.3) ruby rails (= 4.0.0) ruby depends on actionmailer (4.0.0) But should not these things be there by default with the CMS? why would there be errors only now? Ben Well, my five cents are that Refinery is not yet

RefineryCMS 2.1.0 and Zurb 4 Top menu with dropdown navigation

我的梦境 提交于 2019-12-03 17:30:27
I'm trying to use Zurb foundation to style an app built with the latest version of refinery. I began by following this guide http://blog.flatironschool.com/post/54511602806/build-a-blog-based-site-with-refinerycms but the latest version of refinery uses "menu-presenter" to layout the menu. I have got this far: module ApplicationHelper def zurb_menu menu_items = Refinery::Menu.new(Refinery::Page.in_menu) presenter = Refinery::Pages::MenuPresenter.new(menu_items, self) presenter.css = "top-bar-section" presenter.dom_id = nil presenter.menu_tag = :section presenter.list_tag = "ul class='left'"