The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Adding portal news section to a different website

2 posters

Go down

Adding portal news section to a different website Empty Adding portal news section to a different website

Post by LukeGab February 3rd 2010, 1:45 am

I have a forum and a website.

OEOutlaws.com

and

OEOutlaws.forumotion.om

Currently I am updating the news manually on my .com website. I noticed that on my forum's portal, though, it has a block called "News" which takes a topic from a certain forum and displays it on the forum homepage. I want to take this news block and somehow put it on my .com website so I don't have to continually update my html to add news. Plus it has the benefit of comments.

So I did some searching and found the script for the news block of my forum's portal. (Below)

Any suggestions?

Code:
<!-- BEGIN post_row --><!-- BEGIN saut -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
   <tr>
      <td height="2px"></td>
   </tr>
</table><!-- END saut -->
<table class="forumline mod_news" width="100%" border="0" cellspacing="1" cellpadding="0">
   <tr>
      <td class="catLeft" height="25">
         <a name="news_{post_row.ID}"></a><span class="genmed">{post_row.TITLE}</span>
      </td>
   </tr>
   <tr>
      <td class="row2" height="24"><span class="gensmall"><img src="{ICON_TIME}" alt="" />{post_row.TIME} {BY} <b>{post_row.POSTER}</b></span></td>
   </tr>
   <tr>
      <td class="row1">
         <span class="gensmall content" style="line-height:150%">
            {post_row.TEXT}<br /><br />
            {post_row.OPEN}
            <a href="{post_row.U_READ_FULL}">{post_row.L_READ_FULL}</a>
            {post_row.CLOSE}
         </span>
      </td>
   </tr>
   <tr>
      <td class="row3" height="24"><span class="gensmall"><a href="{post_row.U_VIEW_COMMENTS}">{L_COMMENTS}</a>: {post_row.REPLIES}</span></td>
   </tr>
</table><!-- END post_row -->

<!-- BEGIN switch_image_resize -->
<script type="text/javascript">
//<![CDATA[
$(resize_images({ 'selector' : '.mod_news .content', 'max_width' : {switch_image_resize.IMG_RESIZE_WIDTH}, 'max_height' : {switch_image_resize.IMG_RESIZE_HEIGHT} }));
//]]>
</script>
<!-- END switch_image_resize -->
avatar
LukeGab
Forumember

Posts : 32
Reputation : 0
Language : English

Back to top Go down

Adding portal news section to a different website Empty Re: Adding portal news section to a different website

Post by owner08 March 29th 2010, 4:34 pm

wondering about the same..

is there a code that can be put?
avatar
owner08
Forumember

Posts : 145
Reputation : 0
Language : english

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum