|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
maxpavent Smarty n00b
Joined: 20 Sep 2012 Posts: 1
|
Posted: Thu Sep 20, 2012 7:07 pm Post subject: polaczenie phpnews z smarty |
|
|
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
bardzo prosze o wskazowki, podpowiedzi, a moze ktos spotkal sie juz z tym? |
|
Back to top |
|
|
|
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
|