Example? |
[eluser]tonyhh[/eluser]
How would I go by using this? http://codeigniter.com/wiki/Another_BBCode_Helper
[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.
[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
[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
[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
[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.
|
Welcome Guest, Not a member yet? Register Sign In |