Page 1 of 1

variable in template and subtemplate

Posted: Sat May 28, 2016 10:17 am
by erosmembers
Can I define a new variable "xyz" in template to use this new "xyz" in subtemplate?

Re: variable in template and subtemplate

Posted: Sat May 28, 2016 6:58 pm
by admin
Take a look at custom tags

admin/?operation=rotation&sub=rot_tube&subsub=rot_cms_custom_vars&

Re: variable in template and subtemplate

Posted: Sat May 28, 2016 7:41 pm
by erosmembers
How can I set e.g. <!--CUSTOM_VAR_SID--> in template with a value?
I did not find this in forum and not in Wiki.

Re: variable in template and subtemplate

Posted: Sun May 29, 2016 7:56 am
by admin
You have to create SID var in admin aтв assign a value to it, and then use <!--CUSTOM_VAR_SID--> in template.

Re: variable in template and subtemplate

Posted: Sun May 29, 2016 9:47 am
by erosmembers
I have seen the definition.
But I need a variable that I can change.
I would like to store e.g. a sourceid at runtime.

Re: variable in template and subtemplate

Posted: Sun May 29, 2016 10:50 am
by admin
Yes, you can change that variable in admin area