万本电子书0元读

万本电子书0元读

顶部广告

concrete5 Beginner's Guide (2nd Edition)电子书

售       价:¥

1人正在读 | 0人评论 9.8

作       者:Remo Laubacher

出  版  社:Packt Publishing

出版时间:2013-04-23

字       数:100.7万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
This is a beginner's guide, which takes a clear, step-by-step approach to guide you through the process of creating and adding functionality to your site. This book is ideal for developers experienced with HTML and CSS and possibly PHP as well as JavaScript, who would like to build their first site with concrete5. Some knowledge of PHP, MySQL, or HTML would be useful, but no experience with concrete5 is expected.
目录展开

concrete5 Beginner's Guide

Table of Contents

concrete5 Beginner's Guide

Credits

About the Author

About the Reviewers

www.PacktPub.com

Support files, eBooks, discount offers and more

Why Subscribe?

Free Access for Packt account holders

Preface

What this book covers

What you need for this book

Who this book is for

Conventions

Time for action – heading

What just happened?

Pop quiz – heading

Have a go hero – heading

Reader feedback

Customer support

Downloading the example code

Errata

Piracy

Questions

1. Installing concrete5

Preparing for installation

Web browser

Text editor

Archive utility

FTP client

Installing Bitnami

Time for action – installing Bitnami WAMP stack

What just happened?

Pop quiz – requirements for concrete5

Downloading concrete5

Time for action – downloading the latest version

What just happened?

Creating an empty MySQL database

Time for action – creating a MySQL database

What just happened?

Installing concrete5

Time for action – installing concrete5

What just happened?

The configuration file

Pop quiz – the configuration file

Disabling caching

Time for action – disabling caching

What just happened?

Enabling pretty URLs

Time for action – enabling pretty URLs

What just happened?

File and directory structure of concrete5

Dispatcher process

Summary

2. Working with concrete5

Getting familiar with concrete5

Time for action – logging in to concrete5

What just happened?

Adding new blocks

Time for action – adding new blocks

What just happened?

Time for action – editing existing blocks

What just happened?

Have a go hero – adding more blocks

Time for action – exiting edit mode

Pop quiz – concrete5 inside the editing mode

Working with the dashboard

Time for action – changing the site's name

What just happened?

Adding more pages

Time for action – adding pages to create a news section

What just happened?

Time for action – adding blocks to a new page

What just happened?

Have a go hero – adding more pages

Managing page defaults

Time for action – adding default blocks to a page type

What just happened?

Adding blocks to existing pages

Time for action – adding blocks to existing pages

What just happened?

Moving and sorting pages

Time for action – moving and sorting your pages

What just happened?

Splitting content into columns

Time for action – creating a multi-column layout

What just happened?

Have a go hero – adding more columns and blocks

Copying blocks using the clipboard

Time for action – copying the block using the clipboard

What just happened?

Working with stacks

Time for action – working with stacks

What just happened?

Styling with design and CSS

Time for action – styling your blocks

What just happened?

Have a go hero – customizing more styles

Have a go hero – play around

Summary

3. Managing Permissions

Managing basic permissions

Adding users and groups

Time for action – adding groups

What just happened?

Group expiration options

Time for action – adding users

What just happened?

Working with user attributes

Granting sitemap and file manager permissions

Time for action – assigning sitemap permissions

What just happened?

Time for action – granting file manager permissions

What just happened?

Have a go hero – time restriction for permissions

Granting page editing permissions

Time for action – granting edit access

What just happened?

Managing edit access on a page by page basis

Creating a protected website section

Time for action – creating a protected website

What just happened?

Granting partial dashboard access

Time for action – granting partial dashboard access

What just happened?

Restricting block access

Time for action – restricting access to blocks

What just happened?

Working with the advanced permission mode

Time for action – activating the advanced permission mode

What just happened?

Managing advanced page permissions

Time for action – removing permissions to change permissions

What just happened?

Managing area permissions

Managing block permissions

Managing subpage permissions

Time for action – setting subpage permissions

What just happened?

Pop quiz – permissions in concrete5

Summary

4. Managing Add-ons

Introduction to add-ons

Installing add-ons from the marketplace

