Forum for discussing general topics related to Couch.
7 posts Page 1 of 1
With about 20 types of editable fields (core) and counting (from addons) it becomes a hefty task to memorize them along with distinct parameters (about 100 of them). Documentation helps but it is a time consuming process to look up stuff. I am on my way to create a Coco - Couch Constructor of editable fields (plus some tags like cms:mosaic, cms:repeatable, cms:tile, cms:globals, cms:template). Your comments with expectations will help shape the Coco up to our - Couch fans - liking.

In the 2x zoom it should generate the code to copy-paste in a template after simple mouse clicking and selecting options that you'd like to see and set. Yes, every known and supported parameter should be displayed without need to re-read documentation over. Some simple parameters like 'label' or 'order' are already in our memory, but even writing them manually can be expensive, because often a template has tens of editables (and I have seen templates with hundreds of editables). Also it should help with dependent parameters - for example 'searchable' can be tweaked with different 'search_type' (text, integer, decimal types). More rarely used and hard to memorize parameters should be easy to fill out - with examples like: 'custom_toolbar' of richtext editable, 'validator' for most editable types and supported date shortcuts for 'prefix' and 'suffix' of UID editable.

If you have anything to say about such system, please comment below. I am actively working on it, so you can make an impact. I must note that Coco can not be distributed for free, but your involvement will be definitely gratified. I am also deeply thankful to all my donators who will be granted to use Coco as a webservice or locally (if it comes later as Addon) for a long period of time.
I take it this is going to be somewhat beginner-friendly, right Trendoman?
These are the best payday loans on the market.
Alkire wrote: I take it this is going to be somewhat beginner-friendly, right Trendoman?

Yeah, I'd like it to be most possibly beginner-friendly. Any suggestions towards that direction? What I shouldn't forget, maybe?

Also, all the editables that are described in the forum exclusively are added, because not everything valuable is present in docs as of today (I'd say the last 2 years of Couch development has not been properly presented in docs.couchcms.com).
I must add that my motivation is to make this most comfortable for hardcore advanced users of Couch like me. I spend too much time re-reading documentation, forum and source Couch code to verify available params. Then I spend too much time typing them manually again and again. I want my work to become focused on the right things, not stupid perpetual repetition.
Oh my god, last I was thinking about writing a post here about getting together making a tool that could generate editable fields just as you describe! Much appreciated! I'll have a think and see what I can contribute with.

On a similar topic, I was thinking how cool it would be if a page on the website could be build where ppl can share all their custom codes for couch, similar to like code pen - searchable etc. That'd be epic! :D

Have a great week couch lovers :)
quickie wrote: On a similar topic, I was thinking how cool it would be if a page on the website could be build where ppl can share all their custom codes for couch, similar to like code pen - searchable etc. That'd be epic! :D


I almost had it in part where code pasted in frontend could be executed on backend, with the public data from templates. I had to pause on that task when I realized any php code can be pasted as well. I don't yet know what to do.
trendoman wrote:
quickie wrote: On a similar topic, I was thinking how cool it would be if a page on the website could be build where ppl can share all their custom codes for couch, similar to like code pen - searchable etc. That'd be epic! :D


I almost had it in part where code pasted in frontend could be executed on backend, with the public data from templates. I had to pause on that task when I realized any php code can be pasted as well. I don't yet know what to do.


Good work Trendoman :) I guess being able to run php code through the front end is not a great idea. 8-)
7 posts Page 1 of 1
cron