This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Please help me out, what i am doing is below:
adding the following markup to a Layout that uses Static Pages:
{variable name="tagline" label="Tagline" tab="Header" type="text"}{/variable} {variable name="banner" label="Banner" tab="Header" type="mediafinder" mode="image"}{/variable}
The following new form fields appeared successfully in back-end layout:
See this: https://octobercms.com/storage/app/uploads/public/55c/480/da9/55c480da9a570905733943.jpg
i tried to access the variable by following:
(h1) {{ tagline }} (/h1) (img src="{{ banner|media }}" alt="" /)
Problem is i am not getting out put, just getting following on the page in browser:
{{ tagline }}
and no image
please help me out i am missing something...!
Note: i used bracket around tags rather than markup arrows/tags, because this forum supports html tags and dont show the code..!
Last updated
1-1 of 1