Code Monkey home page Code Monkey logo

no-cms's Introduction

NOTE: I'm now focusing on Chimera-Framework. It will be a more modern replacement of No-CMS

What is No-CMS?

No-CMS is a CMS-framework.

No-CMS is a basic and "less-assumption" CMS with some default features such as user authorization (including third party authentication), menu, module and theme management. It is fully customizable and extensible, you can make your own module and your own themes. It provide freedom to make your very own CMS, which is not provided very well by any other CMS.

Who is it for?

No-CMS will be good for you if you say yes for majority of these statement:

  • You are a web developer who use CodeIgniter framework.
  • You are tired of building the same things such an authorization-authentication for every project.
  • You find that some part of your old project can be used for your next project.
  • You are happy with CodeIgniter but you think some plug-ins and features should be provided by default.
  • You want a simple and easy to learn framework that has 100% compatibility with CodeIgniter.
  • You don't want to learn too many new terms.
  • You are familiar with HMVC plugins, and you think it is one of "should be exists" feature in CodeIgniter.
  • You are in tight deadline, at least you need to provide the prototype to your client.

Batteries Included

No-CMS come with several batteries included:

  • HMVC, to make fully modular separation
  • groceryCRUD, to build CRUD application in a minute
  • HybridAuth, to provide third party authentication (e.g: facebook, twitter, openID etc)
  • Widget system
  • Navigation system
  • Module system
  • Custom Theme system
  • Custom language
  • Tagging system

Release Information

  • v1.1.3, Nov, 11, 2016

Server Requirements

  • PHP version 5.3.2 or newer.
  • Apache 2
  • MySQL 5 or PostgreSQL 8.4 (depend on your database choice). Sqlite is still experimental
  • php-curl extension
  • mod-rewrite extension (optional)
  • php-pdo or php-mysql extension (depend on your database choice)

License

GPL & MIT License: In short, you can use No-CMS for whatever purpose, modify the code, and gain money by using it.

Links

Contributing

I made No-CMS, but you can make it better. There are many way you can do to make No-CMS better:

  • Donate few amount of money: I make No-CMS freely available, but electricity, food, and internet access is not provided for free. I need them to keep alive so that I can continue the development of No-CMS. I also need to invest several time to develop, debug, and add features to No-CMS. If No-CMS help you to save your time and money, please consider to click this cute yellow button, and keep No-CMS's development: Donate

  • Bug report: I usually check and test my code carefully before publish it on github. However I am just a mere mortal, and can do mistakes. Whenever you see any unexpected behavior when using No-CMS, you can always open an issue on github, make a post on No-CMS forum, or email me directly. This will not only help you, but also help everyone using No-CMS for their projects (including me)

  • Code contribution: Sometime I make mistakes, and to make it worse, sometime I do not even know how to fix those mistakes (It is a rare case however). If you are also a PHP coder, and you know how to fix things or make things better, just submit an issue or Pull Request on the development branch of No-CMS repository on GitHub.

  • Improve user guide: I am not a native English speaker. Sometime I also find dificulty to explain things. If you think you can improve No-CMS's user guide, please have a visit here and edit things.

  • Translation: I know several programming languages, but human natural languages is much more harder to learn. If you want your native language to be available in No-CMS, please do some translation and submit a pull request on github. However, if github scare you, do not worry. Just email me directly.

  • Tell your friends: If you think No-CMS is great, tell your friend. With more users & contributors, No-CMS will surely become better since there will be many people test it on different environments.

Post Installation

In production server, please run post-installation.sh in order to set correct directory/file access permission to your files. This is important for security purpose.

Reset Installation

To reset installation, please run this:

