Forums / Setup & design / Loading article in separate page

Loading article in separate page

Author Message

Emmanuels magaya

Tuesday 19 October 2004 3:42:45 am

I still havent found a solution to my problem - I need to have a homepage with a design that is different from the subpages. I once posted an article and gave an example of a website with the sort of structure that I want (www.Actuality_Systems.com). On my page, I need to display a snippet of a news article on the homepage, but when you click it, it must show you the full article - in a separate window. I manually inserted the code - {$module_result.content} in a table hoping this would work, but it didnt. when I click on my news article link on the homepage, it loads the entire artivle on the same page in the same table and yet I wish to have it such that when I click that link, it must load the article in a separate page diffrerent from my homepage. I have inserted my html script below...

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
<link rel="stylesheet" type="text/css"
href={"stylesheets/core.css"|ezdesign} />
<link rel="stylesheet" type="text/css"
href={"stylesheets/debug.css"|ezdesign} />
<link rel="stylesheet" type="text/css"
href={"stylesheets/tscm.css"|ezdesign} />
</head><body><font color="#003366">{* Include the standard "page_head.tpl" file. *} {include
uri="design:page_head.tpl"}
</font>
<div id="path">
<div id="path-design"><font color="#003366"> {include uri="design:parts/path.tpl"}
</font></div>
<font color="#003366">{* id="path-design" *} </font></div>
<font color="#003366">{* id="path" *} </font>

<table width="60%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td colspan="4"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
</tr>
<tr>
<td><a href="/news"|ezurl}><font size="2" face="Geneva, Arial, Helvetica, sans-serif">News</font></a></td>
</tr>
</table>

</td>
</tr>
<tr>
<td height="391" align="left" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="c:/apache2/htdocs/newsite4/design/tscm/images/home_top.png" width="347" height="195"></td>
</tr>
<tr>
<td><img src="c:/apache2/htdocs/newsite4/design/tscm/images/ladies.png" width="347" height="195"></td>
</tr>
</table></td>
<td width="10"> </td>
<td colspan="2" align="left" valign="top"><table width="75%" border="0" cellspacing="0" cellpadding="0">
<tr align="center">
<td colspan="2"> <table width="88%" border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td align="right"><em><font color="312E99" size="3" face="Arial, Helvetica, sans-serif"><strong><font size="5">Welcome
to Blalalalalalal</font></strong></font></em></td>
</tr>
<tr>
<td align="right"><em><font size="2" face="arial"><strong><font size="1" face="Geneva, Arial, Helvetica, sans-serif">sometext
sometext some text</font></strong></font></em></td>
</tr>
<tr>
<td height="5" align="center"><em></em></td>
</tr>
</table>
<p><em><font size="2" face="arial"><strong> </strong></font></em></p>
<p><em><font size="2" face="arial"></font></em></p></td>
</tr>
<tr>
<td><img src="c:/apache2/htdocs/newsite4/design/tscm/images/home_prod1.png" ></td>
<td width="167" align="left"><img src="c:/apache2/htdocs/newsite4/design/tscm/images/home_prod2.png" width="160" height="18" vspace="2"></td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td><img src="c:/apache2/htdocs/newsite4/design/tscm/images/home_prod3.png" width="195" height="18"></td>
<td> </td>
</tr>
<tr>
<td height="19" class="content"><font size="1">{$module_result.content}</font></td>
<td> </td>
</tr>
</table>
<em></em></td>
</tr>
<tr>
<td width="347"> </td>
<td width="10"> </td>
<td width="169" colspan="2" align="left" valign="top">  </td>
</tr>
<tr>
<td colspan="4"> </td>
</tr>
</table>
<p align="center"> </p>
</body>
</html>