TinyPortal
General => Chit chat => Topic started by: sirknight on May 18, 2005, 09:45:41 AM
What modification done by TinyPortal to SSI.php? If not, how can i display my article into the homepage of my website(not the tinyportal index page, though i also display all articles there). But i will display only the intro text of articles and the read more links.
Thanks
Basically you just include('path-to-ssi.php'); and do the call to the function in it, I have not adjusted SSI.php at all, TP just use its own version(which is just slightly different).
OK so no modificaytion on SMF SSI.php.. :) But how can i display my articles in my website? you can visit now the site.. www.jascdemolay.org. I want to create a box in my homepage and the contents of this box is came from the articles created in TinyPortal. How can i do this?
ah..thats trickier, because SSI.php use its own routine to fetch its data, whereas TP depend on SMf to get it - partly.
So in order to show articles from TP, you need an own function to do this..it basically can consist only of a call to the database, and then simply render the output. Articles use no BBC code, so its no need to apply that rather complex routine to it.
But your frontpage can really be done in TP itself. The links "block" you have, affilitaes. recent topics there in the middle..all this can be done in TP...only problem is that you don't want to show same blocks in there as in forum - and the theme/look of course would have to be converted to SMF theme.
So before I have implemented blocks that can be shown only certain places, it will be a limitation.