Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to add Template variables to Advanced settings for a page #340

Closed
DESIGNfromWITHIN opened this issue Jan 27, 2020 · 3 comments
Closed
Labels
documentation Feature or issue is solved just needs documentation

Comments

@DESIGNfromWITHIN
Copy link

DESIGNfromWITHIN commented Jan 27, 2020

I would like to have the option to add Template Variables to the Advanced settings on the FRED front-end for a resource.

The current use I have is the Social Media image for a page, I have a TV and use pthumb to created the meta tags for social images.
It is not really front-end content, but it would be nice to be able to update this TV using FRED on the front-end.

@matdave
Copy link
Contributor

matdave commented Jan 27, 2020

This is currently available by editing the default properties of the Template Variable

Property 1
Name: fred
Type: Yes/No
Value: 1

Property 2
Name: fred.type
Type: text
Value: image

Property 3 (optional)
Name: fred.mediaSource
Type: text
Value: Name of the media source

@matdave matdave added the documentation Feature or issue is solved just needs documentation label Jan 27, 2020
@DESIGNfromWITHIN
Copy link
Author

Thanks that works great!
Will those properties be packed in when I create the FRED theme?

@theboxer
Copy link
Member

yup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Feature or issue is solved just needs documentation
Projects
None yet
Development

No branches or pull requests

3 participants