Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

polaczenie phpnews z smarty

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: Polish
View previous topic :: View next topic  
Author Message
maxpavent
Smarty n00b


Joined: 20 Sep 2012
Posts: 1

PostPosted: Thu Sep 20, 2012 7:07 pm    Post subject: polaczenie phpnews z smarty Reply with quote

mam problem z polaczeniem systemu newsow phpnews z smarty.

mowiac wprost - nie potrafie wyswietlic newsow na stronie glownej.
jest do tego gotowiec w postaci:
Code:
<?php include('phpnews/news.php'); ?>

wykorzystujac cos takiego w pliku index.php i otwierajac strone newsy wyswietlaja sie na samej gorze - tak jak echo z pliku html.

przegladajac plik news.php odnalazlem ze jest funkcja news(), ktora ma za zadanie zebrac dane do wyswietlenia i wyswietlic je tak jak to okresla szablon wyswietlania newsow na stronie glownej z phpnews.

teraz jak to zrobic, aby wyswietlic newsy wykorzystujac smarty?
probowalem roznych sposobow, ale bez skutku Sad

bardzo prosze o wskazowki, podpowiedzi, a moze ktos spotkal sie juz z tym?
Back to top
View user's profile Send private message
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.    Smarty Forum Index -> Language: Polish All times are GMT
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
Protected by Anti-Spam ACP