Hi
I have small question about variables.
So I want to set into full_news_text template
{assign var='albumLink' value=$entry->extra}
and get $albumLink into page template out of content block.
How can I do this?
Variable into template
-
- Power Poster
- Posts: 265
- Joined: Mon Mar 14, 2011 1:16 am
Re: Variable into template
If I understand correctly, you've already done half of the job.
In your news template, use your existing code:
Then, in your page template, simply call the variable:
In your news template, use your existing code:
Code: Select all
{assign var='albumLink' value=$entry->extra}
Code: Select all
{$albumLink}