There are no "standard variables" in Magnolia and therefore there is no "list
of available variables" (or API as you called it). The user defines
himself/herself what variables are available in the content nodes by adding
controls with the corresponding names to the dialogs.
In your case if you have a page properties dialog which contains the "title"
field, you might as well introduce a "metaKeywords" field to this dialog. If
content is entered into this field you will be able to output it using
${content.metaKeyword!}
Good luck!
-will
On 08.11.2011, at 14:39, Magnolia Forums (on behalf of null) wrote:
> Hey guys,
> I've worked this tutorial through:
> http://documentation.magnolia-cms.com/templating/introduction.html
>
> This is marginally introducing the reader to variables, e.g. it's using
> "${content.title!}" as a variable for the website title.
> Is there any API oder summary for all the other variables in Magnolia? I'm
> especially serching for something for the meta tag:
> <meta name="description" content="${VARIABLE??}" />
> <meta name="keywords" content="${VARIABLE??}" />
>
> Thank you in anticipation!
>
> --
> Context is everything:
> http://forum.magnolia-cms.com/forum/thread.html?threadId=3308447a-08aa-4be4-a5cc-a559c797ad57
>
>
> ----------------------------------------------------------------
> For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
> Alternatively, use our forums: http://forum.magnolia-cms.com/
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------
>
----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------