![]() |
plugging custom text into standard error and redirect
Hi,
I've added some custom phrases and tested them to be sure they work using Code:
echo $vbphrase('some_custom_text'); Code:
eval(print_standard_error('some_custom_text')); Could not find phrase 'some_custom_text'. What am I missing here? thanks, Ed |
You have them in the wrong phrase group...add the error ones to the "Front-End Error Messages" phrase group and the redirect to the "Front-End Redirect Messages" phrase group.
|
Change your call to explictly avoid the phrase fetching using the second parameter ('false' below). Examples:
Code:
eval(print_standard_error($vbphrase['some_custom_text'], false)); |
Quote:
Why? Doing it the way I stated was correct.... |
Many thanks, that worked great. I knew I must be missing something obvious!
Ed |
All times are GMT. The time now is 05:09 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:
|