Welcome Guest, Not a member yet? Register   Sign In
Mootools Rapid Ratings : Passing variable to Php via the Request class [Tuto]
#4

[eluser]TheIgniter[/eluser]
Hi pickupman,

Thanks for you reply! I started learning jquery last week but i found that rabidratings (Using mootools javascript framework) is a good widget. i'll try jquery with the five star rating plugins when i feel ready to jquery.

Well, with
Code:
var rating = new RabidRatings({url:'http://localhost/projectolearn/index.php/users/loadlib'});

i'm refering to the rabidratigns library that i create from the default rabidrating class code. The vote work fine, it store all data in the database, what i need is just to pass other variables to the database with the user vote...

This my code :

Code:
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
class Loadlib extends Public_Controller
{
    public function __construct()
    {
        // Call the parent's constructor method
            parent::__construct();
          // Load the required classes
        $this->load->library('RabidRatings');  
        
    
    }
    public function index()
    {
        echo "blah test " ;
    }
};

You can take a look to the rabidrating codes :
Code:
http://msteigerwalt.com/widgets/ratings/v1.2/

Thanks dude.


Messages In This Thread
Mootools Rapid Ratings : Passing variable to Php via the Request class [Tuto] - by El Forum - 06-27-2010, 06:00 PM



Theme © iAndrew 2016 - Forum software by © MyBB