Quote:
Originally Posted by KirbyDE
You are right, this edit is not necessary at all
Hook template_groups
PHP Code:
$only['http_error'] = 'HTTP Errors';
Another suggestion:
Use phrases for the Text, so users can easily use it with other Languages too.
|
Just create a new plugin with that code as the code to that hook?
Also, regarding the templates vs. phrases issue: I originally thought to use phrases. But then I discovered you can't use variables, such as $vboptions[hometitle] in phrases. Is there a way to use variables like that in phrases? If so, I can re-write the hack. But when I put in that variable in a phrase I was testing, it just came out on the page literally, dollar sign and everything.