Powered by Digitalus CMS

There are a wide range of tools that allow people to edit websites. Some are very easy to use, and others allow an experienced developer to do amazing things. The Digitalus Site Manager bridges the gap...it makes it easy for people with basic computer skills to maintain their site content. Advanced users have the full power of the Zend Framework, Jquery AJAX library, and the DSF framework to do virtually anything that is possible.

Digitalus CMS Resources

Downloads

This project is being being hosted by Google Code. Click here to download the source code.

Core Concepts

Connecting to the main content

There are two additional models which manage the core content:

  1. Page(): this is the administrative module, so it has all of the crud capabilities
  2. ContentPage(): this is the public page object which is sent to the main instance of the view.  all crud functions except some reads will return false.

The content_type

The content type field is used to distinguish between different forms of content.  The core Content model handles these content types, so your models will act like normal Zend_Db_Table models.  fetchAll() for example will just return records of that type.

Setting the type

When you create a new content model in the scope of this cms you want to extend the Content model.

<?php
class NewsItem extends Content
{
    protected $_type = 'newsItem';

You specify the content type in the first protected property $_type.  This type can be anything you want, but must be unique.

If you are familiar with the zend framework note that rather than setting $_name (Content already knows that) you are setting the $_type.

 


Web technologies are evolving at a blinding rate. The days are gone where it was good enough to just put up a beautiful design. Your customers are looking for fresh, interactive content...a site that effortlessly tells them why you are the right choice!

Search Site

Bookmark Page

Want to learn more?