#!/bin/bash
sudo chmod 777 . -R
sudo rm -f ./application/config/.saved
sudo rm -f ./application/config/*.php
sudo echo "<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');" > ./application/config/constants.php
sudo rm -Rf ./session
sudo rm -f ./application/logs/log*.php
sudo rm -f ./application/logs/hybridauth.log
sudo touch ./application/logs/hybridauth.log
sudo rm -f ./application/config/tmp/*.php
sudo rm -f ./assets/grocery_crud/texteditor/ckeditor/config.js
sudo rm -f ./assets/kcfinder/config.php
sudo rm -Rf ./assets/kcfinder/upload/main-*
sudo rm -Rf ./assets/kcfinder/upload/site-*
sudo rm -f ./.htaccess
sudo rm -f ./hostname.php
sudo rm -Rf ./application/config/site-*
sudo rm -Rf ./application/config/main
sudo rm -f ./modules/*/config/module_config_*.php
sudo rm -f modules/*/controllers/Info_*.php
sudo chmod 777 .
sudo chmod 755 * -R
sudo chmod 777 application/config -R
sudo chmod 777 application/logs -R
sudo chmod 755 assets/kcfinder -R
sudo chmod 777 assets/kcfinder
sudo chmod 777 assets/kcfinder/upload
sudo chmod 755 assets/kcfinder/upload/.htaccess
sudo chmod 755 assets/kcfinder/upload/index.html
sudo chmod 755 assets/grocery_crud/texteditor/ckeditor -R
sudo chmod 777 assets/grocery_crud/texteditor/ckeditor
sudo chmod 777 assets/uploads -R
sudo chmod 755 assets/uploads/index.html
sudo chmod 755 assets/uploads/.htaccess
sudo chmod 777 assets/nocms/images -R
sudo chmod 644 assets/nocms/images/*.png
sudo chmod 755 assets/nocms/images/*/.htaccess
sudo chmod 755 assets/nocms/images/*/index.html
sudo chmod 777 modules/*/assets/uploads -R
sudo chmod 755 modules/*/assets/uploads/.htaccess
sudo chmod 755 modules/*/assets/uploads/index.html
sudo chmod 644 modules/*/assets/uploads/*.jpg
sudo chmod 644 modules/*/assets/uploads/*.png
sudo chmod 755 modules/*/controllers -R
sudo chmod 777 modules/*/controllers
sudo chmod 777 modules/artificial_intelligence/assets/data -R
sudo chmod 666 modules/artificial_intelligence/assets/data/1_*_Default

The bash script will delete your configuration uploaded files and everything. Thus, you should do the installation from scractch. warning : A new salt will be generated, thus your previous user-password will be unusable

no-cms's People

Contributors

alwin4711 avatar buoncri avatar cesarliws avatar feryardiant avatar garkok avatar gofrendiasgard avatar heruprambadi avatar ivantcholakov avatar jjmpsp avatar mrahul17 avatar neimasilk avatar orazionelson avatar scoumbourdis avatar shakespam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

no-cms's Issues

fatal error:

I get this error after sucessful installation:

Fatal error: Using $this when not in object context in /opt/local/apache2/htdocs/nocms/application/models/cms_model.php on line 1071

i think this has sth.to do with language...

user feedback on failed login

Not really broken per se, but as I was working with with system today, I thought it was broken when I was trying to login. I didn't realize I was typing the wrong password, as the login screen just kept reloading itself.

I added a few lines to give the user some feedback when the login fails

AndrewPodner@860e97b

I will send a pull request if you want to include it in your code.

error ketika menjalankan modul

setelah menginstall modul melalui module generator,

kemudian di-install

hasilnya ketika dijalankan muncul error:

________*_____*_____*__________*
Error Number: 1217

Cannot delete or update a parent row: a foreign key constraint fails

DROP TABLE IF EXISTS cms_user;

Filename: /home/gangsar/erp/modules/kepegawaian/controllers/install.php

Line Number: 29
________*_____*_____*__________*

mohon bantuannya.

terima kasih

Little bug at cms_user_real_name()

I found a really very little bug at
protected final function cms_user_real_name($real_name = NULL) {
CMS_Controller.php line 72

It should be $real_name not user_name.

broken installer

Hi,
installation process is broken with 0.5.5 RC 2.
The process seems to work, but links in the main page are broken.

Something still works if I don't select the "hide index.php" option (everything is good with my mod_rewrite).

Thanks,
Marco

Neo-CMS will be changed into No-CMS

Because there is already a CMS with "Neo-CMS" name, I decide to change my Neo-CMS name into No-CMS
The repository will also be changed within a week. Sorry for this inconvenience

fungsi view

cm sekadar saran, fungsi view template ini sebaiknya di buat lebih flexible.. mengingat semua pengecekan hak izin ada di fungsi ini. sya ada kasus misal mau mengeprint invoice.. terpaksa menggunaka view biasa.. selain itu juga. tdk bs mengganti theme onthe fly bahkan menggganti layout..

View not loading correctly

Hi,

This is an issue causing me some grief. I have the following view called gis_generate.php (note: I removed some of tags on purpose because it simply parses the html)


 if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 

GIS
Click below to generate your file: 
button type='submit' name='submit' id='submit' onclick="javascript:onClick()">Generate
<script type="text/javascript">
    function onClick(){
        var site_url = '';
        window.location = site_url;
    }
</script>

I'm loading it in the index function as follows:

public function index (){
    $this->view('gis/gis_generate', 'gis_generate');
}

The module installer adds the navigation as follows:

$this->add_navigation("gis_generate", "GIS Generate KMZ", $cms_module_path."/gis/index", 3, 'gis_static');

But the end result is the attached file. Basically the view loads, but everything else disappears (menus, banners...etc.) I cannot tell if this due to an error in the above or some sort of bug.

GIS

Modul Generator configuration

HI,
is there any way to configure how the modulgenerator will works ?
I don't need the database install / uninstall stuff.
I will hande all these with mysql workbench
Themodul generator make some mistakes by the way he genarated Foreign Keys.
So i need something like "disable" drop and Create on sqlfiles.

AND different database.

Best regards
Alwin

(group management) user can delete

kasusnya hampir sama seperti sebelum nya (user management.)

case:
jadi ketika user login sebagai group "employee" dan mempunyai akses ke "group management" user tersebut masih bisa menghapus group "employee" padahal user tersebut sedang login di aplikasi...

saya coba telusuri codingnya;

pada main.php (controllers)

public function before_delete_group($post_array)
{
    /*bearti group_id=1 saja yang tidak bisa dihapus..*/
    if($post_array['group_id']==1){
        return false;
    }
    return $post_array;
} 

