-
Book Overview & Buying
-
Table Of Contents
concrete5 Cookbook
In this chapter we will cover the following topics:
Getting the current Page object
Getting a Page object by its ID
Getting a Page object by its path
Getting a Page type by its ID
Getting a Page type by its handle
Getting a page type's ID
Getting a page type's name
Getting a page type's handle
Getting the icon for a page type
Getting a list of pages that belong to a page type
Creating a page type
Updating a page type
Deleting a page type
Creating a page type
Updating an existing page
Setting page attributes
Getting a page attribute
Getting a page's ID
Getting a page's path
Getting a page's handle
Getting a page's name
Getting a page's description
Getting a page's page type ID
Getting a page's page type handle
Getting a page's theme object
Getting the children below a page
Moving a page
Deleting a page (and its children)
Getting a list of pages
Adding a page selector field to a form
Change the font size
Change margin width
Change background colour