| Author |
Message |
Katanya
Nuke Soldier


Joined: May 05, 2005
Posts: 13
|
Posted:
Tue Feb 27, 2007 9:10 am |
  |
Could someone tell me what the code snippet is that I need to add to a block for the Admin Login link? I can't remember it at all. |
|
|
     |
 |
Katanya
Nuke Soldier


Joined: May 05, 2005
Posts: 13
|
Posted:
Thu Apr 05, 2007 4:05 am |
  |
Still haven't been able to find this. |
|
|
     |
 |
phpnuke-hosting
Support Mod


Joined: Oct 19, 2004
Posts: 1032
Location: UK
|
Posted:
Thu Apr 05, 2007 7:25 am |
  |
|
    |
 |
Katanya
Nuke Soldier


Joined: May 05, 2005
Posts: 13
|
Posted:
Thu Apr 26, 2007 8:06 pm |
  |
While that block looks cool and very useful, it looks like it logs you in to phpmyadmin. I will have to try looking though it more, but was just looking for the normal link that takes you to admin login for your nuke site's admin page.
Thanks for the link. |
|
|
     |
 |
phpnuke-hosting
Support Mod


Joined: Oct 19, 2004
Posts: 1032
Location: UK
|
Posted:
Thu Apr 26, 2007 9:32 pm |
  |
well if you just want a plain old html link then use
| Code: |
| <a href="/admin.php">Admin Login</a> |
You can insert code into a new block via the blocks admin.
Is this what you were looking for? |
_________________ www.phpnuke-hosting.com
The Internets Foremost PHP-Nuke Web Host.
Click Here! |
|
    |
 |
Katanya
Nuke Soldier


Joined: May 05, 2005
Posts: 13
|
Posted:
Fri Apr 27, 2007 6:26 am |
  |
| phpnuke-hosting wrote: |
well if you just want a plain old html link then use
| Code: |
| <a href="/admin.php">Admin Login</a> |
You can insert code into a new block via the blocks admin.
Is this what you were looking for? |
I'll try putting just a basic html code in there. I thought I had to use something with $admin, that's why I asked.
Thanks for the help!  |
|
|
     |
 |
phpnuke-hosting
Support Mod


Joined: Oct 19, 2004
Posts: 1032
Location: UK
|
Posted:
Sun Apr 29, 2007 9:03 am |
  |
$admin is a global so that will only work if your hardcoding a php block and then uploading it.
To create your own in the blocks admin use html. |
_________________ www.phpnuke-hosting.com
The Internets Foremost PHP-Nuke Web Host.
Click Here! |
|
    |
 |
Katanya
Nuke Soldier


Joined: May 05, 2005
Posts: 13
|
Posted:
Fri May 04, 2007 6:31 am |
  |
Oh, I suppose that is what I had done previously as I was editing a block I had. It had been one simple line as I recall, but it got lost because I didn't back it up and the block was changed with an update. |
|
|
     |
 |
|
|