Time for action – installing an add-on

Time for action – uninstalling an add-on

What just happened?

Have a go hero – installing more add-ons

Manually installing an add-on

Time for action – installing an add-on manually

What just happened?

Working with theme add-ons

Parts of a theme

Theme file structure

Working with block add-ons

Block structure

Packages

Pop quiz – what's a package?

Summary

5. Creating Your Own Theme

Starting with a new layout

The HTML code

CSS rules

Converting HTML and CSS to a concrete5 theme

Time for action – creating the concrete5 theme header

What just happened?

Time for action – creating the concrete5 theme footer

What just happened?

Time for action – creating a page template

What just happened?

Time for action – creating more page templates

What just happened?

Pop quiz – what are page templates and page types?

Installing your theme

Time for action – installing theme

What just happened?

PHP constants and functions

Time for action – getting a list of available constants

What just happened?

Time for action – listing all available functions

What just happened?

Time for action – checking for edit mode

What just happened?

Time for action – hiding content from anonymous visitors

What just happened?

Time for action – restricting numbers of blocks per area

What just happened?

Time for action – inserting a block wrapper in an area

What just happened?

Working with page attributes

Time for action – using attributes to set background picture

What just happened?

Time for action – accessing attribute data from a template

What just happened?

Pop quiz – what are attributes?

Inserting blocks in templates

Time for action – replacing the header area with a template block

What just happened?

Time for action – finding autonav block properties

What just happened?

Time for action – specifying block templates in an area

What just happened?

Applying a theme to a single page

Time for action – creating a single page layout

What just happened?

Time for action – adding variables to handle login errors

What just happened?

Pop quiz – what's a single page?

Creating customizable themes

Time for action – creating a customizable theme

What just happened?

Have a go hero – adding more customizable styles

Summary

6. Customizing Block Layouts

Custom templates to modify a block layout

Thumbnails in a page list

Time for action – adding thumbnails to a page list

What just happened?

Time for action – restricting thumbnails to a custom dimension

What just happened?

Have a go hero – improving the thumbnail page list

Have a go hero – exploring concrete5 helpers

Block template folder

Time for action – creating a template folder

What just happened?

Pop quiz – how to include CSS and JavaScript files

Picture pop-ups in a content block

Time for action – building a lightbox gallery

What just happened?

Have a go hero – creating another JavaScript gallery

Adding a Gravatar picture in the guestbook

Time for action – adding a Gravatar picture to the guestbook

What just happened?

Avoiding duplicate code in a custom template

Time for action – including an existing template

What just happened?

Transforming a slideshow into a gallery

Time for action – creating a gallery template for a slideshow

What just happened?

Time for action – adding a slideshow gallery

What just happened?

Slideshow using file attributes

Time for action – adding file attributes to our slideshow

What just happened?

Time for action – using file attributes in the gallery

What just happened?

Using advanced tooltips in the content block

Time for action – creating advanced tooltips

What just happened?

Summary

7. Adding Site Navigation

Introducing the autonav block

Preparation

Time for action – undoing autonav block integration

What just happened?

Autonav options

Autonav page structure

Page order

Example 1 – showing all pages

Example 2 – showing relevant subpages

Example 3 – showing relevant subpages starting from the top

Autonav output

Adding navigation images

Time for action – creating page attributes for navigation pictures

What just happened?

Time for action – creating a block picture navigation template

Pop quiz – parts of image navigation

What just happened?

Adding a CSS3 hover effect

Time for action – creating a CSS3 transition autonav template

What just happened?

Have a go hero – create more transitions

Building a drop-down navigation

Time for action – creating a SooperFish template

What just happened?

Have a go hero – changing the SooperFish parameters

Have a go hero – including SooperFish themes

Sliding mobile navigation

Time for action – building a mobile navigation

What just happened?

Summary

8. Creating your Own Add-on Block

Building a product information block

Steps for creating a block

Adding the database schema

Time for action – creating the database structure

What just happened?

Time for action – creating the block controller

What just happened?

Time for action – creating the editing interface

What just happened?

Time for action – printing block output

What just happened?

Time for action – installing a block

What just happened?

Checking for mandatory fields

