This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

clone458396
clone458396

Hello!

I could use a little bit of clarity between the differences between "pages" and the "static pages" plug-in. Correct me if I'm wrong, but static pages are supposed to be editable by clients, whereas the CMS "pages" are used to build the website?

I have a related question. If I want to add an editable image to a static page, it appears that I need to do this:

{variable name="banner" value="http://lorempixel.com/400/200/" label="Banner" tab="MyTab" type="mediafinder" mode="image"}{/variable}

However, this creates a new primary tab for the information, whereas using a placeholder (which doesn't support images) such as:

{% placeholder ordering title="Ordering information" type="text" %}

Puts the form field in a secondaryTab. Here's a link to to an annotated screen capture: https://goo.gl/photos/5Cry8162Sz59YMj58

I must be confused here. Any suggestions?

Last updated

daftspunky
daftspunky

Placeholders are primarily for content blocks, whereas variables are for strings.

clone458396
clone458396

Thanks. And there's no "image" type placeholder, correct? I've asked a similar question to Stack Overflow, but didn't get an answer: http://stackoverflow.com/questions/32016053/in-october-cms-how-can-i-make-an-image-editable-in-a-static-page

craw
craw

I'm trying to solve the same problem. My client should have the possibility to change 2 images on then page. (http://dev-wetzel.de/) My first idea was to build a snippet, but snippets are very limited and I found no solution...

Adding the possibility to add 2 images with the {variable}{/variable} syntax is confusing futhermore it's not possible the rename the "Content" tab of the static pages

forums7529
forums7529

An 'image' type placeholder would definitely be useful.

daftspunky
daftspunky

This code is the same as an image type placeholder

{variable type="mediafinder"}...{/variable}
forums7529
forums7529

If there was an option to use the following method, but to make the tab appear alongside the main 'Content' tab, that would be awesome.

{variable name="banner" value="http://lorempixel.com/400/200/" label="Banner" tab="MyTab" type="mediafinder" mode="image"}{/variable}

1-7 of 7

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.