Welcome to Geeklog, Anonymous Wednesday, November 27 2024 @ 07:31 pm EST

Geeklog Forums

Doubt with syntax


Status: offline

Samelborp

Forum User
Newbie
Registered: 10/03/03
Posts: 12
caffeinated
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
$_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?
 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 ...

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


bye, Dirk
 Quote

All times are EST. The time is now 07:31 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