Discussions

Ask a Question

Site metafields throw no_method_error on type: file fields on engine

I have something like this:

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 %}

How to generate a custom module in the admin site

Hello, I'm trying to add some new functions inside the admin site, showing a new section in the left sidebar. Any help is welcome =D.

How to ignore folders when deploying my site

Is there a way I can ignore a folder or file when deploying my site?

problem mapping locomotiveCMS site to a subdirectory

My hosted locomotiveCMS is under domain blog.mydomain.com.
I have mydomain.com/blog maps to blog.mydomain.com for SEO purpose. (via reserve proxy)

How to use coffeescript

Hi how to use coffeescript in locomotivecms

Is fixed: true working for editable elements?

It worked for us in v2, but in a project now in v3, we can't get fixed:true to work on editable elements such as editable_text or editable_file.

Why are stylesheets and javascripts not minified on the engine?

From the v3.1 release notes I take it that the feature still exists, but only works under certain conditions:

Filter Tag with with_scope doesne't work

Hi,
i got a problem while trying to filter my blog entries through with_scope. In wagon my filter system it worked quiet well. But when i deploy it to my locomotive site it won't filter these entries anymore.

how to fix ->SyntaxError: expected expression, got '<'?

Hi I use coffee script and all run very good in my local host, but when I deploy in my preview send me the next " error SyntaxError: expected expression, got '<' "