cforms II User Forum

Registration is currently disabled.
Guest

FAQs

Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Big problem
May 16, 2007
10:49 am
Tino
Guest

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&#39;),
            array(
                'name' => 'Polish Market',
                'url' => 'http://www.blabla.pl/rss4.xml&#39;),
            array(
                'name' => 'Economic',
                'url' => 'http://www.blabla.pl/rss2.xml&#39;),
            array(
                'name' => 'Medical',
                'url' => 'http://www.blabla.pl/rss3.xml&#39;)
        );
       
        // 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>";
        }
    ?>

May 16, 2007
2:19 pm
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

You're loosing your footer just by activating the plugin (no forms being displayed)?

What's the URL? 

 

May 17, 2007
9:12 am
Tino
Guest

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? 

 

May 17, 2007
10:51 am
Tino
Guest

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.

 

 

May 17, 2007
11:53 am
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

Tino, 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.

 

May 17, 2007
4:48 pm
Tino
Guest

Thank you. I will try to check it and tomorrow I will post everything on-line.

  

Forum Timezone: Europe/Berlin

Most Users Ever Online: 959

Currently Online:
27 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: 3708

Members: 1463

Moderators: 3

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 5307

Posts: 18665

Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass

Moderators: Paul (421), cnymike (8), sonika (95)

Administrators: Oliver (6400), Nicky (3)