Welcome to Geeklog, Anonymous Saturday, August 31 2024 @ 11:45 pm EDT
Geeklog Forums
Doubt with syntax
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:
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:
= '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?
The file I'm trying to edit is spanish.php, and the original line reads like this:
Text Formatted Code
1 => "Tu contraseña se ha enviado por correo electrónico yllegará 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:
Text Formatted Code
$_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?
3
4
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
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 ...
bye, Dirk
Text Formatted Code
1 => "Tu ... <a href="http://www.crisisenergetica.org/staticpages/...">link text here</a> more text here ...",bye, Dirk
5
5
Quote
All times are EDT. The time is now 11:45 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content