CW Quick Pages is the quickest way to add a content page in Joomla!. Simply create a CW Quick Pages menu item; add your page content directly in the menu item, and Save. That's all there is to it!
This component comes with 3 different page types: page, contact, and event. Each page type is defined and stored as Joomla menu items, so your page and menu data are finally stored in one place. No more opening com_content, creating an uncategoriezed article and then creating a single article menu item just to create a simple content opage. With CW Quick Pages, you cut out the com_content middle man and create pages simply by creating menu items.
- Standard Joomla MVC structure
- All data stored as menu item parameters so no extra data to manage
- Create a page by simply creating a menu item
- Cut out the com_content middle man
- 3 page types included: Page, Contact, and Event
- CCK for developers: easily create your own custom page types with standard Joomla template overrides (requires knowledge of menu item manifest XML files)
- GPL License
Note: CW Quick Pages does not have a search plugin yet, so the content created with this component is not currently searchable.
Creating a Standard Content Page
- Open a menu in the menu manager.
- Click the New button to add a menu item.
- Set the menu item type to CW Quick Pages > Page
- In the menu item's CW Quick Pages tab, enter the page title and page content.
- Save the menu item.
Creating a Contact Page
- Open a menu in the menu manager.
- Click the New button to add a menu item.
- Set the menu item type to CW Quick Pages > Contact
- In the menu item's CW Quick Pages tab, enter the page title and page content.
- In the menu item's Contact Info tab, enter the contact information to be displayed.
- Save the menu item.
Creating an Event Page
- Open a menu in the menu manager.
- Click the New button to add a menu item.
- Set the menu item type to CW Quick Pages > Event
- In the menu item's CW Quick Pages tab, enter the page title and page content.
- In the menu item's Event Info tab, enter the event information to be displayed.
- Save the menu item.
Overriding the Layout of a Standard Content Page
- Copy
/components/com_cw_quickpages/views/page/tmpl/default.php
to/templates/{YOUR_TEMPLATE}/html/com_cw_quickpages/page/default.php
- Modify as needed.
Adding Multiple Layouts for Standard Content Pages
- Copy
/components/com_cw_quickpages/views/page/tmpl/default.php
to/templates/{YOUR_TEMPLATE}/html/com_cw_quickpages/page/default.php
- Rename the file to something other than
default.php
. (Example:newlayout.php
) - Modify as needed.
- Repeat as needed with different layout names.
- When adding a new standard content page, in the CW Quick Pages tab of the menu item, select the layout you wish to use.
Overriding the Layout of a Contact Page
- Copy
/components/com_cw_quickpages/views/page/tmpl/contact.php
to/templates/{YOUR_TEMPLATE}/html/com_cw_quickpages/page/contact.php
- Modify as needed.
Adding Multiple Layouts for Contact Pages
- Copy
/components/com_cw_quickpages/views/page/tmpl/contact.php
to/templates/{YOUR_TEMPLATE}/html/com_cw_quickpages/page/contact.php
- Rename the file to something other than
contact.php
. (Example:newcontactlayout.php
) - Modify as needed.
- Repeat as needed with different layout names.
- When adding a new contact page, in the CW Quick Pages tab of the menu item, select the layout you wish to use.
Overriding the Layout of an Event Page
- Copy
/components/com_cw_quickpages/views/page/tmpl/contact.php
to/templates/{YOUR_TEMPLATE}/html/com_cw_quickpages/page/contact.php
- Modify as needed.
Adding Multiple Layouts for Event Pages
- Copy
/components/com_cw_quickpages/views/page/tmpl/event.php
to/templates/{YOUR_TEMPLATE}/html/com_cw_quickpages/page/event.php
- Rename the file to something other than
event.php
. (Example:neweventlayout.php
) - Modify as needed.
- Repeat as needed with different layout names.
- When adding a new event page, in the CW Quick Pages tab of the menu item, select the layout you wish to use.
Creating Your Own CW Quick Pages Menu Item Type
This requires at least a basic understanding of Joomla! MVC architecture.
The quickest way to do this is to use the Contact menu item type as an example. Notice that in /components/com_cw_quickpages/views/page/tmpl
there are 2 files for the contact layout: contact.php
and contact.xml
.
The file contact.php
defines the layout of the page, while contact.xml
defines the menu item type as well as the parameters to be used in the menu item.
- Copy /components/com_cw_quickpages/views/page/tmpl/contact.php to /templates/{YOUR_TEMPLATE}/html/com_cw_quickpages/page/contact.php
- Copy /components/com_cw_quickpages/views/page/tmpl/contact.xml to /templates/{YOUR_TEMPLATE}/html/com_cw_quickpages/page/contact.xml
- Rename contact.php and contact.xml in your template to some other name, making sure that everything but the file extension is the same. (Example: newtype.php and newtype.xml)
- Mofiy the new PHP file and XML file as needed.
- Click here for more more information on adding parameters (fields) in the XML file.
Note: To display a map, you must enter the latitude/longited coordinates. These can be obtained at http://www.latlong.net/.