hehe makin seru nih... beginilah open source..

btw thanks udah kasih gambar (no-cms-entity.png dan no_cms_layout.png) jadi mudah untuk mendesain themes nya..

newbie codeigniter

sekedar saran,..

barangkali akan lebih baik diperbaiki tampilannya "user interface"

buat saya pribadi melihatnya aga sulit..

maaf, sekedar saran agar lebih user friendly..

trimaksh atas perhatinnya.. :)

navigation_code improvement

gimana kalau navigation_code_required ini mau dipake untuk beberapa fungsi.. klo ga salah itu akan di cocokkan dengan uri yang aktif ya.. ?

ada beberapa kasus misalnya untuk penjualan, kita ingin detil, add penjualan, edit penjualan dan delete penjualan hanya bisa di berikan untuk orang yang bisa penjualan saja.. tampa harus nambah navigasi.. jadi mungkin gmn kalo dikasi opsi untuk memaksa melakukan pencocokan dengan current uri atau ndak!!

*terlalu susah menggunakan english :P

Login Email

It should be verry ok to have the user recived a email when he signups .... only for the employ roles

Horizontal drop down menu

Is there any easy way to edit the current menu, which is on the left side of the horizontal drop down menu?
Thanks.

merge a grocery crud application into cms

I have a grocery crud application with each own MySQL db.
How can I merge this into NO-CMS?

Shall I make a module?
What is exactly the procedure in order to successfully merge it?

user management (user A delete user A) ?

contoh kasus.. yang sudah saya terapkan..

