Discussions
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?
Posted by Jake Dold about 1 year ago
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
Posted by Diogo Sobreira about 1 year ago
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.
Is it possible to build what I want with sections and a content entry template?
With best wishes to you.
Posted by Alex over 1 year ago
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`.
Looks like a normal case, but in the MongoDB logs I see `{"_id" => { "$in" => false } }` and it crashes.
On the other hand, if I filter entries by `id.in: array of ids` , the query looks good but I get no results.
Are there any prerequisites for such behavior or is this a bug?
Posted by Igor over 1 year ago
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.
Posted by Igor over 1 year ago
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?
Thx
Posted by Zara over 1 year ago
mass deleting "public submission" data
Thanks to Didier and the LocomotiveCMS team for building such a nice CMS!
I have a question:
On a customer website there is a backlog of "Contact messages" (almost 6000).
Right now, the "page level block delete" gets the 10 items per page (those being being displayed), which would mean that there are 600 pages of three clicks on each to delete this old data.
Is there a way to display say 50 (or 100) items per page so that there would be 120 (60) pages needed to delete this old data?
One other option is me trying to delete it through the mongo backend, but this is not available to the customer.
Posted by John Read over 1 year ago
Not syncs content_entries
When I do sync from production it just text Syncing ContentEntries and thats all.
Posted by Misha Shelestiuk almost 2 years ago
New language added not showing content from English version
Hi.
So we added Polish to our site and by default there is no translations or localising of the content in the models, it is just meant to show the English version. But adding the language, it doesn't show any of its content even after using the Wagon back office to re-save it for Polish.
There are plans for future languages to be added and deleting, re-adding all of the content in the models isn't a good solution. Currently the only similarities between the pages is that both uses type: select for filtering content.
The content type which is one of the two that is having problems.
- tutorial_type:
label: Type
type: select
select_options: ['Video', 'Written']
{% with_scope tutorial_type: 'Written', order_by: 'data_added.desc' %}
This is the code that is used to choose which content is shown and is ordered.
Is there a setting that might have been missed in the Wagon or something that can be set in the code?
Posted by Chloe Coyle almost 2 years ago
Is there a way to shorten urls of filtered images ?
Hi,
I use the imagemagick filters to edit images on the fly on my website.
The urls generated for these filtered images are very long, like in :
`/steam/dynamic/W1siZmYiLCIvaG9tZS9ib2xvc3MvbG9jb21vdGl2ZS9wdWJsaWMvc2l0ZXMvNjA4MmFiZTI3NGZlNzIwNmFlMjE4N2I2L2Fzc2V0cy82MDgyYWM1MDc0ZmU3MjA2YWUyMTg3ZjQvV2ViXzE5MjBfLV8xLWltYWdlLTEucG5nIl0sWyJwIiwidGh1bWIiLCIyMDAwMDB4PiJdLFsicCIsImNvbnZlcnQiLCIrcHJvZmlsZSAnKicgLW1vZHVsYXRlIDEwMCwwIC1zaXplIDI1NngxISBncmFkaWVudDojRkYwMDJFLSNGRkY1OUIgLWNsdXQiXV0/a021273a9e4f1a38/Web_1920_-_1-image-1.png `
My client would like to shorten it. Do you know a simple way to do that ? Or should I use a javascript library to achieve that ?
Thanks,
Grégoire
Posted by Grégoire Colson about 2 years ago