Time for action – adding a check for mandatory fields

What just happened?

Adding product categories

Time for action – adding product categories

What just happened?

Have a go hero – getting more information about blocks

Pop quiz – parts of a block

Building a product list

Handling multiple block versions

Time for action – handling multiple block versions

What just happened?

Creating a product list block

Time for action – creating the product list block

What just happened?

Have a go hero – extending the product list

Creating a picture magnifier

Time for action – creating the picture magnifier block

What just happened?

Creating a PDF-generating block

Time for action – creating the PDF generation block

What just happened?

Using generate_pdf.php

Using view.php

Creating a simple gallery

Time for action – creating the simple gallery block

What just happened?

Have a go hero – adding more gallery options

Summary

9. Everything in a Package

What's a package?

Package structure

The package controller

Time for action – creating the package controller

What just happened?

Pop quiz – what does a package do?

Moving templates into a package

Time for action – moving templates into a package

What just happened?

Moving a theme and blocks into a package

Time for action – uninstalling blocks

What just happened?

Time for action – moving the jQZoom block into a package

What just happened?

Time for action – moving the PDF block into a package

What just happened?

Have a go hero – moving more add-ons

Hooking into core events

Event types

Extending an event

Time for action – hooking into an event from a package

What just happened?

Pop quiz – what can you do with events?

Working with maintenance tasks and jobs

Time for action – executing concrete5 jobs periodically

What just happened?

Creating a new job

Time for action – creating a job to check for broken links

What just happened?

Injecting header items

Adding tooltips for every title tag

Time for action – creating global tooltips

What just happened?

JavaScript browser fixes

Time for action – integrating a CSS fix in a package

What just happened?

Pop quiz – benefits of addHeaderItem

Have a go hero – creating a new package

Summary

10. Dashboard Extensions

Working with the MVC pattern

Adding the broken link interface

Time for action – creating the broken links dashboard extension

What just happened?

Moving database access into a model

Time for action – creating a package model

What just happened?

Working with multiple controller methods

Time for action – adding a second controller method

What just happened?

Embedding a file editor in the dashboard

Time for action – creating the file editor add-on

What just happened?

Controllers without logic

Have a go hero – extending the file editor add-on

Pop quiz – concrete5 single pages

Summary

11. Deployment and Configuration

Deploying a concrete5 site

Preparations for deployment

Time for action – disabling pretty URLs and the cache

What just happened?

Transferring MySQL databases

Time for action – transferring MySQL databases

What just happened?

Transferring files to the server

Time for action – transferring files to the server

What just happened?

Time for action – updating the configuration file

What just happened?

Setting file permissions

Time for action – setting file permissions

What just happened?

Updating production configuration

Updating the configuration file

Base URL redirection

Changing the concrete5 language

Time for action – installing a translation file

What just happened?

Improving performance with a cache

Time for action – getting PHP information

What just happened?

Caching with APC

Measuring site performance

Time for action – measuring site performance

What just happened?

Pop quiz – concrete5 configuration

Where to go next

Summary

Pop Quiz Answers

Chapter 1, Installing concrete5

Pop quiz – requirements for concrete5

Pop quiz – the configuration file

Chapter 2, Working with concrete5

Pop quiz – concrete5 inside editing mode

Chapter 3, Managing permissions

Pop quiz – permissions in concrete5

Chapter 4, Managing Add-ons

Pop quiz – what's a package?

Chapter 5, Creating your Own Theme

Pop quiz – what are page templates and page types?

Pop quiz – what are attributes?

Pop quiz – what's a single page?

Chapter 6, Customizing Block Layouts

Pop quiz – how to include CSS and JavaScript files

Chapter 7, Adding Site Navigation

Pop quiz – parts of image navigation

Chapter 8, Creating Your Own Add-on Block

Pop quiz – parts of a block

Chapter 9, Everything in a Package

Pop quiz – what does a package do?

Pop quiz – what can you do with events?

Pop quiz – benefits of addHeaderItem

Chapter 10, Dashboard Extensions

Pop quiz – concrete5 single pages

Chapter 11, Deployment and Configuration

Pop quiz – concrete5 configuration

Index

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部