Welcome to the Locomotive V4 developer hub. You'll find comprehensive guides and documentation to help you start working with Locomotive V4 as quickly as possible, as well as support if you get stuck. Let's jump right in!
Struggling with an API call atm: Is it possible that the `callAPI` action converts all numbers into floats when converting the data object to JSON, no matter what? Does anyone know how to work around this behavior? If I could prevent the automatic JSON conversion of the data object and do the conversion myself, that would be helpful. This is causing issues with an API endpoint expecting integers to the point where I'm not able to use the API.
Posted by Tobias Geisler about a year ago
I've found that I've been able to push content without a problem, but i've just updated a few images through the control panel. I can see that when I `bundle exec wagon sync production`, the images are transferred locally. For example, "/samples/_production/content_entries/big_gun.jpg", and data/production/content_entries/background_images.yml is updated. But for some reason it does not actually appear in the local dev site as it does in production. I tried using the environment production with wagon, which makes the image appear, but other content that appears in production is then not present. How can I bring all production content to appear in my local environment for development? This is with wagon 3.0.0.rc0.
Posted by Cory Logan about a year ago
I have a set of content entries that I want to use (US States) and I want to push only it to production. Everything I do, I either send all the content entries across all models, or nothing. Is sending only 1 table even possible?
Posted by David Cook about a year ago
Hello, in my acces points i have define my domains in www.qualimetrie.com I want to activate the SSL for this domain and for both qualimetrie.com and www.qualimetrie.com. Can you help me ? Thank you best regards -- Bonjour J'ai configuré le nom de domaine sur www.qualimetrie.com dans la partie access points. J'aimerais activer le certificat SSL pour le domaine que ca soit avec ou sans les www. Pouvez-vous m'aider ? Merci cordialement, Morgan GELDOF Responsable communication Qualimetrie
Posted by Morgan Geldof about a year ago
hello we write site template for locomotivecms v4.0.0.beta2 it is landing page and use bootstrap 4 https://github.com/EBII/site-templates/tree/v4.0.x/landing-v4 review or comment welcome which branch to pull request ? master one ? regards MonsieurB
Posted by MonsieurB 2 years ago
I tried installing using the instructions found in https://doc.locomotivecms.com/v4.0/docs/heroku . It seems it would be an easy change to switch ruby version to a version that Heroku supports: https://devcenter.heroku.com/articles/ruby-support#supported-runtimes Heroku returns this log: -----> Ruby app detected -----> Compiling Ruby/Rails Command: 'set -o pipefail; curl -L --fail --retry 5 --retry-delay 1 --connect-timeout 3 --max-time 30 https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/heroku-18/ruby-2.2.2.tgz -s -o - | tar zxf - ' failed on attempt 1 of 3. Command: 'set -o pipefail; curl -L --fail --retry 5 --retry-delay 1 --connect-timeout 3 --max-time 30 https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/heroku-18/ruby-2.2.2.tgz -s -o - | tar zxf - ' failed on attempt 2 of 3. ! ! An error occurred while installing ruby-2.2.2 ! ! This version of Ruby is not available on Heroku-18. The minimum supported version ! of Ruby on the Heroku-18 stack can found at: ! ! https://devcenter.heroku.com/articles/ruby-support#supported-runtimes ! ! Push rejected, failed to compile Ruby app. ! Push failed
Posted by Ron Maravilla 2 years ago
I am using an engine_overrides.rb initializer according to old Locomotive CMS docs to allow special theme extensions upload (json, XML etc..). After a little struggle with the engine_overrides.rb initializer in v3.4.1, I found out that method extension_white_list had been deprecated in favor of extension_whitelist in recent versions of CarrierWave. Changing the function name in engine_overrides.rb to extension_whitelist did solve the problem. I would be ok to write updated instructions on how to configure custom extension_whitelist in Locomotive if needed (just point me where).
Posted by Charles 2 years ago
Hi, I cannot seem to find how not to display untranslated pages. If the page is not translated it should not be accessible and visible in the menu, but instead I get the page in default language. Is there some setting to change this behavior? In fact I would even need possibility to hide the page if translation exists but it is not finished yet. Thanks
Posted by Toni Milovan 2 years ago
Hi This might be really obvious but I don't get it - it all works perfectly, I had no problems installing both locally and remotely. When I create a new site and attempt to add media it throws that error. > nil is not a valid asset source the remarkable thing is that I can even see the file in the file system, additionally if you upload an image directly as a content type - that works perfectly as well. To further confuse matters, uploading assest to my local engine works perfectly fine as well! Hope somebody can help! MB
Posted by mouseball 2 years ago
this is first deployement of shopinv and deploy template that work in wagon. any idea ? Extracted source (around line #67): ] else raise InvalidURIError, "bad URI(is not URI?): #{uri}" end end does proxy can use https or need to be set by locomotive to force https ?
Posted by MonsieurB 2 years ago
Hello, I am not able to remove the edtable_elements from my home page or remove the home page. I have tried with: ```bash bundle exec wagon delete production page index ``` It gives me the following error. ```bash bundler: failed to load command: wagon (/Users/....../.rbenv/versions/2.5.3/bin/wagon) Locomotive :: Coal :: UnauthorizedError: Unauthorized ``` ```bash bundle exec wagon deploy production -r pages -d ``` Thanks
Posted by Javier 2 years ago
Hi, I can make changes but when I click save it takes a while for the save to happen. When I check our site the changes haven't happened. When I go back to Locomotive it looks the same as it did before I mad the changes. So it seems it didn't save and update but I dont know why, any ideas gratefully received? PS I can make changes in other pages and it works OK!
Posted by Wayne Silver 2 years ago