View Full Version : php vb:rawphrase variable

01 Dec 2009, 02:49
Is there any way to define a phrase on the fly within a custom php file?

01 Dec 2009, 20:09
What do you mean with on the fly?

You can make this:

$vbphrase['myvar'] = 'this is the content';

and in the template:

{vb:rawphrase myvar}

09 Jul 2011, 07:41
I know this is an old post but I'm trying to change the rawphrase of something

I've found it in the template, but where is the phpcode for it ?

09 Jul 2011, 18:23
The php code is something you would have to add - like through a plugin.

09 Jul 2011, 19:36
I found it, it was in Phrases (left side of admincp)