![]() |
Variables in Standard Redirect
Is it possible to include variables in a standard redirect phrase? If so -- how?
|
I'm searching for this too! I know I could use something like this:
PHP Code:
|
That's what the function "construct_phrase() is for.
|
Quote:
:cross-eyed: |
I think you should be using {myvar} as opposed to {1}?
|
Quote:
|
Quote:
Edit: I got this to work with standard_errors, but never tried it with standard redirs., someone can give it a try if they'd like. Code:
eval(standard_error(fetch_error('phrase_name',$myvar))); |
Anyone figure this out? I tried:
PHP Code:
|
its not designed to work like that, ive complained about it before to Jelsoft but i guess nothing was done. basically all the standard_error and standard_redirect can do is pull the phrase as is. no construction what so ever. at least that was from 3.0.x, havent looked at the 3.5.x+ code.
|
Yeah, I got it working with standard_error, but not with standard_redirect.
|
All times are GMT. The time now is 09:59 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|