solved How To Put Custom Variables on jrCore_page?

alt=
Ekwe
@ekwe
10 years ago
212 posts
Ok, I want the description of songs by the artist to be the page desription. I've tried everything I know. Ofcourse I know how to do

{jrCore_page_title title=$page_title}

and I know about meta tag manager, but I want every description to be different. So How can I do it? thanks

like {jrCore_page_description title=$descritpion}
updated by @ekwe: 11/13/14 10:29:59AM
michael
@michael
10 years ago
7,714 posts
Anything you define earlier in the scope will be available later in the scope.

So if we look at index.tpl file, it normally looks like this:

{jrCore_include template="header.tpl"}
......

So if you want to change something in the meta.tpl file, you can define it before then.

eg:

{$foo = "first month in may"}
{jrCore_include template="header.tpl"}
......

Then when you put {debug} into meta.tpl you will see that {$foo} will output "first month in may".
alt=
Ekwe
@ekwe
10 years ago
212 posts
Yes, I totally got this part. But I am trying to get the item id of a song to show in the meta. That's what's not working
alt=
Ekwe
@ekwe
10 years ago
212 posts
hmmmm, I think I got it. Thanks thanks

Tags