Forum FAQForum FAQSearchSearch MemberlistMemberlist Forum ignore listForum ignore list RegisterRegister ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in
cutenews - Kako prikazat naslove odabrane kategorije?

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Server-side
View previous topic :: View next topic  
Author Message
monkey



Joined: 20 Dec 2004
Posts: 856
Location: VG - ZG

PostPosted: 19.03.2005 17:19    Post subject: cutenews - Kako prikazat naslove odabrane kategorije? Add user to your forum ignore list Reply with quote

Samo me nemojte poslat na cutenewsov forum! Smile

Ovako htio bih znati jel se može nekako dobiti da mi prikazuje na stranici samo naslove od zadnjih npr. 5 tekstova od neke odabrane kategorije??

Koristim cute pa ako tko zna kako to napravit.... ako je skripta šaljite na privat!! Ajd tnx i nadam se da netko zna!!! Rolling Eyes

EDIT BY ADMIN: http://www.mi3dot.org/faq/readme/ - pročitaj dio o imenovanju topica. tnx.

_________________
mojinstruktor.com - sve instrukcije na jednome mjestu
trazilo.com - potražite dnevnu dozu inspiracije
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger Twitter profile
budha



Joined: 02 Mar 2004
Posts: 1377
Location: Osijek

PostPosted: 19.03.2005 17:56    Post subject: Add user to your forum ignore list Reply with quote

Code:
<?php
$category ='id_kategorije';
$number = '5';
include('news/show_news.php');
?>

_________________
I hate to advocate drugs, alcohol, violence, or insanity to anyone, but they've always worked for me.
Back to top
View user's profile Send private message Visit poster's website
bozob



Joined: 07 Mar 2004
Posts: 378
Location: Gruda, Konavle

PostPosted: 19.03.2005 18:05    Post subject: Add user to your forum ignore list Reply with quote

Ne treba te slat na cutenews forum, ovo što ti je budha napisao piše u helpu na cutenews i u readme fileu. E sad ovo što ti je budha napisao će radit al će pokazivat zadnjih 5 vijesti zadane kategorije a tebi to ne treba nego da ti ispisuje recimo zadnjih 5 naslova zadane kategorije. A kod za to ti je
Code:
<?PHP
$static = TRUE;
$number = "5";
$template = "Headlines";
include("path/to/show_news.php");
?>

Znaći što je važno da imaš template po imenu "Headlines", koji po defaultu imaš u cuteu napravljen. Ako ga nemaš onda ga napravi a u njega u active news samo ubaci ovo
Code:
{title}

Drugi put pročitaj readme file i help file pa ćeš znat kako
Back to top
View user's profile Send private message Send e-mail
budha



Joined: 02 Mar 2004
Posts: 1377
Location: Osijek

PostPosted: 19.03.2005 18:18    Post subject: Add user to your forum ignore list Reply with quote

my bad Embarassed
nisam vidio ovo s naslovima...

_________________
I hate to advocate drugs, alcohol, violence, or insanity to anyone, but they've always worked for me.
Back to top
View user's profile Send private message Visit poster's website
bozob



Joined: 07 Mar 2004
Posts: 378
Location: Gruda, Konavle

PostPosted: 19.03.2005 18:31    Post subject: Add user to your forum ignore list Reply with quote

Nije tvoj bad nego njegov Wink
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Server-side All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group