Welcome to Geeklog, Anonymous Saturday, April 13 2024 @ 09:51 am EDT

Geeklog Forums

Doubt with syntax

Status: offline


Forum User
Registered: 10/03/03
Posts: 12
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:

Text Formatted Code
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:

Text Formatted Code
= 'http://www.crisisenergetica.org/staticpages/index.php?

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?

Status: offline


Site 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 ...

Text Formatted Code
1 => "Tu ... <a href="http://www.crisisenergetica.org/staticpages/...">link text here</a> more text here ...",

bye, Dirk

All times are EDT. The time is now 09:51 am.

  • 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