• When I activate the cform plugin I’m losing footer of my page. It is because of my code in sidebar:

    <?php
    // RSS FEEDS
    @require_once(‘magpie_rss/rss_fetch.inc’);

    $rss_feed = array(
    array(
    ‘name’ => ‘IT’,
    ‘url’ => ‘http://www.blabla.pl/rss1.xml&#8217;),
    array(
    ‘name’ => ‘Polish Market’,
    ‘url’ => ‘http://www.blabla.pl/rss4.xml&#8217;),
    array(
    ‘name’ => ‘Economic’,
    ‘url’ => ‘http://www.blabla.pl/rss2.xml&#8217;),
    array(
    ‘name’ => ‘Medical’,
    ‘url’ => ‘http://www.blabla.pl/rss3.xml&#8217;)
    );

    // 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>: {$item[‘title’]}</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>”;
    }
    ?>

    Can somebody tell me what’s going on? Why cform is not cooperating with this?

    If there is no cform everything is ok.

  • The topic ‘Importing RSS and cfrom plugin problem’ is closed to new replies.