• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
flexigrid and CI 2.0.3 token

#1
[eluser]Unknown[/eluser]
Hello all

I have sucess fully implemented flexigrid in CI 2.0.3 but when I tried to enbale CSRF=TRUE from config file my Flexigrid is not working.

Can anyone please help me to solve this

I found following alternatives but its not working.please help me


In order to work with CSRF plugin (http://ellislab.com/forums/
viewthread/92399/)
I have added a line in helper and flexigrid.js which are;
flexigrid_helper.php
46. $grid_js .= "sortorder: '".$sortorder."',";
47. $grid_js .= "ci_token: '".getCSRFToken()."',";
and flexigrid.js
51. onSuccess: false,
52. ci_token: '',
52. onSubmit: false

Its not working for me.I think getCSRFToken() is not available in CI 2.0.3.please help me


Messages In This Thread
flexigrid and CI 2.0.3 token - by El Forum - 11-02-2011, 12:05 PM
flexigrid and CI 2.0.3 token - by El Forum - 11-07-2013, 05:32 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.