sNews Forum

sNews 1.6 (previous version) => Programming => Topic started by: adminphp on September 07, 2010, 12:25:56 pm

Title: list new one article in index Separated from the other articles ...
Post by: adminphp on September 07, 2010, 12:25:56 pm
Does anyone know how to list new one article in index Separated from the other articles by image or adsense google ... some thing like that.?

Example/

<div id="main_2">
<?php center(0,1); ?>
</div>
<img border="0" src="img.png" width="xx" height="xx">
<div id="main">
<?php center(2,20); ?>
</div>

To identify the situation was more//

_The first new article_
_image or table
_article two _
_article three_
_.........forth_
_.........five_
Title: Re: list new one article in index Separated from the other articles ...
Post by: adminphp on September 14, 2010, 01:55:57 pm
ok .. let's explain the problemm .. What I want to say. is can we Displaye some article  from another categorie .in the homepage
(index ).

for example;) we have three categories (index-categorie2-categorie3-)

So we'll create an article put it in the second or third section ... To display the latest news from that section .. Us to become a mixture of articles from different sections

to explain better!!;) display like this/

Code: [Select]
<?php news_categorie_one(); ?>
<?php news_caegorie_two(); ?>
<?php center(); ?>
<?php news_categorie_three(); ?>

so we Must be written PHP function  in the file snews.php..I wish I had you know what I mean ... Thank you.