I have a site with three columns and display the summary in the middle section which is 360px wide so want to display the full article on a new page. Is there a way that this can be achieved?
Regards, Lloyd
The section of your site where you want to display the summary do the following.
Create a new template called Summary
, for the News
section of that template, use the following code
{title}<br />
{summary}
<a href="newpage.php?id={id}">Read more</a>
Then on your site where you want to display the summary add the following code
<?php
$template = 'Summary';
include 'news/index.php';
?>
This will display the articles with the summary only and display a "Read more" link beneath each one, that when clicked, will send the user to newpage.php
, you then need to create that newpage.php
and inside it add the following code where you want the full article to display
<?php
include 'news/index.php';
?>
Hi Chris, Well that was so precise I don't even have to implement it to know I owe you thanks and a donation. First part sent in this reply and second to follow when client say yeahhhhh, which after the trouble we have been through I know they will do.
Chris many thanks and respect for your contribution to the Internet. Valuable, it really is.
Lloyd
Does Friendly URLs works with this kind of display articles?