Customizing SMF > SMF Coding Discussion
SMF SSI graphic bug on Wordpress
amarextreme:
Hallo,
Please can anybody help me to edit, correct this one problem with the recent posts in my sidebar on wordpress. I have set this question, problem on the subforum in my language, but nobody from the users couldn't help me... Here is the screenshot of the problem :
Big thank !
Suki:
And what exactly is your problem?
I see the recent topics in your sidebar but I have no idea what do you want to do with it.
amarextreme:
The problem is that the list of recent topics didn't appear really good, I'm mean the design, did you see the first one and this [Prevoznici L-P], it is positioned on the center of the sidebar, but the rest didn't appear in full, in the first recent topic the text No limit Doboj saledob ... missing the rest of saledoboj and also there is missing the complete content with the time & date of the posting info for that recent topic. Do you understand now, or I must one more detailed it explain ?
Suki:
you could just return the data in the SSI function:
$data = ssi_recentPosts(8, null, null, 'return', true);
now $data holds all the recent post, you need to do a for each and apply your style to it:
foreach($data as $post)
{
echo $post['body'];
}
you can do a print_r($data); to see all the variables you can use.
amarextreme:
--- Quote from: Miss All Sunday on December 24, 2011, 10:49:13 AM ---you could just return the data in the SSI function:
$data = ssi_recentPosts(8, null, null, 'return', true);
now $data holds all the recent post, you need to do a for each and apply your style to it:
foreach($data as $post)
{
echo $post['body'];
}
you can do a print_r($data); to see all the variables you can use.
--- End quote ---
In which file I do these edits ?
Navigation
[0] Message Index
[#] Next page
Go to full version