Language file editor interface |
[eluser]jcavard[/eluser]
Language Editor v0.1 based on jEditable. demo | source This is my first contribution to the CodeIgniter community. I needed a way to easily edit the language file without having to open the file itself. So I thought I'd design a (very) simple non-obstrusive interface. This is pretty simple with very little configuration to do. This actually consists in edit in place script from http://www.appelsiini.net/projects/jeditable Code: /js/jquery.jeditable.mini.js a simple config file Code: /system/application/config/language_editor.php a controller Code: /system/application/controllers/editor.php the library Code: /system/application/libraries/language_editor.php a slightly modified version of the language helper Code: /system/helpers/language_helper.php At the moment, it doesn't support adding new text element, but it's on the to-do list. It's in very beta stage, so if you come across bugs, report'em here. Also, be aware that there is no security layer at all. Meaning, anyone can access this controller, unless you add your own security check. So be careful if you ever use it on a production site. demo it here download it here Feedback are welcomed!
[eluser]jcavard[/eluser]
I modified the language helper so it implements the jEditable plugin. If you already use the helper in your page, it will not break anything thing. Code: // Added a third optional true/false parameter (default true)
[eluser]jcavard[/eluser]
The config is pretty simple. Code: // This is the master switch to disabled edit in place system-wide.
[eluser]MaD HamsteR[/eluser]
Syntax errors everywhere. Like WTF ![]() Code: $link = "<a >language_editor->_base_controller) . "\">Back to language list</a><br />"; May be just post bug. You should put your code in archive ready for download...
[eluser]Isern Palaus[/eluser]
Love it! I'll apply it on a website I'm developing. Will notify my results! Thank you, Isern
[eluser]rbcrssn36[/eluser]
Introducing the Kajona Language File Editor, we want to provide a graphical application to edit and manage the text-files of a Kajona installation. Kajona itself is a free Content Management Framework, @see http://www.kajona.de for more details. Thanks ------------------------------------------------------------------------------- HVAC Baltimore | Home Remodeling Maryland | Lab Equipment |
Welcome Guest, Not a member yet? Register Sign In |