Topic RSS
10:49 am
When I activate the plugin I'm losing footer of my page. It is because of my code in sidebar:
Can somebody tell me what's going on? Why cform is not cooperating with this?
<?php
// RSS FEEDS
@require_once('magpie_rss/rss_fetch.inc');
$rss_feed = array(
array(
'name' => 'IT',
'url' => 'http://www.blabla.pl/rss1.xml'),
array(
'name' => 'Polish Market',
'url' => 'http://www.blabla.pl/rss4.xml'),
array(
'name' => 'Economic',
'url' => 'http://www.blabla.pl/rss2.xml'),
array(
'name' => 'Medical',
'url' => 'http://www.blabla.pl/rss3.xml')
);
// Display
foreach ($rss_feed as $feed)
{
// Fetch news
$rss = fetch_rss($feed['url']);
echo "<div style='padding-bottom:5px'>";
//echo "<p style='padding:0; font-weight:bold'>{$feed['name']}</p>";
// Get the latest 2 news from each category
foreach ($rss->items as $key => $item)
{
if ($key < 1)
{
echo "<p style='padding:0; line-height:12px'><span style='font-weight:bold'>{$feed['name']}</span>: <a href='/articles/news/#".strtolower($feed['name'])."' style='font-weight:normal'>{$item['title']}</a></p>";
echo "<p style='padding-bottom:3px; text-align:right; font-size:10px; color:#777'>".date('m-d-Y', $item['date_timestamp'])."</p>";
}
}
echo "</div>";
}
?>
2:19 pm
March 6, 2005
OfflineYou're loosing your footer just by activating the plugin (no forms being displayed)?
What's the URL?
9:12 am
Yes, exactly. I'm loosing
my footer and part of right sidebar. Forms are displaying.
Everything is ok when I deactivate
the plugin or erase the code I posted in previous post.
I can't give you the url
because by now I am doing it locally, but I can give you any files you need.
Sorry for my english.
Can you help me with that?
10:51 am
Oh and one more thing.
When we have the page with all submitted forms from db, is it possible to add option "sorting by title" or rearrange the page and show first all for first title and then for the next and so on.
11:53 am
March 6, 2005
OfflineTino, by what you're saying, it's a layout issue that has to do with some of your code in the sidebar. Not having access to the actual site is making it virtually impossible to trouble shoot for anyone else but yourself:
Check for floats and/or absolute, relative CSS attributes. You might also want to use Firebug and use the W3C xhtml validator tool (you can copy and paste the code online, they don't need to have access to your site).
Re: ordering of submitted data: if by "title" you're referring to the form name, then that is already possible, just click on the column name above the respective column and it'll sort.
Most Users Ever Online: 959
Currently Online:
116 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
tracedef: 43
mores: 21
Gyrus: 20
frozenwaste: 18
asuffredini: 15
photoworks: 14
Member Stats:
Guest Posters: 3548
Members: 1464
Moderators: 3
Admins: 1
Forum Stats:
Groups: 1
Forums: 4
Topics: 5157
Posts: 18385
Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass
Moderators: Paul (421), cnymike (8), sonika (95)
Administrators: Oliver (6398)
FAQs
Home
Add Reply
Add Topic
Quote










