Home N-13 News Forums Help Search
RegisterForgot password?
How to add image to post necklacesdiscou
Known bugs - 4.0.3 necklacesdiscou

Latest N-13 News 4.0.3

What is N-13 News?
Where can I get help?
Known bugs

Forums How To How to Integrate a Specified Article
Kaybin
Posted on 11 Oct 2010, 16:30:08

Access: Member
Total Posts: 9
Joined: 2010-01-15

Anybody know the right way to specify an article ID in the include part of the SSI?

I can filter by Author, category and change post arrangement but what I really want to do is specify a single article either by ID or title into the filter and only display that article.

For example, I don't want the whole category to be display just the 1 article I want. Is the only way to do that is to provide a link with
Code:
code here
?id=""
after it?

Can this be achieved by the display filter?
Code:
<?php
#$author[] = 'Kevin';
#$author[] = 'Admin';
#if specified then only articles belonging to the above authors will be shown.
#if no authors are specified then all will be shown.
$template = 'Template1';
#if specified this template will be used, if not the default will be used
#$cat[] = 'Cycling';
#$cat[] = 'category2';
#$nppage = '3';
#if specified any posts assigned to those categories will be displayed.
#if no cats are specified then all posts will be displayed.
include 'admin/index.php'; ?>

The reason I am asking is because I want to default my homepage to a static article of my choice. Currently the only way I can achieve this is to keep a single article with a category of it's own.
#2933
Kaybin
Posted on 11 Oct 2010, 16:34:09

Access: Member
Total Posts: 9
Joined: 2010-01-15

I forgot to mention I am using Version 1.7.
#2934
Chris
Posted on 16 Oct 2010, 13:20:41

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

Unfortunately this is not possible but it may be something I'll implement implement in the next version of the script when the search is overhauled.
#2945
Network-13.com © 2013