GithubHelp home page GithubHelp logo

basecms's Introduction

Intended use

This is a CMS, originally designed for https://vvz.phil.tu-dresden.de, that manages users and roles and allows to edit certain pages.

Setup

For setup, you need a Linux-Webserver with PHP7+, MySQL/MariaDB/Percona and access to the file system.

You need to create a file in

/etc/dbpw

containing only one line: the DB-password.

You can then go on by defining the database you want to use in

mysql.php

See and change the line

$GLOBALS['dbname'] = 'basecms';

to what is appropriate to your use.

Then,

touch new_setup

in the main directory of this program. Run it in your browser. It will automatically generate all the databases needed and ask you for administrator username and password.

Once this is set up, you can delete the new_setup again and login into the web interface.

Conventions for subpages

How to create a new subpage

First, create a .php-file in ./pages/, then, as administrator, go to "System" -> "Seiten" and create the new page. You can specificy which user roles can access that site, too, and add additional information.

How to do queries

If you want to execute a query, it is strong recommended that you use

rquery($query)

instead of any normal PHP-query-functions. This way, the system can be kept clean.

This way, the queries will show up to registered administrator-accounts in the "Query Analyzer" at the bottom of the page.

Language support

Right now, the BaseCMS is only available in german.

Screenshot

BaseCMS

basecms's People

Watchers

 avatar  avatar

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.