After providing the solution above, let me touch upon some previous things that still might be worrying you.
The solution to this is rather simple. It arises from the fact how Couch treats different views. http://docs.couchcms.com/concepts/varia ... views.html
Portfolio_list.html is called in home/list-view, while all the editables exist only for pages, i.e. page-view.
You absolutely correctly noted this in admin:
So, to resolve the thing above you could go with a different approach:
Create some other new non-clonable template and fetch this editable from that template like this:
Another way is like you did but without repeatable:
It is not very efficient, but good for variables, which are used across the whole website.
Or you chose another valid approach - with repeatables.
While you did absolutely correct with template and the editable inside repeatable, you had to use repeatable region in some other way:
add only name of the folder as pure text-editable.
So, it would look like
The whole thing is to show you how to properly generate html with CMS. It will be very kind of you to let your client focus on managing things instead of coding them. Clients are not that tech-savvy. They do mistakes and typos in code, that's why people invented richtext editors and CMSs in the first place. Let everyone do their job, right?
Please let me know if any doubts.
But although I can add the code in the property template page, it doesn't show on the portfolio_list.html
The solution to this is rather simple. It arises from the fact how Couch treats different views. http://docs.couchcms.com/concepts/varia ... views.html
Portfolio_list.html is called in home/list-view, while all the editables exist only for pages, i.e. page-view.
You absolutely correctly noted this in admin:
Also, the edit box shows in each of the property pages
So, to resolve the thing above you could go with a different approach:
Create some other new non-clonable template and fetch this editable from that template like this:
- Code: Select all
<cms:get_custom_field 'my_textarea_editable' masterpage='frise.php' />
Another way is like you did but without repeatable:
- Code: Select all
<cms:pages masterpage='frise.php'>
<cms:show my_textarea_editable />
</cms:pages>
It is not very efficient, but good for variables, which are used across the whole website.
Or you chose another valid approach - with repeatables.
While you did absolutely correct with template and the editable inside repeatable, you had to use repeatable region in some other way:
add only name of the folder as pure text-editable.
So, it would look like
- Code: Select all
<div class="button-group js-radio-button-group" data-filter-group="area">
<button class="button is-checked">Any</button>
<cms:pages masterpage='frise.php'>
<cms:show_repeatable 'my_repeatable' >
<button class="button" data-filter-min="<cms:show k_count />" data-filter-max="<cms:show k_count />"><cms:show simple_text_editable_for_area_name /></button>
</cms:show_repeatable >
</cms:pages>
</div>
The whole thing is to show you how to properly generate html with CMS. It will be very kind of you to let your client focus on managing things instead of coding them. Clients are not that tech-savvy. They do mistakes and typos in code, that's why people invented richtext editors and CMSs in the first place. Let everyone do their job, right?

Please let me know if any doubts.