Quote from: qtx at Sep 30, 2009, 03:40 AM
YAMS works great, but I was wondering if you have by any chance a documentation of how to make a custom tv.
I saw the one in the HowTo-Tab, but I want to add customized TV’s in the manager.
Anything?
I’m not entirely sure I understand what you mean. Hopefully this will answer your question:
You can create normal template variables and assign them to documents in the standard way, via: Elements > Manage Elements > Template Variables > New Template Variable.
If you want a template variable to appear on a specific tab of a multilingual document, just make sure the name of the template variable ends in _
langId, where
langId is the appropriate language id. So, you could create a template variable called keywords_en, for example.
If you have created several language variants of the same template variable: customtv_en, customtv_fr, ... and you want YAMS to choose the correct one, then insert the following into your document template:
[[YAMS? &get=`tv` &from=`customtv`]]
EDIT: I’ll add this to the How To? tab for the next release.