Discussions

Ask a Question

Ordering within many_to_many relationship

{% with_scope _slug: "technology" %}
{% assign section = contents.article_sections.first %}
{% endwith_scope%}

{% for subsection in section.subsections %}
.category-block
  %h2 {{ subsection.subsection_name }}
  .articles
    {% for article in subsection.libraryarticles %}
    %a.article{:href => '/articles/{{ article._slug }}'}
    {% endfor %}
{% endfor %}
{% endblock %}

ArgumentError in Locomotive::ContentAssets#index

Hi

ANSWERED

Is it possible to deploy a .yml file?

I've look through all the docs and cannot find this mentioned anywhere.

Site metafields throw no_method_error on type: file fields on engine

I have something like this:

ANSWERED

Remove slug name from url locomotivecms

How can I remove slug name from URL? I have URL with parent page: host_url/home/index

BUG: Locomotive crashes due to SVG resize

Hello!

ANSWERED

why can't see my files in mi preview?

Resource invalid: source You are not allowed to upload "pdf" files, allowed types: jpg, jpeg, gif, png, css, js, swf, flv, eot, svg, svgz, ttf, woff, woff2, otf, ico, htc, map, html, cur can't be blank

Sign in problem with YML data deploy

Dear All,
I'm developing a new site in Locomotive 3.3 with authentication. I am interested in loading some default accounts, so I put them in data YML file, as described in the guide. As a result, the sign in doesn't work properly (Wrong credentials); but, if I update the same password in the back-end in the that model entry, it works perfectly.

Reset user and password

How to reset the user and password of locomotivecms?

ANSWERED

broken link in the engine

Hi I have a trouble in when deploy my site in station.locomotive.works
locally I see my logo great, but in the station looks broken.