No-CMS v 0.6.0, A free CodeIgniter based CMS Framework |
[eluser]goFrendiAsgard[/eluser]
No-CMS has surpass almost 2 years of development. Now it has much more cool features. Please take a look at http://www.getnocms.com/ You can also find it on github (https://github.com/goFrendiAsgard/No-CMS) and facebook (https://www.facebook.com/nocms) A new stable version of No-CMS has been released today, 0.6.0 rev 1, Codename: Ishoni. You can just download it for free, and start your new adventure. So, what are you waiting for? Get it for yourself, and do your job fastly, painlessly ....
[eluser]phaethon[/eluser]
Hello, I have started using No-Cms and it seems very promissing. Thanks for making this available for free. I notice a strange behaviour. When I am logged in and I switch to another language the change happens immediately and the current page is switched to the language selected. When I'm not logged in the change to the selected language appears only after a page refresh.
[eluser]goFrendiAsgard[/eluser]
Hi, thank you for your report and kind words. I've just notice this. I'll investigate it and let you know if I find something.
[eluser]goFrendiAsgard[/eluser]
Change language function (around line 323) in /modules/main/controllers/main.php should fix this problem Code: public function language($language = NULL)
[eluser]mrgswift[/eluser]
Hi goFrendiAsgard! Thank you so much for all your hard work on No-CMS I know No-CMS doesn't yet support SQLite. I was wondering if you ever have plans to support SQLite. I am trying to import the tables from a base/clean install of No-CMS from mysql to SQLite, and change my application/database.php according to what this blog http://codeigniter-blog.de/110/sqlite-with-codeigniter/ says to do. I was able to successfully create and insert data into the tables using the database manager: adminer into a SQLite database file. I set the tables, columns, and constraints with the most similar data types, keys, and constraints SQLite supports like changing varchar to text and all types of int's to integer I also setup my database.php file the way suggested in the blog. However I am still getting the error Code: Fatal error: Call to a member function execute() on a non-object in ...\system\database\drivers\pdo\pdo_driver.php on line 193 Have you ever explored options on how you would implement SQLite into No-CMS? If so, is there anything you can think of offhand that would prevent No-CMS from working with SQLite? Thanks in advance for your help! :-)
[eluser]phaethon[/eluser]
Hello, Thanks for the answer. This solves the problem but it would be preferable if it refreshed the current page instead of redirecting to home. Also I noticed that in the configuration management when I change site_name, site_slogan and site_footer still the default values appear. When I create new configuration value e.g. my_site_footer and include in page with Code: {{ my_site_footer }} Also, in main/views/login.php I tried to change like this: Code: echo form_submit('login', '{{ language:Login }}', 'class="btn btn-primary"'); Code: $lang['Login'] = 'Login'; Code: <input type="submit" name="login" class="btn btn-primary" value={{ language:Login }}> Finally, I was wondering if there is a way to control the order of the items in the complete menu drop down.
[eluser]goFrendiAsgard[/eluser]
@mrgswift: Some of No-CMS features such a module generator is really depend on My-SQL. I hope I can do things about sqlite, but it would be long. Right now, No-CMS doesn't support sqlite yet. @phaeton: Code: redirect('main/language'); I'll check the other problems, and confirm it later
[eluser]goFrendiAsgard[/eluser]
Around line 852, change after_update_config function into this: Code: public function after_update_config($post_array, $primary_key){ I'll make this patch official
[eluser]phaethon[/eluser]
Thanks a lot for the answers! I have built the pokemon module as instructed in the tutorial. In the show function in the pokemon.php controller file there is the line loading the view Code: $this->view('new_module/pokemon_index',$data,'main_index'); Everything works fine so far. I created my own theme with twitter bootstrap and everything still works fine with the default layout. Then I created another layout named home.php. Is there a way to use the new layout with the above syntax? I tried the template library syntax Code: $this->template->title('Pokemon Module'); Code: <html lang="{{ language:language_alias }}"> In the User Guide I see that the template library syntax is mentioned but in the tutorials and the actual code there is this other method.
[eluser]goFrendiAsgard[/eluser]
The tags (everything with {{ }}) only works when you use $this->view(); To make new themes, I suggest you to copy existing theme (in /themes/ folder) |
Welcome Guest, Not a member yet? Register Sign In |