Giter Club home page Giter Club logo

tendoo-cms's Introduction

Warning

You should not download this version when you plan to use either :

Tendoo-CMS

Are you looking for some handy tools to create your web applications ? Tendoo CMS is build for you.

Our purpose

This repository aim to offer an easy and very handy tools to help Codeigniter developper to create website and web applications.

What's are the advantages

Easy way to handle CodeIgniter libraries : let assume youhave serveral libraries that you want to test on your projet. If youwere using default CodeIgniter installation, for each third libraries, you was forced to extract each files within the package to put them in the right folder, and if you wanted to remove that library, it was required for you to keep in mind all those files you wanted to remove to successfully remove that library.

Tendoo CMS offer an easy was to install those library with a module management system, which help you to install, enable, delete and share installed module easily.

The new release 3.0.5 support .po files, for better internationalization.

We also use popular classes and libraries (both JS and PHP) to create a more powerful CMS based on CodeIgniter. We are also inspired by existing CMS (for not wasting time reinventing the wheel) and use popular API such as Plugin API from WordPress, for better performance and extensibility.

Test out our demo

You can log in to test the new branch in action.

credientials : email : [email protected] password : tendoo

Get to app settings now

Get to user profile

Get to module installation screen

Get to user management screen

Login page

More a coming...

Do you want to get Involved ?

Fork it a pull your new

Sub projects merged within

AdminLTE 2.1.1

Assets Helper

CodeIgiter Enqueue

PHP-Hooks

Unzip

CI MarkDown

tendoo-cms's People

Contributors

blair2004 avatar ebencarljo avatar eskiso avatar reconix 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tendoo-cms's Issues

A PHP Error was encountered

Severity: Warning

Message: count(): Parameter must be an array or an object that implements Countable

Filename: libraries/Aauth.php

Line Number: 1894

Backtrace:

File: /home/XXXX/public_html/gastro/application/libraries/Aauth.php
Line: 1894
Function: _error_handler

File: /home/XXXX/public_html/gastro/application/mu-modules/aauth/inc/fields.php
Line: 97
Function: get_errors_array

File: /home/XXXX/public_html/gastro/application/libraries/Events.php
Line: 392
Function: public_errors

File: /home/XXXX/public_html/gastro/application/views/sign-in/body.php
Line: 24
Function: do_action

File: /home/XXXX/public_html/gastro/application/core/Tendoo_Loader.php
Line: 1090
Function: include

File: /home/XXXX/public_html/gastro/application/core/Tendoo_Loader.php
Line: 593
Function: _ci_load

File: /home/XXXX/public_html/gastro/application/controllers/Sign_in.php
Line: 54
Function: view

File: /home/XXXX/public_html/gastro/index.php
Line: 283
Function: require_once

Problem on wamp installation

Hi there,

May be only I'm facing this issue. But I've just downloaded the tendoo cms 3.0 and tried to install it on my local pc using wamp. Its a windows 10, 64bit and wamp is also 64bit. PHP version is 5.6.19.
When I first tried to install it show the error ;

Severity: Warning

Message: Invalid argument supplied for foreach()

Filename: libraries/Modules.php

Line Number: 300

Backtrace:

File: D:\wamp64\www\tendoocms30\application\libraries\Modules.php
Line: 300
Function: _error_handler

File: D:\wamp64\www\tendoocms30\application\core\Tendoo_Controller.php
Line: 57
Function: runDependency

File: D:\wamp64\www\tendoocms30\application\controllers\Dashboard.php
Line: 19
Function: __construct

File: D:\wamp64\www\tendoocms30\index.php
Line: 283
Function: require_once

To fix this issue I changed the file D:\wamp64\www\tendoocms30\application\libraries\Modules.php ;
I've myself added this if condition and to get rid of this error.
public static function runDependency()
{
global $Options;
$modules = self::get();
if($modules){
foreach( $modules as $module ) {
if( in_array( $module[ 'application' ][ 'namespace' ], ( array ) $Options[ 'actives_modules' ] ) ) {
self::checkDependency( $module[ 'application' ][ 'namespace' ] );
}
}
}
}

Afterwards there was no issue and everything works. But then whenever I try to use modules it never install a module. Frontend is always blank.

Kindly check and suggest me some solution.

View Not loading

Hi Blair,
I've got the new code and it works fine this time. But now the problem is creating my first module, First i tried my code, but wasn't able to load the view.
Then i tried your provided code in sample, and still its not.

image

Yes i know i've made some changes to class name, but i've changed the directory name and paths accordingly. Kindly check your self and if you need to see my code its added below:

