Hi,
I am adding a chat page to my site, and I'd like it to be in the same style of the entire board. I'd like it to appear in the middle of the page, leaving the other blocks of the portal untouched... I mean, from the home page (portal) just adding a link to the header and make the applet to appear in the middle of the portal like xsnews do... is it possible?
Sorry but I have very little knowledges of php... I have the empty page I found in Contrib folder and I have the script of the chat (an IRC channel)... but I don't know how to make it work :(
How To Deal With An Empty Page...
Subject: Re: How To Deal With An Empty Page...
mmm, test this file and replace where it's SCRIPT CODE HERE with your script
| blank_page.rar | ||
| Description: | ![]() Download |
|
| Filename: | blank_page.rar | |
| Filesize: | 709 Bytes | |
| Downloaded: | 250 Time(s) | |
Subject: Re: How To Deal With An Empty Page...
Hey thanks it works... or better: the script now works and the page loads :D
What should I do now to make it appear like the portal with the script in the middle instead of xsnews?
I'd like the script to be in the middle of the page, with normal blocks in left and right columns...
Ah by the way, I get some errors:
Could they be due to the script?
The script is quite simple I think, it just recalls a java applet:
Zuker wrote: [View Post]
Hey thanks it works... or better: the script now works and the page loads :D
What should I do now to make it appear like the portal with the script in the middle instead of xsnews?
I'd like the script to be in the middle of the page, with normal blocks in left and right columns...
Ah by the way, I get some errors:
Quote:
Could they be due to the script?
The script is quite simple I think, it just recalls a java applet:
- <!-- Begin Azzurra JavaCR Code -->
- <center>
- <applet align="center" archive="http://javacr.azzurra.org/java/cr.zip" codebase="http://javacr.azzurra.org/java/" code="ConferenceRoom.class" width="670" height="390">
- <param name="cabbase" value="http://javacr.azzurra.org/java/cr.cab">
- <param name="ssp" value="http://javacr.azzurra.org/params/javaazzurra.prm">
- <param name="joinSound" value="drip.au">
- <param name="nick" value="kope_guest">
- <param name="restricted" value="false">
- <param name="room" value="#kope">
- <param name="roomsWidth" value="0">
- <param name="simple" value="false">
- <param name="ticker" value="">
- Questa applicazione necessita di un browser abilitato Java
- </applet>
- </center>
- <center>
- <a href="http://www.azzurra.org" target="_blank">
- <img src="http://www.azzurra.org/aznetlogo.gif" border="0">
- </a>
- </center>
- <!-- End of Azzurra JavaCR Code -->
Subject: Re: How To Deal With An Empty Page...
u can add a portal page in the ACP and create the blocks u want
And add an html block with the script
And add an html block with the script
Subject: Re: How To Deal With An Empty Page...
I'm creating it... where is it created? I mean, once created, how to link it (and edit it)? :D
(sorry for my stupid questions... :oops: )
Zuker wrote: [View Post]
I'm creating it... where is it created? I mean, once created, how to link it (and edit it)? :D
(sorry for my stupid questions... :oops: )
Subject: Re: How To Deal With An Empty Page...
check that the page created got an id assigned
then, u will have http://www.yourweb.com/root/index.php?page=id
pd: check this guide: http://www.icyphoenix.com/viewtopic.php?t=47
then, u will have http://www.yourweb.com/root/index.php?page=id
pd: check this guide: http://www.icyphoenix.com/viewtopic.php?t=47
Subject: Re: How To Deal With An Empty Page...
Thanks a lot, it works great! ;)
I have another question... if I use a "code-only" applet all works fine, because the html in the block just links to an applet hosted by another service.
But if I'd like to use a more complex applet that SHOULD have in his own folder the .jar and stuff to work? Which is the directory from which the code is read? I mean, if I have a dinamic link like "/data/stuff.jar" in the code, where have I to put this file? Or should I modify the code in order to point it to the file? (eg: "http://mysite.com/folder/data/stuff.jar")
I hope I used a understandable english :shock:
Zuker wrote: [View Post]
Thanks a lot, it works great! ;)
I have another question... if I use a "code-only" applet all works fine, because the html in the block just links to an applet hosted by another service.
But if I'd like to use a more complex applet that SHOULD have in his own folder the .jar and stuff to work? Which is the directory from which the code is read? I mean, if I have a dinamic link like "/data/stuff.jar" in the code, where have I to put this file? Or should I modify the code in order to point it to the file? (eg: "http://mysite.com/folder/data/stuff.jar")
I hope I used a understandable english :shock:
Page 1 of 1
You cannot post new topicsYou cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events
This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by Icy Phoenix based on phpBB
Generation Time: 0.1595s (PHP: 12% SQL: 88%)
SQL queries: 12 - Debug Off - GZIP Enabled
