Adrian Schneider
07-23-2005, 04:34 AM
How do you get an existing vb file to use a new phrasegroup? I added it via the add_phrase_type function.
I tried:
style_fetch and cache_templates
$newphrasegroups[] = 'blog';
$phrasegroups = array_merge($phrasegroups, $newphrasegroups);
Upon printing $phrasegroups and $vbphrase in the newreply page (as that is what I'm trying to edit) the blog phrasegroup is in the array, but the phrases from it aren't in the $vbphrase array.
How is this done? [without modifying any files]
I tried:
style_fetch and cache_templates
$newphrasegroups[] = 'blog';
$phrasegroups = array_merge($phrasegroups, $newphrasegroups);
Upon printing $phrasegroups and $vbphrase in the newreply page (as that is what I'm trying to edit) the blog phrasegroup is in the array, but the phrases from it aren't in the $vbphrase array.
How is this done? [without modifying any files]