View Full Version : Phrase Help
weinstoc
08-06-2009, 02:08 PM
I have the following in a template:
<phrase 1="$vboptions[bbtitle]">$vbphrase[some_phrase]</phrase>
I want to change it to
<phrase 1="$vboptions[someotheroption]">$vbphrase[some_phrase]</phrase>
When I make the change it does not show up. I assume there is caching going on, but I don't know what I need to do to force a rebuild.
Suggestions?
Lynne
08-06-2009, 02:29 PM
Are you changing it in the correct style? Are you sure $vboptions[someotheroption] is valid to use there?
weinstoc
08-06-2009, 02:32 PM
I'm pretty sure. I'm trying to change the <title> tag in FORUMHOME so that it is something other than bbtitle. Should that just work or am I misunderstanding something?
Lynne
08-06-2009, 03:17 PM
That variable may not be available yet. You'll need to test it to see.
weinstoc
08-06-2009, 03:47 PM
Lynne,
Shouldn't I be able to put:
<phrase 1="static text">$vbphrase[some_phrase]</phrase>
and have "static text" appear in the phrase. What's happening now is that the original value (e.g., bbtitle) remains no matter what I do.
Lynne
08-06-2009, 04:19 PM
You can only do that if the phrase is set up for that and if the phrase as available there. If the phrase is not global, then it isn't available everywhere. And, in your example, the phrase must have a {1} in it if it is to show what you passed it.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.