1
Elektron
Re: Newbie Question..
  • 2005/11/4 16:49

  • Elektron

  • Just popping in

  • Posts: 5

  • Since: 2005/11/4


I found a Solution...


$path = XOOPS_URL;

echo "window.open('$path/modules/usr_admon/', target='_parent')";

Thanks...



2
Elektron
Re: Newbie Question..
  • 2005/11/4 16:31

  • Elektron

  • Just popping in

  • Posts: 5

  • Since: 2005/11/4


Quote:

Ronaldus wrote:
Hai,

I'm a coder, but just a guess:

echo "window.open('{XOOPS_URL}/modules/usr_admon/', target='_parent')";

Good luck!!



It doesn't work.. any ideas?
Thanks.



3
Elektron
How to open an aditional window with the xoops-url?
  • 2005/11/4 6:46

  • Elektron

  • Just popping in

  • Posts: 5

  • Since: 2005/11/4


This is mi code..


i want to replacehttp://osimzt.no-ip.info/portal
whit XOOPS_URL, because in a future.. i'll change my address
How can i put XOOPS_URL in window.open

echo "<SCRIPT language='JavaScript'>";
echo "window.open('http://orsimzt.no-ip.info/portal/modules/usr_admon/', target='_parent')";
echo "</script>";

i try this..

echo "window.open('XOOPS_URL/modules/usr_admon/', target='_parent')";

but it does not work.



My English is not to good.. sorry

[Edit by Bender]Topic changed



4
Elektron
Re: How can i...
  • 2005/11/4 6:11

  • Elektron

  • Just popping in

  • Posts: 5

  • Since: 2005/11/4


It's Work.. Thk!



5
Elektron
How can i...
  • 2005/11/4 2:05

  • Elektron

  • Just popping in

  • Posts: 5

  • Since: 2005/11/4


I use this code to get the active user..

global $xoopsUser;
$exp = $xoopsUser->getVar('uname');

how can i get the XOOPS_URL ?

Thk.




TopTop



Login

Who's Online

204 user(s) are online (112 user(s) are browsing Support Forums)


Members: 0


Guests: 204


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits