Skip to content

hendrik-weiler/portalcms-2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 

Repository files navigation

Portal Content Management System Version 2

#Very unfinished!

This repository keeps being empty till the base is far enough developed to create the actual cms

Build on FuelPHP Framework
Using:
Nivo-Slider
colorbox
Twitter Bootstrap
jquery.swfobject
pie

Features:

  • Haml, CoffeeScript, Sass, Scss parsing/caching
  • Extendable backend

Requirements:

PHP 5.3

Install

  1. Download the files
  2. Extract them into your root folder on your webserver
  3. Install throught he install tool (http://hostname/install)

Follow all four steps and login into (http://hostname/logincenter).
Notice: you might have to create the bare database yourself.

Writing CSS:

Portal CMS comes with a light sass,less,stylus-like scripting system.
Notice: The script will be parsed line for line so you cant comment after a variable definition. Everything in the code below is valid. There can be multiple scripts at any place like in php.

Syntax:

/*>
; above is the opening tag
; this is a comment

; making a variable with permanent root folder in it
; will represent similiar to this http://localhost/portalcms/public
$root = "DOCROOT"

; using pie
$pie = "behavior:url(PIEPATH)"

$im_a_variable = "i contain any possible value"
im_also_a_variable = 'i contain another value'
[even_this_is_a_variable] = and im a value

; now creating c++ like structs/objects with properties
obj site
  $bg = "#ccc"
  ; you can nest them
  obj navigation
    $hover = "#cc0005"
  end
end

; below is the closing tag
<*/

Usage:

body {
  background-color: site.$bg;
}

nav:hover {
  color: site.navigation.$hover;
}

p:after {
  content: "$im_a_variable";
  border-radius: 10px;
  $pie;
}

About

Version 2 of the Portal-Cms also build on FuelPHP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published