[Deprecated] DMZ 1.5.3 (DataMapper OverZealous Edition) |
[eluser]PoetaWD[/eluser]
[quote author="OverZealous.com" date="1247539730"]@PoetaWD: Did you enable the extension? You need to add it to either the config/datamapper.php config file, by adding it to the array under $config['extensions'], or by adding it to the Area model's $extensions variable. If you did add it, let me know where you added it. I'm slowly working on building a better set of example code that I can test new features on, so I can't discount that it is a bug. I haven't made it to my P.O. Box since returning from vacation, but I'll check this week![/quote] LoL My bad man... forgot to load the extension... If you need any help testing or.. I can do anything... just ask me ! Now for the code: I loaded the extension but it does not show the data in the JSON string... It gives me: Code: { "id": null, "stNome": null } Code: $obj = new Area(); I tryed: Code: $obj = new Area(); But it gives me a error... (I dont have it because I am at a public computer, my notebook is at home, I am the beach...) Have you ever used EXT JS? I am trying to learn it... it is really cool.. that is why I need the json code. They have this tutorial to build a data GRID with CI + EXT : http://extjs.com/learn/Tutorial:ExtJs_CodeIgniter But it is kind of hard and complicated I want to post a tutorial like: How to build a GRID with CI + EXT in 5 min using DMZ It is so easy when you are using DMZ ... But I want to know how to use the JSON extension to make the tutorial, I think that many other people will start using DMZ after they see a tutorial like this! Thanks for the help |
Welcome Guest, Not a member yet? Register Sign In |