TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,021
  • Total Topics: 21,332
  • Online today: 582
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 235
  • Total: 235

Code for Recent Topics

Started by layne, March 14, 2007, 04:43:10 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

layne

Anyone got the code for the Recent Topics SSI block?  It would help me to see it so I could figure out the formatting for my own custom block. 

Lesmond

why not take a look in our block code snippet board ;)

G6Cad

I think you will find the code on this page to, with other ssi code and tutorials.
http://docs.simplemachines.org/index.php?topic=400

JPDeni

Another option is to look at the SSI.php file, which is where the function is.

layne

sorry, what i'm trying to get a hold of is all the code for when you create a new recent topics SSI function block in TP.  i'm trying to figure out how to utilize the short_subject function and i can't find it implemented anywhere so i can compare it with the code of my custom recent topics SSI. i know the default recent topics SSI block has it included, i just can't find the code for it.  i'm sorry, i know i'm a total newb at this so maybe i'm not even right about what i need. i've opened the SSI.php file, that's where I discovered the short_subject thing, i just can't figure out how it works in the code as a whole. i'm a cut and paste coder, couldn't write a string from scratch for nothing.

IchBin


This website is proudly hosted on Crocweb Cloud Website Hosting.