I read on the simplemachines website that you used the html block and ssi to put up your recent topics block here.
Would you please expound on how to do that?? What is the code I need to insert?? Thanks!!!
Dan
Not exactly..the "recent posts" is a special built-in block..but I have added 2 new block types:
- a javascript/html block allowing for use of javascript as well as html.(see the "shellcity.net" block here - its a one-liner javascript fetching news from that site.)
- a php code block, where you can write direct php code. Even html would have to be in an echo statement, but you get more freedom with it. Of course..its also quite easy to make mistakes with it, so I am doing a preview function for that, in another window..to check if it "breaks" before showing it in the forum.
Also, new blocks will now be set to "off" upon creation...to give you time to check it before setting it "on".
so.. is there an 'easy' way to use the html block as is to do a recent topics feature using ssi??
Not in beta 4, but in beta 5, yes. Just use a php type block there and do a call to a SSI.php function. But as I said, the "recent topics" has already been done for you in that beta. Basically it collects data from the function and output them in a compact way, because just letting the function do the rendering itself(default behavouir) will make it too big to fit in a block - in width.
I'm really intrested in this feature (like in php block as I said in another post)... I could also do it by me but not well as you, so, have you planned a release-date for beta 5?
Well, any day now. I am just doing all the major changes first, and double-checking.
Alright!! :-) Looking forward to the next release
~a big fan. 8)