Skip to content
Switch branches/tags

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time


Magento module which adds page types to the CMS.

backend backend

The above was achieved purely with xml.


TypeCMS was developed to allow for more flexibility with the Magento CMS. TypeCMS introduces page types which have their own custom backend fields and frontend templates. Define custom page types through XML Define custom backend fields for your page types through XML Define custom templates for your page types through XML Optionally add your own backend model to handle your fields as you wish.


The recommended way of creating page types is by creating a separate custom module with the page types defined in its config.xml. Optionally you can just put your page types in the app/etc/modules/RK_TypeCMS.xml file. Defining a page type

                <test> <!-- This is the code of your page type (required) -->
                    <label>Test</label> <!-- The page type's label (required) -->
                    <model>typecms/page_type_default</model> <!-- Render the backend fields yourself (optional) -->
                    <block>typecms/page_type_default</block> <!-- Define the block used to display the page -->
                    <template>typecms/default.phtml</template> <!-- Use this template to render the page (optional) -->
                    <handle>typecms_default</handle> <!-- Add a layout handle to the page (optional) -->
                    <attributes> <!-- A list of all the attributes for the page type (optional) -->
                        <name> <!-- Code of the attribute (required) -->
                            <label>Name</label> <!-- Label of the attribute (required) -->
                            <type>text</type> <!-- The type of data, this also determines the field to be rendered. (required) -->
                            <!-- Options: text, editor, int, select, yesno, file, image. -->
                            <options> <!-- Options of the select -->
                                <male>Male</male> <!-- "Male" is the option label, "male" is the option value. -->

The above defines a page type (in this case the default page type) called Default with its own template and attributes.


Version 3.1.0 (29-03-2016)

Version 3.0.0 (12-08-2015)

  • [BC break] Introduce support for Bubble CMS (previously Clever CMS) (thank you @adamj88)

Version 2.1.0 (17-01-2014)

  • Add Collection page type, allows you to easily read out a page's children and display their information (currently CleverCMS only)
  • Add docblocks to everything
  • Add block types and option to define a block type for a page type
  • Add modman support
  • Fix issue with attributes being reinstalled during setupAttributes()
  • Fix issue when database prefixes are used
  • Minor bug fixes

Version 2.0.4 (03-01-2014)

  • Fix issue with template not showing

Version 2.0.3 (05-12-2013)

  • Fix compatiblity issue with Clever CMS

Version 2.0.2 (28-11-2013)

  • Add template processor to default template (to parse widgets and such)

Version 2.0.1 (12-11-2013)

  • Fix bug where attributes were deleted upon insertion
  • Fix compatibility issue with Clever CMS

Version 2.0.0 (29-09-2013)

  • Added file field
  • Added image field
  • Added yes/no field
  • Added select field
  • Changed field types to represent frontend type instead of backend type
  • Fixes #2
  • Fixes #1

Version 1.0.2 (15-09-2013)

  • Fixed the int and varchar table's value column types.

Version 1.0.1 (15-09-2013)

  • Fixed incorrect directory structure

Version 1.0.0 (01-09-2013)

  • Initial release


Magento module, allows you to easily define page types with custom fields/templates for the CMS.




No packages published