![]() |
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 - 05-29-2008 [eluser]daulex[/eluser] this is what comes back if Date_eu is included. Code: Parse error: syntax error, unexpected ';', expecting T_PAAMAYIM_NEKUDOTAYIM in D:\xampp\htdocs\ce\system\application\backend\plugins\date_eu.php on line 26 CodeExtinguisher 2.0 Release Candidate 14.2 - El Forum - 05-29-2008 [eluser]Majd Taby[/eluser] make sure there's no semi colon on this line: $CI = &get;_instance(); The semi colon you see after get is added by the forums and causes a lot of confusion CodeExtinguisher 2.0 Release Candidate 14.2 - El Forum - 05-29-2008 [eluser]daulex[/eluser] [quote author="jTaby" date="1212126325"]make sure there's no semi colon on this line: $CI = &get;_instance(); The semi colon you see after get is added by the forums and causes a lot of confusion[/quote] line 26 Code: $CI = &get;_instance(); and 24-28 just in case Code: function getHTML() CodeExtinguisher 2.0 Release Candidate 14.2 - El Forum - 05-30-2008 [eluser]abmcr[/eluser] The forum insert not permitted charachter: i attach the jpg of correct code CodeExtinguisher 2.0 Release Candidate 14.2 - El Forum - 05-30-2008 [eluser]abmcr[/eluser] I want to get the id of the record in the prepForDisplay riutine. I have set this code Code: function prepForDisplay($value){ Code: A PHP Error was encountered I have set the code as Code: function prepForDisplay($value){ ![]() CodeExtinguisher 2.0 Release Candidate 14.2 - El Forum - 05-30-2008 [eluser]daulex[/eluser] [quote author="abmcr" date="1212152058"]The forum insert not permitted charachter: i attach the jpg of correct code[/quote] I do that, this happens: Fatal error: Class date_eu: Cannot inherit from undefined class codexforms in /home/sites/galenko.co.uk/public_html/dev/ll/system/application/backend/plugins/date_eu.php on line 3 CodeExtinguisher 2.0 Release Candidate 14.2 - El Forum - 05-30-2008 [eluser]daulex[/eluser] Code: <?php if (!defined('BASEPATH')) exit('No direct script access allowed'); can someone rewrite this to work with the jtaby thing instead of codex? I started at the top, but when I got to $CI->codextemplates-> I didn't know what to put in. another thing: the backend seems to be formatting posts either by body or title (the only ones it shows up), I also have id and date fields, why are they not in the sort by list? update: found where to add id, now I need to change how it sorts it by default, default comes descending order, however I need ascending, how can I achieve that? thanks CodeExtinguisher 2.0 Release Candidate 14.2 - El Forum - 05-30-2008 [eluser]abmcr[/eluser] daulex: if you downaload the latest version, the plugin work fine.... CodeExtinguisher 2.0 Release Candidate 14.2 - El Forum - 05-30-2008 [eluser]Majd Taby[/eluser] daulex, I'm guessing you downloaded CodeExtinguisher from the website...it's extremely outdated, please download the one from this thread (first post). abmcr, take a look at line 33 of manytomany.php In your case, you need $CI->codexadmin->active_id.$this->label; CodeExtinguisher 2.0 Release Candidate 14.2 - El Forum - 05-30-2008 [eluser]abmcr[/eluser] [quote author="jTaby" date="1212169370"] abmcr, take a look at line 33 of manytomany.php In your case, you need $CI->codexadmin->active_id.$this->label;[/quote] Thank you |