phpns-team team mailing list archive
-
phpns-team team
-
Mailing list archive
-
Message #00460
[Question #81604]: Only showing one news item when more are there
New question #81604 on phpns:
https://answers.launchpad.net/phpns/+question/81604
Using the latest version I'm only seeing one news item when two are published and active.
This is in my news page:
<?php
/*
This file is used to generate articles managed by the phpns system.
Place this code wherever you want your articles displayed on your
website. The page that this code is placed in should have a .php
extension.
*/
$phpns['category'] = '32';
$phpns['limit'] = '5';
$phpns['template'] = '9';
$phpns['order'] = 'asc';
//after variable declaration(s), include shownews.php
include("/home/blinktv/public_html/phpnews/shownews.php");
?>
I'm not using pagination and the article template is as follows:
<div style="margin-bottom: 30px; min-height: 130px;">
<h1 style="margin-bottom: 0pt"><a href="{article_href}" style="text-decoration: none; color:#a31e39;">{title}</a></h1>
<h3><em>{sub_title}</em></h3>
<span style="float: left; border-style: none"><a href="{image_location}">{image}</a></span>
<h4 style="margin: 0 0 0 3em; font-weight: normal;">{date}</h4><br>
<div style="font-size: 14px">
{main_article}
{extended_article}
</div>
</div>
First article shows up fine and other article is there in admin but not on the page.
--
You received this question notification because you are a member of
Phpns-team, which is an answer contact for phpns.