Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Showing recent posts/using template tags in 5.0
Avatar
CoMPa
Member
Free Members
sp_UserOfflineSmall Offline
Dec 13, 2011 - 8:15 am

Digging through the template tag plugin I managed to complete a list using 

sp_RecentPostsTag($defs);

but didn't manage to get

sp_recent_posts_expanded(10,0);

working (failing with a Call to undefined function sp_recent_posts_expanded())

Any ideas? Did I miss some checkbox somewhere? From the sub level directory I get that both should be loaded to include?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Dec 13, 2011 - 9:25 am

No the 'expanded' version has not been completed yet. Still not sure if it will be retained to be honest.

andy-signature.png
YELLOW
SWORDFISH
Avatar
CoMPa
Member
Free Members
sp_UserOfflineSmall Offline
Dec 13, 2011 - 11:06 am

Would be nice if it be possible to do the first one to an array instead of a pre formatted string then ... could write my own based on the available code of course 🙂

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Dec 13, 2011 - 11:22 am

OK.... so what would be the point of having a template tag or widget without the html? There is no inline styling. Everything is given a class for you to style with. And it is already coded up with a huge bunch of options and parameters that there ain't much it probably won't do.

But sure - if you want to reinvent the wheel and just get the data then all you need to do is instantiate the class and you get your data object.

andy-signature.png
YELLOW
SWORDFISH
Avatar
CoMPa
Member
Free Members
sp_UserOfflineSmall Offline
Dec 14, 2011 - 2:43 pm

I understand what your meaning but using the normal output won't play nicely with the markup, but I'll give it a shot playing with our CSS ...

We switched our site to WP3.3/SP5.0 after two weeks of testing, all seems fine for now ...

Tnx and keep it up!

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 617
Members: 17359
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10125
Posts: 79620