Questions tagged [locomotivecms]

LocomotiveCMS is a CMS that is based on Ruby on Rails.

LocomotiveCMS is a CMS that is based on Ruby on Rails. LocomotiveCMS allows you to create custom models. It uses MongoDB for storage. Offers a very stylish back office, that's easy to use for content editors.

Look at locomotivecms.com for more info. There is also a good unofficial getting started guide.

This tag is a good fit for questions about

  • Configuring LocomotiveCMS
  • Using wagon to edit themes
  • Deploying LocomotiveCMS
  • Customizing LocomotiveCMS
92 questions
1
vote
3 answers

ruby - Dragonfly - Force CMYK to RGB conversion when doing thumbnails

I'm using a nice enough cms (locomotive(github)) to allow some non-tech savy users to upload pictures to the system. The program is able to resize and crop pictures to any given size. Trouble is, Internet explorer doesn't know how to deal with…
kikito
  • 51,734
  • 32
  • 149
  • 189
1
vote
0 answers

Visual Studio Code: Multiple spaces-per-tab setting in a single file - possible?

I am working with Liquid files (.liquid extension) that have a YAML section at the start. e.g. settings: - label: "bla bla bla" id: some_id type: select options: - label: "Option 1" value: option-1 - label: "Option 2" value:…
Luke
  • 4,825
  • 2
  • 30
  • 37
1
vote
0 answers

LocomotiveCMS Gem is not compatible with Rails 5

I'm new to Ruby on Rails, and I have decided to use LocomotiveCMS as well for the needs of my app. I'm having some trouble getting my head around the concepts and I'm running into the problem of gem dependencies! I just tried to create a Rails…
Chloe
  • 45
  • 8
1
vote
1 answer

Access single content entry in LocomotiveCMS

I want to show a single content entry (from one content type) on a page and I want to access this page directly with a link. So far I've created the content type "posts" (with wagon generate ...). It contains the fields "title","date" and "body". On…
Aimo
  • 21
  • 3
1
vote
1 answer

Locomotive CMS - Access to translations data

I'm using locomotive CMS and I want to translate some strings. I have the following data in a my tanslations.yml file : general: 404: title: en: "404 Page Not Found" fr: "404 - Page non trouvée" de: "404 Seite…
1
vote
0 answers

Pushing to a LocomotiveCMS Engine doesn't update

I am using Wagon in local to manage my website, and when I finish changing things I use the following sentence to upload the website to production: bundle exec wagon push development -f In my deploy.yml file everything is fine (actually the page is…
1
vote
1 answer

Can't install RoR Engine for LocomoativeCMS

I've been following these instructions from their main site. Everything works well until I get to this line: $ bundle exec rails g locomotive:install All that happens though is that the rails help text gets displayed. After some googling, I can see…
Marc Byfield
  • 510
  • 4
  • 14
1
vote
1 answer

Learning Rails 3 after having learnt Rails 4

I'm new to Rails, having only built two sites with it. So far I've only used Rails 4.0. I now want to start using LocomotiveCMS but it doesn't support Rails 4 yet. Since I'm starting a new project I don't have to worry about downgrading existing…
1
vote
1 answer

Installation issue on: bundle exec rails g locomotive:install

I came across many posts of similar issues while looking around, but non of them really solved the problem. The fix was making sure that you specify the version of rails new. prior to making sure that I specified which version of rails . running the…
z atef
  • 7,138
  • 3
  • 55
  • 50
1
vote
0 answers

Unable to deploy to LocomotiveCMS Rails Engine

I have been following the basic setup for the LocomotiveCMS on how to deploy to a Rails engine, but still I get an error when executing bundle exec wagon push development: * Pushing Site * Pushing Snippets en updating…
Severin
  • 8,508
  • 14
  • 68
  • 117
1
vote
0 answers

liquid templates are not updated if the snippet is inside of a conditional statement

Once you update the snippet that is included in the page, unless a developer updates the pages the changes on the pages (snippet changes) are not taken the place. So at the moment to trigger snippet change, here is the workflow: => update snippet…
Jackie Chan
  • 2,654
  • 6
  • 35
  • 70
1
vote
1 answer

Increment value in locomotivecms liquid markup

I wouldn't have come here if I hadn't tried many different approaches... Obviously collections of objects do have a field size/length, but the components don't have an index. I want something like this: {% for product in contents.products…
haffla
  • 1,056
  • 8
  • 15
1
vote
1 answer

Locomotive CMS Detect and Display Views for Mobile

I have a LocomotiveCMS site up and running on Heroku. I can edit my templates locally and push using Wagon. It works great! However, I'd like to be able to serve a separate set of views for mobile devices (phones really) vs desktop/tablet. Can it be…
Pop-A-Stash
  • 6,572
  • 5
  • 28
  • 54
1
vote
0 answers

Locomotive CMS bundle install fails rmagick 2.12.2 error

I am trying to install Locomotive CMS but I am getting an error regarding rmagick upon installation: An error occurred while installing rmagick (2.12.2), and Bundler cannot continue. Make sure that `gem install rmagick -v '2.12.2'` succeeds before…
user3101431
  • 407
  • 2
  • 8
  • 15
1
vote
1 answer

Precompile locomotive-cms assets only once

I have a rails application with locomotive cms engine mounted. Compilation of all locomotive assets takes a lot of time (5-10 minutes). Since I do not change locomotive assets, I would like to precompile it only once. The best solution would be to…
Konrad
  • 1,605
  • 3
  • 24
  • 45