I request help and collaboration from developers to empower the new custom parameter and create short version of documentation for each Couch tag.
In my personal code collection now exists a file that gives each tag a new optional help parameter. It is easy now to write something like
The way my code is structured is this - when tag executes it senses the request for help and inserts after its normal result a customizable html template loaded dynamically from a folder /html_templates/{tag-name}.html. So, for pages tag, the file would be html_templates/pages.html and its content is whatever HTML you want there. It will be loaded and embedded into your page in browser.
Now whenever I request help via custom parameter - I only need to refresh my page. You may very well place there your own design of documentation and display whatever - only parameters or only examples or your custom notes.
I will respond to every PM for a demo of this feature and ask you, couchers, to help create these little HTML templates with documentation for each tag. This custom addon will be freely given to those that help and all doc templates shared among us.
In my personal code collection now exists a file that gives each tag a new optional help parameter. It is easy now to write something like
- Code: Select all
<cms:pages help='1'>
- Code: Select all
<cms:process_login redirect='1' help='1' /> <!-- redirect='0': // no redirection --> <!-- redirect='1': // redirect to current page --> <!-- redirect='2': // link supplied as querystring parameter (this is default behaviour) --> <!-- redirect='url': // link supplied as parameter to this tag -->
The way my code is structured is this - when tag executes it senses the request for help and inserts after its normal result a customizable html template loaded dynamically from a folder /html_templates/{tag-name}.html. So, for pages tag, the file would be html_templates/pages.html and its content is whatever HTML you want there. It will be loaded and embedded into your page in browser.
Now whenever I request help via custom parameter - I only need to refresh my page. You may very well place there your own design of documentation and display whatever - only parameters or only examples or your custom notes.
I will respond to every PM for a demo of this feature and ask you, couchers, to help create these little HTML templates with documentation for each tag. This custom addon will be freely given to those that help and all doc templates shared among us.