 |
 |
 |
 |
Registered: 06/05/06
Posts: 469
|
|
|
 |
 |
 |
 |
|
 |
 |
 |
 |
#189524 - 07/01/07 03:17 PM
Building Islands - External Use
|
member
|
Registered: 05/10/07
Posts: 154
Loc: Rye, Co - USA
|
|
Hi. I'm uncertain how to get my portal islands to work correctly outside the community program. I suppose the same process would pertain to any portal layout island needing to be built outside of the message board program. I'm creating a 3-column newsletter from my website at this link: Newsletter Archives and want to use the "Recent Topics" and "Public Calendar" islands to appear on the 1st and 3rd columns of the newsletter. I know to get the code for external use, I go to cp -> portal layout -> make sure the checkbox is checked for these islands and update the page, and then click on the "external use" link to find my code. It was easy for me to know WHERE to place the html code within my html webpage. But I'm not sure WHERE to place the php code. I understand the instructions say my webpage needs to be php enabled. Does this mean I just need to change the .htm extention to .php instead? That would be easy-enough to do. But then in a later paragraph, it reads: Inserting the php code above will insert the following HTML into it's place. As you can see there are 2 CSS classes you'll want to define for the included HTML, those being tdheader and alt-1. You can modify the properties of the table itself in the code above.:Can't I just go to a language file for our calendar and copy the same tdheader and alt-1 code specifics? Thanks for any help. I realize I could be way off-base here; but definitely need to know how to fix this.
_________________________
|
|
Top
|
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
|
Express Hosting
"We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#189575 - 07/01/07 08:07 PM
Re: Building Islands - External Use
[Re: Trixie]
|
journeyman
|
Registered: 07/01/07
Posts: 77
Loc: Rangiora, North Canterbury, Ne...
|
|
Hello All (and Rick) 7.1 looks great and can't wait to install it on our network I used to be able to display Content Islands on the right homepage of each site within New Zealand's Information Network like you see on the sample sites listed below. New Zealand's Information Network Golden View Motel Airport Garden Inn Hotel & Conference CentreAll I did is add this code
<link rel="stylesheet" href="css/discussions.css" type="text/css" />
<table align="right">
<tr>
<td><script src="http://www.newzealandnz.co.nz/discussions/ContentIslands/1_html.js" language="Javascript1.3" type="text/javascript"></script>
</td>
</tr>
</table>
The pages I am using for the Websites is HTML and I cannot see how to use the new code given rss1.xml code to achieve the same result. If you look through the sample sites provided you will see I have made full use of the wrappers that you can display around each individual message board, the way we run our Network is as a group. Every Website within our Network has its own Message Board which points back to the main Message Board of New Zealand's Information Network. It works really well, however, being able to have a content island on the top right hand side is a great way for each individual Website owner to get their Message Board seen and used. Any help much appreciated. If you are clever enough to give me a hand in pulling the rss1.xml content from the file to display in a box I would be most grateful if you could post it here. Feed URL: http://www.newzealandnz.co.nz/discussions2/cache/rss1.xmlMaybe To use the HTML format as a Server Side Include:
<link rel="stylesheet" href="css/discussions.css" type="text/css" />
<table align="right">
<tr>
<td><!--#include virtual="/usr/wwwroot/ddehek/newzealandnz/discussions2/cache/rss1.xml" -->
</td>
</tr>
</table>
or To use the HTML format as a PHP Include:
<link rel="stylesheet" href="css/discussions.css" type="text/css" />
<table align="right">
<tr>
<td>
<?
readfile("/usr/wwwroot/ddehek/newzealandnz/discussions2/cache/rss1.xml");
?>
</td>
</tr>
</table>
_________________________
Best Regards Danny de Hek - Below is our Office Cam Image
|
|
Top
|
|
|
|
|
 |
 |
 |
 |
|
|