Quote:
Originally Posted by Lynne
Replacement Variables are used to replace words on the pages of your site - not for emails sent out.
|
But there is such a $vboptions[bburl] thing in the email. How do I make my own $peteroptions[serverurl] thing?
Quote:
Originally Posted by Lynne
1) Your own phrase in a template? Create a global phrase and then call it like you do other phrases.
|
I assume "global phrase" means a normal phrase which is generated via "add new phrase". Please tell me if this is not true, the manual is not very clear on this subject.
And I have never called phrases myself.
What is a phrase call:
This ? [myValue]
or this ? {vb:rawphrase myValue}
or this ? $something[myValue]
(number 2 is my favorite ...)
Quote:
Originally Posted by Lynne
2) You can't put php into a template. You put php into a plugin and then put the output into a variable which you may then use in a template (assuming you register it for use in the template also).
|
How do I register a variable for a template, is this in the manual?
And something like {vb:raw $_SERVER['SERVER_NAME']} is not supposed to work?
Sorry for being slow. Since MODx and vBulletin I am confused with plugins, snippets, chunks, phrases, products, and so on. All of them include something from somewhere.