- concrete5 Cookbook
- David Strack
- 86字
- 2021-08-13 16:16:00
Chapter 2. Working with Blocks
In this chapter we will cover the following recipes:
- 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
推薦閱讀
- Data Visualization with D3 4.x Cookbook(Second Edition)
- 深度實(shí)踐OpenStack:基于Python的OpenStack組件開發(fā)
- Instant Zepto.js
- OpenStack Cloud Computing Cookbook(Fourth Edition)
- Scratch 3.0少兒編程與邏輯思維訓(xùn)練
- Implementing Cisco Networking Solutions
- Java軟件開發(fā)基礎(chǔ)
- Learning Python by Building Games
- Java Fundamentals
- 深入剖析Java虛擬機(jī):源碼剖析與實(shí)例詳解(基礎(chǔ)卷)
- Hands-On GUI Programming with C++ and Qt5
- Unity 2018 Augmented Reality Projects
- TypeScript圖形渲染實(shí)戰(zhàn):2D架構(gòu)設(shè)計(jì)與實(shí)現(xiàn)
- Python硬件編程實(shí)戰(zhàn)
- SQL Server 2008實(shí)用教程(第3版)