Book Image

concrete5 Beginner's Guide

Book Image

concrete5 Beginner's Guide

Overview of this book

Table of Contents (19 chapters)
concrete5
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Time for action – creating page attributes for navigation pictures


  1. In the dashboard, go to Pages and Themes – Attributes.

  2. At the bottom, select Image/File and click on Go.

  3. Enter navigation_pic_off for handle and Navigation Picture Off for name.

  4. Create another attribute with navigation_pic_on for handle and Navigation Picture On for the name.

  5. If you intend to use this for all navigation items, you might want to assign the new attributes to the page types by default. Go to Page Types and click on Edit for each page type. Select the two new attributes and click on Update Page Type.

What just happened?

By following the steps in the time for action, you created two attributes which allowed you to assign two pictures to every page. Attributes in concrete5 are very flexible—you can create and connect them to pages, users, and files in case you have to manage object-specific data.

Attributes can be helpful with a variety of different problems; make sure you know how to use them.