A. saya buatkan 2 user dan group yang sama:

  1. user : admin
  2. user: employee

B. group: masing2 saya kasih group "admin"

C. permasalahan yang saya tanya dibawah ini?
kedua user tersebut sama-sama bisa mengakses "user management" dimana langkahnya saya akses/login dengan menggunakan user masing;

  1. saya login user "admin", lalu melakukan delete user saya sendiri "admin" terjadi error (Your data was not deleted from the database.) saya paham klo user "A" tidak dapat mengahapus user "A". OK uktu poin 1 ini saya paham..
  2. lanjut point 2.. hampir sama seperti poin 1, hanya saja saya login menggunakan user "employee", kemudian akses user management, selanjut saya menghapus user saya sendiri.. dan hasilnya berhasil..

jadi intinya, kenapa hanya user yang bernama admin yang tidak bisa menghapus user sendiri. sedangkan;

  1. mengapa user "admin" tidak bisa menghapus user "admin".?
  2. sedangkan user "employee" bisa menghapus user employee".?

maaf jika bahasanya berantakan.. maaf tidak pandai bhs inggris..

Security Issue

my code :

$this->model->insert($data);
$this->view('view',NULL,'auth');

the page show forbiden but data inserted... because in protected on view function.. any fast solution?

On session expired return 404 error

i think it's lack of checking whether the session is expired or not.. if it expired it just return 404. i think its better to add some authorization error or something...

*sorry for bad english

admin login page

bagaimana caranya agar ketika login yang muncul hanyalah admin login page seperti ketika kita mau masuk di wordpress.

