![]() |
Example? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Example? (/showthread.php?tid=49596) |
Example? - El Forum - 02-26-2012 [eluser]tonyhh[/eluser] How would I go by using this? http://codeigniter.com/wiki/Another_BBCode_Helper Example? - El Forum - 02-26-2012 [eluser]pickupman[/eluser] The code is several years old, but by looking at it you would something like this: Code: //In controller Haven't tested any of the code, but should give a decent idea. I have never used this helper before. Example? - El Forum - 02-26-2012 [eluser]tonyhh[/eluser] Thanks for the quick reply. Example? - El Forum - 02-26-2012 [eluser]tonyhh[/eluser] I get: Your application/config/bbcode.php file does not appear to contain a valid configuration array. When trying to load the config because im trying to load the buttons Example? - El Forum - 02-26-2012 [eluser]pickupman[/eluser] The config file was posted in the wiki article you linked. You need to copy the config code to /application/config/bbcode.php Example? - El Forum - 02-26-2012 [eluser]tonyhh[/eluser] Yeah, I've done that, but it says does not appear to contain a valid configuration array after loading it, maybe it's outdated? Sorry fixed it, forgot it was an array Example? - El Forum - 02-26-2012 [eluser]pickupman[/eluser] The config file is done via a include, rather than loading the config file. Perhaps it's a file path error. Just check where it is trying to use the config values, and see what the file path is to make sure you have saved to the right spot. And the code is 4 years old. Example? - El Forum - 02-26-2012 [eluser]tonyhh[/eluser] Fixed big thanks! |