Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6972455
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T16:58:11+00:00 2026-05-27T16:58:11+00:00

i installed the plugin and cannot find anything that tells me how it works

  • 0

i installed the plugin and cannot find anything that tells me how it works and how to use it.
i have the icon in place and an empty onClick event

in homeSuccess.php:

<input class='submit_img' type="image" src="/images/rainbow/feed-icon-14x14.png" value="Feed" alt="Feed" onClick="gotoFeed(this.value,<?php echo $usr_profile->getId();?>)">

gotoFeed JS in homeSuccess.php:

function gotoFeed(id)
{

   console.log("testing");      
   //must redirect to  feeds page??
}

in the actions class:

public function executeFeed(sfWebRequest $request)
{
    $profile_id = $this->getUser()->getAttribute('profile_id','zero');      
}

can anybody help please?
thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T16:58:12+00:00Added an answer on May 27, 2026 at 4:58 pm

    You can find the complete tutorial at this link sfFeed2Plugin, just clicking the tab Readme

    UPDATE

    I’m using this plugin with an action like this in my action class:

      public function executeFeedRss(sfWebRequest $request)
      {
        $feed = new sfRss201Feed();
    
        $feed->setTitle('MySite');
        $feed->setLink($this->generateUrl('@homepage'));
    
        $c = new Criteria;
        $c->addDescendingOrderByColumn(PostPeer::CREATED_AT);
        $c->setLimit(10);
        $Posts = PostPeer::doSelect($c);
    
        foreach ($Posts as $post)
        {
          $item = new sfFeedItem();
          $item->setTitle($post->getTitle());
    
          // according to routing rule
          $item->setLink($this->generateUrl('@posts', array('id'=>$post->getId())));
    
          $item->setPubdate($post->getCreatedAt('U'));
          $item->setUniqueId($post->getSlug());
          $item->setDescription($post->getBody());
    
          $feed->addItem($item);
        }    
        $this->feed = $feed;
      }
    

    and this code inside the template feedRssSuccess.php:

    <?php decorate_with(false) ?>
    <?php echo $feed->asXml(ESC_RAW) ?>
    

    Finally simply I have a link to this action in my layout through a template, but of course in a pageSuccess.php is the same.

    I hope this can help you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The Problem I have installed a plugin in eclipse and it works as it
I've got m2eclipse plugin installed and there's no problem syncing compile time dependencies that
I have the jQuery numberformatter-plugin installed, but don´t get it to work correctly. I
I have a following problems with eclipse, when I installed ClearCase plugin from this
I installed the paperclip plugin and was able to use it locally. When I
I just installed the FindBugs plugin for Eclipse, with the hope that it will
I have installed eclipse JDE plugin (ie BlackBerry_JDE_PluginFull_1.0.0.67.exe) , i can create a blackberry
I have a java maven project , i installed scala plugin for eclipse and
I installed Android 4.0 and updated the Eclipse plugin. Now I cannot run any
I have installed and set the Maven plugin but when I right click on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.