Discussions

Ask a Question

How wan i edit content types fields names

Hi, I just changed a field name of one of my content types from "location_name" to "name". I also changed every reference to "location_name" in the others files, and especially in data files, to avoid issues. Nevertheless when i try to deploy my site locally this error show up : ` Resource invalid: entries_custom_fields is invalid, #0: Label is already taken` The error seems to alert about the label attribute of the field, as if it was trying to create a new field instead of overwriting the existing one. If it's the case it makes sense that there is a conflict with the already existing field with the same attributes. But it seems really strange to me not to be able to edit fields in some files without breaking everything...

how to add anchor links in menu

My pages include multiple sections that i'd like to reference in the menu as sub-links (anchor links, with #) of the pages links. Example : I have a "Home" Page with 3 sections with ids "section-1", "section-2" and "section-3". In the menu I display the main "Home" link and when hovering this link i'd like to display 3 anchor links to go directly to the corresponding sections. Is it possible ? The "page" liquid drop doesn't seem to include the page content of sections, so I wonder how to achieve this. Thanks ! Grégoire

Can't install last version of Wagon. Only v.1.5.8 seems installable

Hi, I'm struggling at the very beggining of the "Quick Start" Guide, as I simply cannot install the latest version of wagon (3.0.5 at the time i'm writing this). I'm using Ubuntu 20.04 and I installed ruby following this guide : https://gorails.com/setup/ubuntu/20.04 Then I try to install wagon using gem install locomotivecms_wagon but it installs the version 1.5.8. So I try forcing the latest version using gem install locomotivecms_wagon -v 3.0.5 but i got the following error : ERROR: While executing gem ... (NoMethodError) undefined method `request' for nil:NilClass Can somebody help me here ? I really don't understand what's going on. I never experienced such issues with other standalone gem installations. Thanks a lot, Grégoire

Localize Section

Is it possible to localize a section without duplicating the template?

How to access Content Creator?

I have created a content type and when someone create a content entry I want to show his name without him to enter it. Is it possible to access the creator name in the liquid template?

MongoDB 3.4 EOL – Heroku

Hi, I have a bunch of Locomotive instances running on Heroku. Unfortunately the MongoLab extension is being phased out by November (they recommend migrating by September) and Compose no longer supports MongoDB 3.4. I am having difficulties finding a cost-effective cloud solution for that version of MongoDB, given that it has been marked end of life since January of this year. Do you have any suggestions? Do you plan on updating Engine to support a more recent version of Mongo? Thanks in advance