PDA

View Full Version : php vb:rawphrase variable


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

ragtek
12-01-2009, 06:09 PM
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
07-09-2011, 05:41 AM
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
07-09-2011, 04:23 PM
The php code is something you would have to add - like through a plugin.

Miihawk
07-09-2011, 05:36 PM
I found it, it was in Phrases (left side of admincp)