舉報(bào)

會(huì)員
concrete5 Cookbook
David Strack 著
更新時(shí)間:2021-08-13 16:16:32
開會(huì)員,本書免費(fèi)讀 >
最新章節(jié):
Index
TheCookbook-stylerecipesallowyoutogobothdirectlytoyourtopicofinterestorfollowtopicsthroughoutachaptertogainin-depthknowledge.ThispracticalCookbookwillcatertotheneedsofbothintermediateandadvancedconcrete5developers.ThisbookisgearedtowardsintermediatetoadvancedPHPdeveloperswhowouldliketolearnmoreabouttheconcrete5contentmanagementsystem.Developersalreadyfamiliarwithconcrete5willlearnnewtime-savingtricksandwillfindthebooktobeagreatreferencetool.
最新章節(jié)
- Index
- Official resources
- The process
- The rules
- Appendix C. Submitting an Add-on Package to the concrete5 Marketplace
- Wrapping up
品牌:中圖公司
上架時(shí)間:2021-08-13 16:02:05
出版社:Packt Publishing
本書數(shù)字版權(quán)由中圖公司提供,并由其授權(quán)上海閱文信息技術(shù)有限公司制作發(fā)行
- Index 更新時(shí)間:2021-08-13 16:16:32
- Official resources
- The process
- The rules
- Appendix C. Submitting an Add-on Package to the concrete5 Marketplace
- Wrapping up
- Adding the block to a page
- Creating the custom block type
- Adding a delete confirmation
- Adding events to the database
- Creating the add form single page
- Creating the list single page
- Installing the package
- Creating the package
- Before we begin...
- Appendix B. Blueprint – Creating an Events Calendar Add-on
- Wrap-up
- Giving life to the block
- Installing the block type with the package
- Creating the block type
- Creating the package controller
- Before we begin...
- Appendix A. Blueprint – Creating an Image Gallery Add-on
- Changing the dashboard background image
- Rebranding concrete5 as a white label CMS
- Making your add-on translation ready
- Creating a custom scheduled job
- Sending an e-mail when a file has been uploaded
- Sending an e-mail when a user creates an account
- Defining a page type event
- Passing parameters to event handlers
- Listening to system events
- Enabling events in concrete5
- Declaring advanced configuration variables
- Introduction
- Chapter 9. System Events and Advanced Configuration
- Using the package controller to execute custom code
- Creating a custom add-on package
- Customizing system pages
- Using elements for repeated portions of HTML
- Creating page type templates
- Defining editable content areas
- Including the concrete5 required scripts and styles
- Creating a custom theme
- Introduction
- Chapter 8. Working with Themes and Add-ons
- Checking a user's file permissions
- Checking if a user can edit a page
- Checking if a user can read a page
- Getting the permission object
- Deleting a user
- Logging out a user
- Removing a user from a group
- Checking if a user is a member of a group
- Getting all of the users from a group
- Adding a user to a group
- Loading a group by its name
- Loading a group by its ID
- Retrieving a user's attributes
- Setting a user's attributes
- Getting a user's info
- Loading a user by its username
- Loading a user by its ID
- Getting the currently logged-in user
- Checking if the current user is logged in
- Introduction
- Chapter 7. Working with Users and Permissions
- Creating a delete action
- Adding editing capabilities to create a form
- Creating a view to display a list of database items
- Saving data to the database from a controller
- Creating a form to create items
- Adding single pages to the dashboard
- Creating view files for single pages on the dashboard
- Creating controller files for single pages on the dashboard
- Introduction
- Chapter 6. Creating CRUD Interfaces
- Defining relationships with active record
- Deleting objects using active record and model classes
- Searching the database using active record
- Updating a database record with active record
- Writing to the database with active record
- Reading from the database with active record
- Creating a custom model class
- Guarding against SQL injections using prepared statements
- Writing data to the database
- Retrieving data from the database
- Loading the database object
- Introduction
- Chapter 5. Working with Databases and Models
- Reading and writing to the configuration registry
- Writing to the debug log
- Reading and writing to the system cache
- Using the banned words list
- Showing a rating widget on a form
- Showing a date/time selector on a form
- Showing a color picker on a form
- Getting a list of states and provinces
- Getting a list of countries
- Preventing spam using the Captcha helper
- Validating input data using the Validation helpers
- Generating URLs with the URL helper
- Working with strings using the Text helper
- Getting page URLs and breadcrumbs with the Navigation helper
- Determining the MIME type of a file extension using the MIME helper
- Sending e-mails with the Mail helper
- Encoding and decoding JSON with the JSON helper
- Generating and caching thumbnails with the Image helper
- Generating HTML code with the HTML helper
- Including a WYSIWYG editor on a form
- Creating custom forms with the Form helper
- Managing files and directories with the File helper
- Loading an RSS feed with the Feed helper
- Using the Encryption helper
- Using the Date helper
- Loading a helper class
- Introduction
- Chapter 4. Using the Core Helpers
- Adding a file picker to a form
- Getting the download statistics for a file
- Getting the download URL for a file
- Setting permissions on files
- Setting passwords on file objects
- Reindexing a file's search attributes
- Deleting a file
- Duplicating a file
- Getting all of the files in a file set
- Checking if a file is part of a file set
- Removing a file from a file set
- Adding a file to a file set
- Loading a file set by its ID
- Uploading a file to the file manager
- Getting a list of files
- Getting a file's path
- Loading a file by its ID
- Introduction
- Chapter 3. Files and File Sets
- Getting the blocks from an area
- Adding a block to a page
- Loading a block type by its handle
- Including CSS in the block view
- Including JavaScript in the block view
- Including JavaScript in block forms
- Creating custom block templates
- Adding items to the page header and footer from the block controller
- Sending variables from the controller to the view
- Using block controller callback functions
- Creating a custom block type
- Introduction
- Chapter 2. Working with Blocks
- Adding a page selector field to a form
- Getting a list of pages
- Deleting a page (and its children)
- Moving a page
- Getting the children below a page
- Getting a page's theme object
- Getting a page's page type handle
- Getting a page's page type ID
- Getting a page's description
- Getting a page's name
- Getting a page's handle
- Getting a page's path
- Getting a page's ID
- Getting a page attribute
- Setting page attributes
- Updating an existing page
- Creating a page type
- Deleting a page type
- Updating a page type
- Creating a page type
- Getting a list of pages that belong to a page type
- Getting the icon for a page type
- Getting a page type's handle
- Getting a page type's name
- Getting a page type's ID
- Getting a page type by its handle
- Getting a page type by its ID
- Getting a Page object by its path
- Getting a Page object by its ID
- Getting the current Page object
- Create a custom debugging function
- Introduction
- Chapter 1. Pages and Page Types
- Preface
- www.PacktPub.com
- About the Reviewers
- About the Author
- Credits
- 版權(quán)信息
- 封面
- 封面
- 版權(quán)信息
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Preface
- Chapter 1. Pages and Page Types
- Introduction
- Create a custom debugging function
- 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
- Chapter 2. Working with Blocks
- Introduction
- Creating a custom block type
- Using block controller callback functions
- Sending variables from the controller to the view
- Adding items to the page header and footer from the block controller
- Creating custom block templates
- Including JavaScript in block forms
- Including JavaScript in the block view
- Including CSS in the block view
- Loading a block type by its handle
- Adding a block to a page
- Getting the blocks from an area
- Chapter 3. Files and File Sets
- Introduction
- Loading a file by its ID
- Getting a file's path
- Getting a list of files
- Uploading a file to the file manager
- Loading a file set by its ID
- Adding a file to a file set
- Removing a file from a file set
- Checking if a file is part of a file set
- Getting all of the files in a file set
- Duplicating a file
- Deleting a file
- Reindexing a file's search attributes
- Setting passwords on file objects
- Setting permissions on files
- Getting the download URL for a file
- Getting the download statistics for a file
- Adding a file picker to a form
- Chapter 4. Using the Core Helpers
- Introduction
- Loading a helper class
- Using the Date helper
- Using the Encryption helper
- Loading an RSS feed with the Feed helper
- Managing files and directories with the File helper
- Creating custom forms with the Form helper
- Including a WYSIWYG editor on a form
- Generating HTML code with the HTML helper
- Generating and caching thumbnails with the Image helper
- Encoding and decoding JSON with the JSON helper
- Sending e-mails with the Mail helper
- Determining the MIME type of a file extension using the MIME helper
- Getting page URLs and breadcrumbs with the Navigation helper
- Working with strings using the Text helper
- Generating URLs with the URL helper
- Validating input data using the Validation helpers
- Preventing spam using the Captcha helper
- Getting a list of countries
- Getting a list of states and provinces
- Showing a color picker on a form
- Showing a date/time selector on a form
- Showing a rating widget on a form
- Using the banned words list
- Reading and writing to the system cache
- Writing to the debug log
- Reading and writing to the configuration registry
- Chapter 5. Working with Databases and Models
- Introduction
- Loading the database object
- Retrieving data from the database
- Writing data to the database
- Guarding against SQL injections using prepared statements
- Creating a custom model class
- Reading from the database with active record
- Writing to the database with active record
- Updating a database record with active record
- Searching the database using active record
- Deleting objects using active record and model classes
- Defining relationships with active record
- Chapter 6. Creating CRUD Interfaces
- Introduction
- Creating controller files for single pages on the dashboard
- Creating view files for single pages on the dashboard
- Adding single pages to the dashboard
- Creating a form to create items
- Saving data to the database from a controller
- Creating a view to display a list of database items
- Adding editing capabilities to create a form
- Creating a delete action
- Chapter 7. Working with Users and Permissions
- Introduction
- Checking if the current user is logged in
- Getting the currently logged-in user
- Loading a user by its ID
- Loading a user by its username
- Getting a user's info
- Setting a user's attributes
- Retrieving a user's attributes
- Loading a group by its ID
- Loading a group by its name
- Adding a user to a group
- Getting all of the users from a group
- Checking if a user is a member of a group
- Removing a user from a group
- Logging out a user
- Deleting a user
- Getting the permission object
- Checking if a user can read a page
- Checking if a user can edit a page
- Checking a user's file permissions
- Chapter 8. Working with Themes and Add-ons
- Introduction
- Creating a custom theme
- Including the concrete5 required scripts and styles
- Defining editable content areas
- Creating page type templates
- Using elements for repeated portions of HTML
- Customizing system pages
- Creating a custom add-on package
- Using the package controller to execute custom code
- Chapter 9. System Events and Advanced Configuration
- Introduction
- Declaring advanced configuration variables
- Enabling events in concrete5
- Listening to system events
- Passing parameters to event handlers
- Defining a page type event
- Sending an e-mail when a user creates an account
- Sending an e-mail when a file has been uploaded
- Creating a custom scheduled job
- Making your add-on translation ready
- Rebranding concrete5 as a white label CMS
- Changing the dashboard background image
- Appendix A. Blueprint – Creating an Image Gallery Add-on
- Before we begin...
- Creating the package controller
- Creating the block type
- Installing the block type with the package
- Giving life to the block
- Wrap-up
- Appendix B. Blueprint – Creating an Events Calendar Add-on
- Before we begin...
- Creating the package
- Installing the package
- Creating the list single page
- Creating the add form single page
- Adding events to the database
- Adding a delete confirmation
- Creating the custom block type
- Adding the block to a page
- Wrapping up
- Appendix C. Submitting an Add-on Package to the concrete5 Marketplace
- The rules
- The process
- Official resources
- Index 更新時(shí)間:2021-08-13 16:16:32