Discussions

Ask a Question

301 Redirect

We're running http://www.silvesco.com/ on the new Locomotive CMS.

ui_enabled for many_to_many relationships: can't add new related content type entry

I have ui_enabled active for all relationships on our sites. For has_many relationships, the Add a new one button is displayed. For many_to_many relationships, it never displays. This makes the whole thing extremely user unfriendly. E.g. if I want to add a new picture to an album, I have to upload it from the images page which is a click fest.

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?

Answered

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