PDA

View Full Version : php vb:rawphrase variable


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

ragtek
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}

Miihawk
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 ?

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

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