Important: This website is now read only (except to admins) to comply with the UK Online Safety Act. Composr CMS is in the process of migrating to a new Constitutional governance model and Bazaar development model, with functionality of the old website (constructed by ocProducts Ltd, the prior copyright holder, a UK company) spread between GitLab and the new website (which has no connections to the UK).
Home → Tutorials
Tutorials – Learning Composr
Code Book, part 3 (Miscellany)
The programmer's guide for Composr development. Miscellaneous technical guidance.
1st January 2006
Core Doc;
Difficulty:
Expert
Code Book, part 1b (Further back-end concepts)
The programmer's guide for Composr development. Back-end development, part 2.
1st January 2006
Core Doc;
Difficulty:
Expert
Code Book, contents and introduction
The programmer's guide for Composr development. Contents and Introduction.
1st January 2006
Core Doc;
Difficulty:
Expert
Optimising Performance
Composr is very heavily optimised for high performance out-of-the-box, but here are some advanced performance tips.
1st August 2008
Core Doc;
Difficulty:
Expert
Code Book, part 2 (Front-end)
The programmer's guide for Composr development. Front-end development.
1st January 2006
Core Doc;
Difficulty:
Expert
eCommerce
Use the eCommerce system to sell things. Usergroup subscription and member invoicing are available out-of-the-box.
1st August 2008
Core Doc;
Difficulty:
Expert
Writing mini-modules
How to code simple PHP pages in Composr.
1st May 2015
Core Doc;
Difficulty:
Regular
A PHP/Composr coding primer
A worked guide to writing new PHP code for Composr.
1st May 2015
Auxillary Doc;
Difficulty:
Regular
Conposr and Conposr++
Introducing the Conposr and Conposr++ frameworks.
1st April 2019
Auxillary Doc;
Difficulty:
Expert
Code Book, part 1a (Core back-end programming)
The programmer's guide for Composr development. Back-end development, part 1.
1st January 2006
Core Doc;
Difficulty:
Expert
Making an addon (part 3)
The third in a series of practical tutorials showing how to create addons.
1st August 2008
Auxillary Doc;
Difficulty:
Expert
PHP & MySQL: The Missing Manual
If you can build websites with CSS and JavaScript, this book takes you to the next level—creating dynamic, database-driven websites with PHP and MySQL.
Auxillary Doc;
Difficulty:
Expert
Inline links to attachments (WYSIWYG)
This tutorial shows how to add attachments with text-embedded links to open them, rather than displaying them as an embed or in a box.
Auxillary Doc;
Difficulty:
Regular
Mobile apps via Composr Mobile SDK
Composr Mobile SDK is the toolkit for building mobile apps that connect to a Composr-powered website.
1st January 2016
Core Doc;
Difficulty:
Expert
Implementing a "Shopping discounts" feature
A live programming tutorial, implementing a new "discounts" feature into the shopping catalogues. Shows you how coding for Composr gets done.
Auxillary Doc;
Difficulty:
Expert
Introduction to Cookies and sessions (and JavaScript)
Want to know everything there is to know about cookies and sessions? You probably don't, but if you do, read this!
1st August 2008
Core Doc;
Difficulty:
Expert
Using Composr's WYSIWYG editor
A WYSIWYG (What You See Is What You Get) editor is a document editor where the editor's editing interface roughly mirrors the appearance of the final document.
Composr is using CKEditor as Composr's WYSIWYG editor.
Auxillary Doc;
Difficulty:
Regular
Using Enums with MySQL
How to use MySQL database enums within Composr.
1st May 2014
Auxillary Doc;
Difficulty:
Expert
Making an addon (part 1)
The first in a series of practical tutorials showing how to create addons.
1st August 2008
Auxillary Doc;
Difficulty:
Expert
Introduction to programming
This huge tutorial serves as an introduction to programming, with a particular emphasis on PHP.
1st August 2008
Core Doc;
Difficulty:
Expert
Aligning images in the WYSIWYG editor
How to align images left or right in the WYSIWYG editor.
Auxillary Doc;
Difficulty:
Regular
Making an addon (part 2)
The second in a series of practical tutorials showing how to create addons.
1st August 2008
Auxillary Doc;
Difficulty:
Expert
The Composr programming framework
Composr is not just a web application, but also a programming framework. Find out how the puzzle pieces fit together.
1st August 2008
Core Doc;
Difficulty:
Expert
Manually editing your database with phpMyAdmin
A primer on databases, and how SQL is used to connect to them - as well as practical advice on using phpMyAdmin.
1st August 2008
Core Doc;
Difficulty:
Regular
Need better information?
The Composr documentation is user-driven:
If you have found documentation problems that you'd like someone else to solve log an issue to the tracker .
If you'd like to contribute a chunk of documentation to go into a tutorial, also log an issue to the tracker . As a user, it is possible you may find some useful extra tidbits of information there.
If you want to contribute a new tutorial hosted off-site you can submit a link via the button below.
Back to Top
A symbol is missing: CSRF_TOKEN . This usually happens when Comcode is written without placing template/PHP code within a code tag.
Copyright ©
ocProducts Ltd , 2025. All rights reserved. Composr was formerly known as ocPortal.
Did you know? Composr is ready to use “out-of-the-box” but also the most flexible CMS for non-programmers out there.