![]() |
CodeExtinguisher 2.0 Release Candidate 14.2 - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: CodeExtinguisher 2.0 Release Candidate 14.2 (/showthread.php?tid=8451) |
CodeExtinguisher 2.0 Release Candidate 14.2 - El Forum - 06-02-2008 [eluser]abmcr[/eluser] [quote author="jTaby" date="1212432404"]abmcr, here are lines 244->246 of codexcontroller.php: Code: if(count($this->table_access_restriction) > 0) [/quote] I have discovered: in the wiki i read table_access_restrictions but this is an error because it is necessary to use table_access_restriction. ;-) IN other post you write Code: function execute_add(){ Code: function execute_edit(){ but the hello word not appears .... CodeExtinguisher 2.0 Release Candidate 14.2 - El Forum - 06-02-2008 [eluser]Majd Taby[/eluser] ah I apologize, the execute_add function redirects, that's why it doesn't happen. I would suggest you add your own event if you want to change what happens at the events. Take a look at post #113 for the links to the Khaos::EventManager docs CodeExtinguisher 2.0 Release Candidate 14.2 - El Forum - 06-02-2008 [eluser]Donald Hughes[/eluser] I created a custom controller and everything works fine except that the form does not repopulate when I try to edit a record. Is there something obvious I'm missing? CodeExtinguisher 2.0 Release Candidate 14.2 - El Forum - 06-02-2008 [eluser]Majd Taby[/eluser] did you modify the core? can you paste some code? there's only so much I can help you with before you can give me some code. CodeExtinguisher 2.0 Release Candidate 14.2 - El Forum - 06-02-2008 [eluser]abmcr[/eluser] [quote author="jTaby" date="1212443367"]ah I apologize, the execute_add function redirects, that's why it doesn't happen. I would suggest you add your own event if you want to change what happens at the events. Take a look at post #113 for the links to the Khaos::EventManager docs[/quote] Yes Yes.... i have do it editinbg the kaos/plugin.... CodeExtinguisher 2.0 Release Candidate 14.2 - El Forum - 06-02-2008 [eluser]Donald Hughes[/eluser] It's a really basic form. I just needed to be able to add custom validators. news.php Code: class News extends codexController news.yml: Code: title: CodeExtinguisher 2.0 Release Candidate 14.2 - El Forum - 06-02-2008 [eluser]Majd Taby[/eluser] are you using RC 14.2 from the first post in this thread? I copy-pasted your code and it seems to be working fine. CodeExtinguisher 2.0 Release Candidate 14.2 - El Forum - 06-02-2008 [eluser]Donald Hughes[/eluser] I'm sorry, I'm only using rc13. I'll upgrade and see if that fixes my problem. CodeExtinguisher 2.0 Release Candidate 14.2 - El Forum - 06-02-2008 [eluser]Donald Hughes[/eluser] I upgraded to 14.2. Now I get a blank page when I try to navigate to my controller (/news). If I specify /news/add, I get the add view, but just going to the controller is a blank page. I also noticed that the hardcoded paths in codex_choosers.php was causing the interface to be messed up for me since I'm not using the standard application path. CodeExtinguisher 2.0 Release Candidate 14.2 - El Forum - 06-02-2008 [eluser]Donald Hughes[/eluser] Some more info on my problem: Here's the latest thing logged: Severity: Notice --> A non well formed numeric value encountered /codex2_rc14.2/plugins/date.php 12 Could it be that the date plugin is not working correctly for me, and that is causing the problem? |