Discussions
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
Add User
Hi there,
Our company have a number of sites hosted with you guys and one of our clients would like to access their site and make changes without us. Please could you advise on how we can create a new user for them to access their site but none of the other sites we have set up on our user profiles with you?
Thank you.
Posted by Ryan Edwards about 6 years ago
How to relate pages handlers in a content type
How to relate pages handlers in a content type to use it as a select field to set links to pages.
Posted by Ricky Fletcher about 8 years ago
Heroku - Locomotive Wagon Assets dissappear
Hi,
We currently have our website running on Heroku using the new wagon and professional dyno (www.careerseekers.org.au) .
After a day or two, the Theme Assets on the wagon dissappear, and shows our public website without any style or theme, like its just the plane HTML being rendered.
Is this a bug on the wagon? or would this be an issue on Heroku?
Posted by Michael Macahilig over 7 years ago
Offline Documentation
Hi
I need an offline version of the docs at https://locomotive-v3.readme.io/, to work when no internet connection is available (travel). Is there any way to get that? I tried wget (wget --mirror --convert-links --adjust-extension --page-requisites https://locomotive-v3.readme.io/), but the scraped version is not usable offline (still depends on some assets like gfonts and scripts from CDN).
I know that I can just take the Markdown files from the locomotivecms git repos, but is there a way to get the nice HTML docs offline?
Posted by Jonathan almost 8 years ago
unique / required bug when empty
I have a content_type `people` with an attribute `email` set like this :
```
- email:
label: Email
type: string
required: false
hint: Email / contact de la personne
localized: false
group: Attributs
unique: true
```
The issue (which I think is an actual bug) is that, as it is not required, editors sometimes leave it blank, but as it should be unique, it does not work for more than one person.
In my opinion, when required is false and unique is true, the uniqueness should only be verified when the attribute is not blank.
Posted by Grégoire Colson about 2 years ago
Can I make a subscription-based website in locomotive?
I want to make my own custom subscription-based website in the future, and right now I'm just in the research phase on which method/software to use as I don't want to use woocomerse or teachable. Can I make a subscription-based website in locomotive?
Posted by Bianca about 3 years ago
List pages in menu vs sitemap.xml
Since v3 or v4 sitemap.xml is populated by pages which are tagged as "listed". In previous version we used to use this attribute to know if the page should be listed in the menu or not.
But now we would like to send to sitemap all pages and keep using "listed" for our menu.
Is it possible to add a new attribute to split these functionality from the dashboard ?
Posted by RB about 3 years ago
Next / Previous Content Entries
I'm trying to get the next/previous siblings of a content entry.
I have 6 content entries and for each `content_entry.next` and `content_entry.previous` return the `first` and `last` entries (except on the first or last entry where `previous` or `next` returns nil respectively).
Any advice?
Posted by Harry Blackett about 8 years ago
Content of cild page
When looping out out content of sub pages images turns out as Null running engine.
When running locally with Wagon images from child pages is returned as expected.
Other editable elements wok in both cases.
```liquid Liquid
{% for subpage in page.children %}
<a href="{% path_to subpage %}">
<img src="{{subpage.editable_elements.content.main.main_image }}">
<h2>{{subpage.title}}</h2>
</a>
{% endfor %}
```
Posted by Claes Pontusson almost 8 years ago