- 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
推薦閱讀
- Mastering NetBeans
- 零基礎搭建量化投資系統(tǒng):以Python為工具
- Mastering ServiceStack
- Unity 2020 Mobile Game Development
- 羅克韋爾ControlLogix系統(tǒng)應用技術
- 微信公眾平臺開發(fā):從零基礎到ThinkPHP5高性能框架實踐
- PySide 6/PyQt 6快速開發(fā)與實戰(zhàn)
- Swift 4從零到精通iOS開發(fā)
- 零基礎學HTML+CSS
- Flask Web開發(fā):基于Python的Web應用開發(fā)實戰(zhàn)(第2版)
- WordPress Search Engine Optimization(Second Edition)
- 軟硬件綜合系統(tǒng)軟件需求建模及可靠性綜合試驗、分析、評價技術
- Python Business Intelligence Cookbook
- C++程序設計習題與實驗指導
- Learning HTML5 by Creating Fun Games