Giter Site home page Giter Site logo

bkader / skeleton Goto Github PK

View Code? Open in Web Editor NEW
95.0 25.0 40.0 10.61 MB

A ready-to-use CodeIgniter skeleton with tons of new features and a whole new concept of hooks (actions and filters) as well as a ready-to-use and application-free themes and plugins system.

License: Other

PHP 74.64% CSS 2.97% HTML 0.13% JavaScript 21.28% SCSS 0.97%
codeigniter skeleton starter-kit plugins themes multilingual user-management dashboard hooks filters

skeleton's Introduction

CodeIgniter Skeleton

Join the chat at https://gitter.im/CodeIgniterSkeleton/skeleton

A CodeIgniter starter kit with lots of add-ons to give you a head start when developing web application.

What Does Contain?

The most important thing added to CodeIgniter is the plugins features, with filters and actions just like WordPress. But here is a list of main features:

  • Application-free themes that can handle their own assets and have independent actions on the application. No need to handle themes on Controllers except for rendering views, settings pages titles and data to pass to views.
  • Plugins system where you can install, upload, activate, deactivate and delete plugins, just like WordPress, Joomla! and others.
  • Modules management where you can as well install, activate, deactivate and delete modules.
  • Themes management system.
  • Users management.
  • An application-free and ready-to-use dashboard.
  • Multiple application contexts: ajax, process, content, help, reports and settings.
  • Themes-free authentication and registration as well as independent dashboard login page.
  • Multilingual support.

Why a ready-to-use database

Our database contains 9 required tables and a single optional table (sessions). With only these table you can create any type of web application. See Development Logic on project Wiki.

Demo

If you want to try it before using it and contributing to it, you can visit the demo:

  • Demo Link.
  • Username: admin
  • Password: admin123

Don't forget to contribute if you please! If you have any suggestions, let me know and please, don't forget that I am human, I am not perfect, I DO mistakes, lots of mistakes! So if you find any issues, just let me know and feel free to suggest any changes and enhancements.

Documentation

Make sure to read our Wiki. They are not complete but they should be as soon as possible.

How does it cost?

I was not really going to share this at all! I built if for my own personal use, then I was told to sell it. Well, I am not selling it, I am releasing it for free, but your donations are most welcome if you want to. You can send any amount you want to help me keep this project up and enhance it as much as I can.

Donate (PayPal): bkader[at]mail[dot]com
Bitcoin: 1CZa1d4qBA2M7DjMu9vGqmyLrQ8hAuqTDw

Screenshots

Dashboard Dashboard Languages Dashboard Login 1 Dashboard Login 2 Dashboard Login 3 Dashboard Media Module 1 Dashboard Media Module 2 Dashboard Modules 1 Dashboard Modules 2 Dashboard Modules 3 Dashboard Modules 4 Dashboard Plugins 1 Dashboard Plugins 2 Dashboard Plugins 3 Dashboard System Information 1 Dashboard System Information 2 Dashboard System Information 3 Dashboard System Information 4 Dashboard Themes Dashboard Users

skeleton's People

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

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

skeleton's Issues

html_class filter not working correctly.

Seems like the html_class filter does nothing.

The array passed to the callback is null for the filter but a long list of classes is still appended in the theme html tag.

Multisite System

Do you plan to develop a CMS system like wordpress does but very different from wordpress.

Wordpress is consuming very much ram and overusing database automatically inserting revision posts.
There are some solutions for this issue but still I do not like wordpress. I am Codeigniterist.

If you have plan to make CMS integrated into admin I will wait or else I will think another solution (maybe a module or plugin). But your coding is very nice If you will do it, it worths waiting :)

Language Files Edit Functionality inside Admin Panel

First of all I like your way of file system for multilanguage issue.
I think that editing language files inside admin panel can be very useful,

A function can search all language terms or you provide only english and function reads from there and serve them to admin page. But this way maybe it is possible to forget any language term.
What is going to happen when you add a new term to any language file you need to manually update all other language files.

In my point of view storing language terms inside database as serialized array and saving from admin panel automatically will prevent any terms lack.

If you already have a solution for this issue please notice. Thanks

Incomplete information during retrieval

I don't know if should it be really added as a bug or a feature. ๐Ÿ˜†

When we retrieve any type of entity, we get the corresponding details from group/object table.. But not from metadata. I have to recall get_meta for the guid to fetch other details. How about that get_ can give me the metadata as well? Should we join the metadata table?

styles is tried to load via http nonetheless the site is https causing Mixed Content

I have tested master 2.1.

in case the site is SSL, the styles is loaded via http
in Admin_Controller.php line 174 there is a hardcoded http in
$this->theme
->no_extension()
->add('css', admin_url('load/styles?load='.implode(',', $this->styles), 'http'), null, null, true);

this causes the implicite http loading of styles.
would you check this one please ?

Database backup / restore

