Question #56261 on phpns changed:
https://answers.launchpad.net/phpns/+question/56261

    Status: Open => Answered

dorkass proposed the following answer:
It depends on if you're viewing the single article at a time, or several
at a time. If you're viewing the single article, just set a new include
in your <title> tag with a template that shows only the news
title...then just include shownews.php again, with that template, and of
course the category you're showing in your current article. This works
fine,  I do it on my own sites.

example:

<title>
dorkass.net - 
<?php 
$phpns['items_per_page'] = 1;
$phpns['template'] = 19;
$phpns['category'] = 34;
include('shownews.php');
?>
</title>

<body>
<div id="widebody">
<?php
$phpns['disable_pagination'] = FALSE;
$phpns['items_per_page'] = 1;
$phpns['template'] = 13;
$phpns['category'] = 34;
include('shownews.php');
?>
</div>
</body>

-- 
You received this question notification because you are a member of
Phpns-team, which is an answer contact for phpns.

_______________________________________________
Mailing list: https://launchpad.net/~phpns-team
Post to     : phpns-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~phpns-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to