Is there a way to do a phrase replacement?

Luciano

Member
I am amazed of the flexibility of admincp...

I less than 2 hours I was able to add new stuff, even a special section with no effort at all.. (well a little brain effort i admit.. but all very intuitive)

Now I am stuck.. I would have to create a whole new page template instead of using an allready existing one, because of only one phrase.
(its the options dropdown that would need a new title .. its minor but i dont want to do a complete new page template because of a dropdown you only see when you click an arrow )

so instead of $phrase['option_groups'], I would need a new phrase .. option_groups_new
In vb I would have just done a: $vbphrase['option_groups'] = $vbphrase['option_groups_new'];
and I would have saved myself creating, caching a whole new template...

I tried lots of stuff... even in hook XenForo_CodeEvent::fire('container_admin_params', array(&$params, $this));
but only defined $params are there... :(

then i found:
XenForo_Phrase::setPhrase('option_groups', 'option_groups_new');

also no luck.. :(
Anybody have any ideas?

Luc
 
Top Bottom