Do you have plan to make an admin page which backs up and restores database manually / daily / monthly.
It would be nice to have this function.

I have seen this functionality on ci_bootstrap_3.
Back up function is working like a charm but restore doesn't work on this. Still it can be used and fixed.

e391792b-7dbd-4ec6-809b-255dbd7b1fb6

If you havent seen ci_bootstrap_3 before, it has very useful functions. It can give you other useful ideas.

Front end Multi Language Url

Isn't it better to have url per language which will effect site SEO better
like this:
dev.skeleton.com/en/*
dev.steleton.com/fr/*

PHP before 5.5 support

"Can't use method return value in write context" error.

And this cause :
"empty() needs to access the value by reference (in order to check whether that reference points to something that exists), and PHP before 5.5 didn't support references to temporary values returned from functions."

So I have to extract the checkable value, and do the check on the variable.

example KB_Lang 133 row:
$idiom = empty($this->config->item('language')) ? $this->fallback : $this->config->item('language');

to this:
$language = $this->config->item('language');
$idiom = empty($language) ? $this->fallback : $language;

CI-Skeleton

Would changing this repository's name to CI-Skeleton be nicer?
This is not a suggestion, only an idea. I have seen lots of packages built on codeigniter an lot of them named as CI-*
Maybe it can help to be find by people.

Autoload Deprecated

__autoload() is deprecated, use spl_autoload_register() instead in C:\xampp\htdocs\ci\skeleton-2.1-master\skeleton\third_party\bkader\compat.php

PHP v7.2.3
DB Connection OK
Nothing Changed in code till now.
but this message shown on every page.

Social Login Functionality

Hi @bkader,
Do you have plan to integrate social login functionality for this awesome software?
If so I have a package which already has this functionality. I can share.
If you are interested please inform me.

or you can consider CodeIgniter-HybridAuth
It has

Codeigniter Auto Update for Skeleton

Is it possible to integrate the codeigniter github updater to skeleton package or should be done via a plugin or module?

Maybe a function checks everytime or once a day or what time user selects if there is a master new version. Then software updates itself.

There is also an option to select what to be ignored while updating.

A list of files or folders to never perform an update on.
Not specifying a relative path from the webroot will apply
the ignore to any files with a matching segment.

I.E. Specifying 'admin' as an ignore will ignore

'application/controllers/admin.php'
'application/views/admin/test.php'

and any other path with the term 'admin' in it.

please check:
CodeIgniter-GitHub-Updater

Plugins Count on Admin Page

When there is no plugin, on the admin page Plugins box seems not nice.
Because box height becomes smaller. If writes 0 Plugin maybe it will be fixed.

screenshot-2018-6-27 admin panel skeleton skeleton

Doc Request : Simple Blog Demo

How about creating a simple blog module demo?

It took me 10 minutes to figure out from where is the view called. N still can't figure out how header and footer got connected to the template. ๐Ÿ˜„

Akshit

Enhancing the default Dashboard

The actual dashboard is cool, but not as great and fancy as it should be. This why we should work on it and enhance it a bit.

It doesn't have to use Bootstrap, but it should be responsive and answers to the Skeleton needs.

Call to protected method KB_Controller::check_captcha()

Wherever the captcha check is used as callback for form rules callback_check_captcha it triggers this issue:

Call to protected method KB_Controller::check_captcha() from context 'CI_Form_validation'

I believe it is better to change their access to public instead of protected.

Admin Login Page: Message: Argument 1 passed to Theme::body_class()

When I logged in as user (not admin) and directly visit http://localhost/skeleton/admin page, as natural redirects to http://localhost/skeleton/admin/login?next=admin page and gives the error below.
I think I see this because I use PHP 5.6 on local machine. But Main issue is regular user's viewing admin login page should be an unwanted activity.
I suggest seperating admin login and regular user login. Or at least (maybe better) when a regular user is logged in wants to see http://localhost/skeleton/admin page, system should redirect that user to his profile page. This would be nicer. Otherwise If he or she logins via admin/login form, maybe there will be two sessions. So before logining as admin, user should logout.

A PHP Error was encountered

Severity: 4096

Message: Argument 1 passed to Theme::body_class() must be an instance of string, string given, called in D:\wamp\www\ci-skeleton\skeleton\controllers\admin\Login.php on line 137 and defined

Filename: libraries/Theme.php

Line Number: 1994

Backtrace:

File: D:\wamp\www\ci-skeleton\skeleton\third_party\theme\libraries\Theme.php
Line: 1994
Function: _error_handler

File: D:\wamp\www\ci-skeleton\skeleton\controllers\admin\Login.php
Line: 137
Function: body_class

File: D:\wamp\www\ci-skeleton\application\bootstrap.php
Line: 95
Function: require_once

File: D:\wamp\www\ci-skeleton\index.php
Line: 368
Function: require_once

screenshot-2018-6-27 sign in skeleton skeleton

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.