| User | Post |
|
7:40 pm 7 Nov 2007
| walhala
New Member
| | | |
|
| posts 1 |
|
|
hello,
iI used a theme, which support no widget. I think it is an easy question, but I find
no answer on the internet.
What a php code must I write in the sidebar.php for the recent forum posts?
I’m sorry for my bad english
|
|
|
|
|
Read the User Guide. They are all defined in there.
|
|
|
11:42 am 8 Nov 2007
| -Radio-
Moderator
| | Florida - USA | |
|
| posts 481 |
|
|
wow Andy
I thought I was grumpy late at night…
the simple answer for the question posted.
<?php sf_new_post_announce() ?>
other options are listed on pages 34 through 36 of the Manual.
(non Native english speaker asking, figured I aught to clarify
the RTFM reply is kinda rough if TFM is not written in the language you speak)
|
|
|
|
|
|
11:03 am 23 Jun 2008
| CDF
New Member
| | | |
|
| posts 2 |
|
|
Hi -
I'm having problems customising this widget as well using the latest Simple: Press Forum - my site is:
http://www.whirledpeas.eu/
The problem is that if I implement the Recent Forum Posts widget, it displays, but in a style that is alien to the rest of the blog page.
The tag mentioned earlier in this thread apparently no longer works.
Please advise.
Regards, CDF
|
|
|
2:36 pm 23 Jun 2008
| Mr Papa
Moderator
| | Arizona, USA | |
|
| posts 1256 |
|
|
look at the online help (on you site, spf admin pages) for available tags… or look in the sf-tags.php file…
sf_recent_posts_tag() and sf_recent_posts_alt_tag() will do the same thing but in different styling and will more closely match your other sidebar items… personally, I like the latter…
however, these tags are not widgets and will need to be either called from a theme theme or put into a text widget that allows php (such as samsarin-php)…
|
|
|
2:47 pm 23 Jun 2008
| CDF
New Member
| | | |
|
| posts 2 |
|
|
Thanks for that - I was able to put it into the sidebar - it just needs some styling, which I'll do once I get home.
|
|
|
2:50 pm 23 Jun 2008
| Mr Papa
Moderator
| | Arizona, USA | |
|
| posts 1256 |
|
|
np… glad you got it working… look at the function parameters as you can control what it shows and does not show… and yes, they get css classes so you can style it without modding the core files…
|
|