I am trying to get Geeklog to show a link through one of the "confirmation an error messages", but unfortunately, I know very little of PHP syntax. It is just a small link, so please, tell me how should I put this.
The file I'm trying to edit is spanish.php, and the original line reads like this:
1 => "Tu contraseña se ha enviado por correo electrónico y
llegará en unos instantes. Por favor sigue las indicaciones del mensaje.
Gracias por utilizar " . $_CONF["site_name"],
The link I want to show is a static page. I have created a reference in config.php, like this:
$_CONF['welcome_user_url']
= 'http://www.crisisenergetica.org/staticpages/index.php?
page=20041223191014215';
And then I try to call this URL ($_CONF['welcome_user_url']) into the language.php file, trying to guess the syntax, but I've given up, I always get error messages.
Any advice?
So all you're trying to do is to use that link in that text string? Why not simply add the link in the text? There's no need to introduce any new variables ...
1 => "Tu ... <a href="http://www.crisisenergetica.org/staticpages/...">link text here</a> more text here ...",
bye, Dirk