`<?php
//! defined( 'APPPATH' ) ? die() : NULL;
defined('BASEPATH') or exit('No direct script access allowed');

class helloClass extends CI_model
{
function __construct()
{
parent::__construct();
// Events
// change send administrator emails
$this->events->add_action( 'after_app_init' , array( $this , 'after_session_starts' ) );
$this->events->add_filter( 'admin_menus' , array( $this , 'menu' ) );
$this->events->add_action( 'load_dashboard' , array( $this , 'dashboard' ) );

    $this->load->model( 'gui' );
}
function after_session_starts()
{
    //$this->load->model( 'hello_model' );

}
function menu( $menus )
{
    $menus[ 'hellowolrd' ]		=	array(
        array(
            'title'			=>		__( 'Hello World' ), // menu title
            'icon'			=>		'fa fa-star', // menu icon
            'href'			=>		site_url('dashboard/foo') // url to the page
        )
    );
    return $menus; // return global menu array
}
function dashboard()
{

    $this->gui->register_page( 'foo' , array( $this , 'foo' ) ); // will register a page with "foo" as slug reachable like this "http//example.com/index.php/dahsboard/foo
    $this->gui->register_page( 'bar' , array( $this , 'bar' ) ); // will register a page with "foo" as slug reachable like this "http//example.com/index.php/dahsboard/bar
    //var_dump($this->gui);
}
function foo()
{

    $this->load->view('../modules/hello/views/foo_view' );
}
function bar()
{
    $this->load->view('../modules/hello/views/bar_view' );
}

}
new helloClass;`

Postman JSON API questions

Hi, i have 2 questions about the JSON API:

  1. How to generate new API Keys for RestfulAPI authentication request? The API Keys need to bind with the user_id, by default it don't exist
  2. Which API use to create the order? Current api provided is linked to woocommerce. The create order API is follow the flow in POS/Cashier screen?

Thanks

On Install - mkdir(): Invalid path

So I get :

Message: mkdir(): Invalid path

Filename: drivers/Session_files_driver.php

Line Number: 114

&

Message: Session: Configured save path '' is not a directory, doesn't exist or cannot be created.

I got around this by doing db sessions instead of file based.

Thought I'd update just for anyone else 👍
Reconix@a49fb5f

Erreur dans l'utilisation d'un préfixe "Tendoo_" Fix (zozour...)

En utilisant la valeur "Tendoo_" comme préfixe, crée une erreur durant l'installation. Au lieu de rechercher dans une table "tendoo_tendoo_options", le script opère une recherche plutôt dans la table "tendoo_options" sans toutes fois utiliser le préfixe déterminé.

some peoblems for install tendoo-cms in 3.0

install env: Mac os Yosemite; php 5.5.29; mysql 5.7.9 MySQL Community Server (GPL)

1.should assign a value for $config['sess_save_path'] in config.php and this path need writable permission

2.found a database error:

A Database Error Occurred
Error Number: 1171

All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead

CREATE TABLE `tendoo_aauth_perm_to_group` ( `perm_id` int(11) unsigned DEFAULT NULL, `group_id` int(11) unsigned DEFAULT NULL, PRIMARY KEY (`perm_id`,`group_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8;

Filename: modules/aauth/inc/setup.php

Line Number: 55

3.cannot create database.php file in application/config directory. so you should chmod 757 config

4.in first set up administrator page(after success install database) should check username must more than 6 character. Before I use admin as my administrator, But in sginin page use admin, The page give my error: cannot less than 6 character for name and email.....

so, if using mac, you should very carefully some directory permission.

sorry , forgive me poor English,

Field 'EDITED' doesn't have a default value

When I save a blog, page give me a error:

A Database Error Occurred
Error Number: 1364

Field 'EDITED' doesn't have a default value

INSERT INTO `tendoo_query` (`TITLE`, `CONTENT`, `AUTHOR`, `PARENT_REF_ID`, `STATUS`, `DATE`, `NAMESPACE`) VALUES ('Hello(2)', 'World', '2', NULL, '0', '2015-11-01', 'blog')

Filename: libraries/CustomQuery.php

Line Number: 207

Field 'EDITED' is not null.

libraries/CustomQuery.php
https://github.com/Blair2004/tendoo-cms/blob/3.0/application/libraries/CustomQuery.php#L203

if($mode === 'set')
        {
            $CQ_data['DATE']      = $this->datetime;
                        # Field 'EDITED' , Is it worth setting up a default value?
            #$CQ_data['EDITED']      = $this->datetime;
            $CQ_data['NAMESPACE'] = $this->query_namespace;
            $this->db->insert('query', $CQ_data);

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.