karena menurut pribadi saya, cms ini sangat banyak sekali digunakan untuk pengembangan aplikasi web yang kebanyakan memakai sistem login-nya ( https://id.wordpress.com/wp-login.php ) seperti itu

Routes

hy ,i was working today with modules inside nocms ..and i observe that you can't use routes inside modules or config ..it will be nice to do so ...

Formbuilder

Hi Frendi, (is this a real name)

is there any way to youse one othe formbuilders in no-cms ?
Or is this not usefull because of all the java (jquery) stuff that is included in your no-cms ?
What the best way to make some nice forms with databased lookup fields and master detail forms ?

Best regard
Alwin

nordrassil generator

HY i'm tring to create a module using nordrassil ,but i have very big problems ....

i have a site tabel with 3 columns : site_id ,name,category_id
i have a category tabel with two coloms category_id category name

i follow your tutorial and doo the thig with the lookup tabel

the module is creeated succesful ,
but when i enter into the module and try to add data ..i recive an error from grocery crud ,that the tabels dosent exist ,
on the link you can find the generated module ...
i thing is a problem with the cms_helper
http://www18.zippyshare.com/v/42737135/file.html

Adding Multiple Groups Permissions in install.php for a new module.

When installing a module (in install.php controller), it would be wonderful to associate multiple groups with navigation permissions for a page.

For example: $this->add_navigation('generate_exam_export', 'Generate Exam Export', $module_main_controller_url.'/generate_exam_export', 4, 'exam_toolkit_index');
// Associates this resource with group 4

It would be great if we could pass an array of groups to allow navigation access.
For example:
$this->add_navigation('exam_toolkit_index', 'Exams', $module_main_controller_url, ('4, 8'));
// Associates this resource with group 4 and 8.

Is this already possible, please let me know.

cms_model->cms_get_navigation_path selalu return array().

Di halaman yang saya buat sendiri ( contoh: /tugas/tugas_mata_kuliah/ ) selalu keluar array() kosong ketika meng-log $navigation_path di viewnya.

Apakah ini karena $navigation_namenya tidak bisa terdetek ketika di CMS_Controller.php baris ke-205
//if no navigation_name provided, just guess it through the url
if (!isset($navigation_name)) {
$uriString = $this->uri->uri_string();

Multilingual

Hi, what about multilingual for no-cms ?
I wrote a german file for the assets but what is with the other stuff ?

german.php

favicon instead of logo in top left menu strip

Hi,

Just discovered No-CMS a few days ago and my appologize if not posting my question in the right place.

I'm definitely not a pro developper but this initiative seems quite promising given it's relatively intuitive interface. I was staying away from CMS in general but this project pretty much convinced me to switch !

Just wondering how it would be possible to change the image being used in the top left black menu strip (Left of "Complete Menu").

After replacing the logo image, I noticed it was also used by this top menu and is currently resized. While it works well with the native No-CMS logo (because of how it is designed), it does not fit as well when you try to use an image which is not square like a rectangle.

Would it be a good idea to implement a separate configuration option specifically for this purpose,

Or, use favicon instead (maybe too small)?

Separate config option sounds best from my opinion.

Login loop ?

Hello, i just try to test no-cms with xampp under Win7.
I put all stuff at d:/xampp/htdocs/nocms/
Installer works fine , but anytime i click a link i have to login again.
So i can't go to admin panel ????

Best regards
Alwin

Request Fitur Check / Uncheck all

Apakah fitur check / unchek all with selected: seperti yang ada di phpmyadmin sudah diconsidered untuk ditambahkan ?

Akan sangat bagus apabila fitur itu ditambahkan, karena user kadang kala menginginkan mengubah atribut semua / beberapa item ( misalnya: halaman navigasi ) ke atribut yang sama.

Something wrong with the blog module

  • The "read more" divisor should be more flexible.
  • There is a weird case (erni varian 2) when creating a widget which is point to blog/blog/index, the blog main page cannot be shown.

no refresh

when deleting an article in the 'index.php/blog/blog/index' view it does not refresh the list. At least not for the last article in the list!

logout ga bisa

sya mencoba memindahkan tombol logout.. di navigasi saya delete.. nah jadinya tidak bs logout.. ada cara supaya memindahkan atau menghidden navigation

Issue after install

Installer script seems to run fine, the DB is created, and everything appears to be ok.

After install I get the following:
Fatal error: Using $this when not in object context in /path/to/No-CMS/application/models/cms_model.php on line 1071

Have tried install process with and without mod_rewrite, same result both times

Mac OSX / AMPPS / mySQL 5.5.27 / php 5.3.16

Any ideas?

Can't find finish / install button

hi,
i try to install your NoCMS on my server but i can't find finish / install button after choosing third party authentication, so i can't finish the installation.

My server spesification (if you need to know)
Ubuntu Server 12.04
Apache 2
Php 5
Mysql 5.x

this picture shows where i stuck in installation process.

looking forward for your update

nocms

When would the default theme changed?

Kapan mau diubah theme default-nya ? kan sekarang ini lagi 'in' tuh, yang sekalian desainnya bisa responsive. Biar tambah eye-catching aja theme default bawaanya. No CMS Rocks !!!

Multilingual (static content)

OK ,the multilangual works fine ,buti found myself in the need of havinng content in diferent languuage on static pages ...how can i do that

How to call custom query and display same look and feel

  1. I need to call a custom query, such as
    SELECT
    count() AS TotalStates,
    (SELECT COUNT(
    ) FROM states) AS NumberStates,
    (TotalStates/NumStates) AS percentage
    FROM states
    WHERE CRITERIA > 7.5

  2. In addition, I would like the results to display with the same look and feel as the no-cms theme.

I have tried creating my own model but to no luck.

Thanks

Gimana caranya mempromosikan NoCMS lebih luas ke publik ?

Gimana caranya mempromosikan NoCMS ke publik supaya banyak yang tahu dan mau berkontribusi ?

Seperti contohnya kasus siapa orang yang mau menjadi volunteer untuk membuat theme default baru di NoCMS kalau publik belum banyak yang tahu.

Error creating .htaccess file

Error:
Warning: file_put_contents(../.htaccess) [function.file-put-contents]: failed to open stream: Permission denied in /home/USERNAME/public_html/nocms/install/function.php on line 273

What is wrong?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.