Discussions
Order many_to_many relations
Hello, I have two models with a many_to_many
relation. I want to display these models on a page in the same order as I set in back-office, but instead they are ordered based on the setting in my model definition file. Is there any way to control the display order in the Liquid template?
Locomotive doesn't allow me to add noscript and object html to text field in backoffice
When I add tableau code with some noscript and object tags and save it, code just disapppear
wagon not installing on ubuntu
Hi,
I have ruby: ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-linux-gnu] and also imagemagick, bundler, rake installed still when I try to run gem install locomotivecms_coal --pre
it fails with these errors
Migrating locomotivehosting site
I'm trying to explore the possibility of migrating an old site from locomotivehosting to my own managed server. I've create a local wagon site, added the required fields to deploy.yml and tried to do 'wagon pull production', but I just get:
Contractor reference
Hello - we're looking for a developer to help manage our existing Locomotive setup. Do you have any referrals for someone we can contract with on a hourly basis?
undefined method `to_sym' for nil:NilClass and Images giving internal server error
When syncing my content to local or to deploy to another environment (using wagon) I get the error undefined method `to_sym' for nil:NilClass and can't deploy but my current production env is working, although it's giving me the error on deploy and the uploaded images are throwing the internal server error
Separate section for each content_entry page
Hi, I'm building an ecommerce shop with Locomotive CMS. I want to add a gallery with a dynamic number of photos to each product. I've created a template page for my product entries and then added a gallery section to the template. I expected to able to edit the gallery on each product page separately, but the content is the same on all product pages.
Search by _id field
Hello again. I am having a trouble using the with_scope
tag. I need to filter by _id.in: array of ids
.
Single content entry in edit section control
Hello, i would like to implement section view based on some content entries that need to be selected from edit section panel. In documentation described definition of section with content_type field, but it only create a link to content_type page. Is any way to select one entry from box, or i need to implement this functionality by myself ? Thanks for your answer.
Add "Code Promo" option in the shopping cart
Hi ! My company hired someone to develop a site using Locomotive 3 years ago, and today the shop looks not up-to-date at all. I wonder if it's possible to add options like a "code promo" champ for clients to add when checking out their cart?