Author Topic: Variable {username} an link anhängen  (Read 2361 times)

0 Members and 1 Guest are viewing this topic.

Offline Peppino

  • Newbie
  • *
  • Posts: 46
    • View Profile
Variable {username} an link anhängen
« on: July 18, 2007, 12:59:06 PM »
Hello!
Here i am again ;)

In this thread http://www.4homepages.de/forum/index.php?topic=18051
i´ve had the problem with the new template, but ist works now.

Now i want to add to the link the following variable
Nun möchte ich eine Variable an den Link dranhängen.

index.php?d=pay&username={loggedin_user_name}

But it doesn´t work :(
Aber so geht das nicht :(

The Variable username isn´t written in the url :(
Gruß Marcus

Offline Peppino

  • Newbie
  • *
  • Posts: 46
    • View Profile
Re: Variable {username} an link anhängen
« Reply #1 on: July 19, 2007, 10:12:03 AM »
Ok, now it works.

add in page_header.php below
Code: [Select]
"direction" => $lang['direction'],
this

Code: [Select]
"username" => $user_info['user_name']
and then you can use {username} in the Template user_logininfo.html
Gruß Marcus