当前位置:网站首页>How CI framework integrates Smarty templates
How CI framework integrates Smarty templates
2022-07-28 08:36:00 【51CTO】
One 、 download Smarty Templates and CI frame
1.https://codeigniter.org.cn/
2.Smarty Official website https://www.smarty.net/
Two 、 File copying and extending the core class library
1. Will download the smarty-3.1.30( You can download other versions , The principle is the same ) Store in application/libraries/ Under the table of contents .
2. stay application/libraries New file in directory Cismarty.php, The contents are as follows :
3. stay application/config New in file of smarty.php, The contents are as follows :
4. Create in the entry file 'templates、cache、configs Catalog
5. stay application/config/ Find below autoload.php file
$autoload[‘libraries’] = array(‘cismarty’);
6. stay application/core New under the directory MY_Controller, The contents are as follows
7. New controller Test.php
8. New view test
9. Configuration complete .
边栏推荐
- What happens when you unplug the power? Gaussdb (for redis) dual life keeps you prepared
- 五张图看懂EMI电磁干扰的传播过程-方波陡峭程度对高频成分的影响,时序到频域频谱图形,波形形状对EMI辐射的影响。
- PostgreSQL:无法更改视图或规则使用的列的类型
- Understand the propagation process of EMI electromagnetic interference through five diagrams - the influence of square wave steepness on high-frequency components, the spectrum graph from time sequenc
- Window 2 - > toolbar (28-1)
- Half bridge buck circuit - record
- Can‘t connect to server on ‘IP‘ (60)
- Puzzle (004.3) pattern puzzle
- leetcode/数组中和为0的三个不同数
- Day112.尚医通:手机验证码登录功能
猜你喜欢

GBase 8a MPP与银河麒麟(x86版)完成深度适配

EMC EMI磁珠的特性
![[mindspire YiDianTong robot-01] you may have seen many Knowledge Q & A robots, but this is a little different](/img/d1/c2c2e4a605deddd0073a05d528733f.jpg)
[mindspire YiDianTong robot-01] you may have seen many Knowledge Q & A robots, but this is a little different

c语言中函数的介绍(血书20000字!!!!)

uniapp---- 获取当前位置的经纬度等信息的详细步骤(包含小程序)

Mysql-怎么添加用户和设置权限?

五张图看懂EMI电磁干扰的传播过程-方波陡峭程度对高频成分的影响,时序到频域频谱图形,波形形状对EMI辐射的影响。

A group of South University students rely on science and technology to go to sea, with an annual income of 1billion

bash-shell 免交互
![[leetcode] 24. Exchange nodes in the linked list in pairs](/img/06/af8cffd306777b14a4989e638f5866.png)
[leetcode] 24. Exchange nodes in the linked list in pairs
随机推荐
jquey的基础语法
五张图看懂EMI电磁干扰的传播过程-方波陡峭程度对高频成分的影响,时序到频域频谱图形,波形形状对EMI辐射的影响。
网口网络水晶头RJ45、POE接口定义线序
Es6: arrow function usage
h5机甲射击类小游戏源码下载
Prescan quick start to master the transportation elements in lesson 14, prescan
2022 Niuke multi school second problem solving Report
Understand CDN
[pyqt] pyqt development experience_ How to find events and methods of controls
Prescan quick start to master the track editing path of Lecture 16
业务数字化飞速奔跑,管理数字化亟待出发
Openstack dashboard configuring public network access
How to build the protection system of class protection technology of 2022 series of ISO compliance (Part I)
PostgreSQL is the world's most advanced open source relational database
tkMapper的使用-超详细
Common solutions for distributed ID - take one
SQL function
Use of namespaces
JS cartoon English alphabet typing game source code
[Qt5] a method of multi window parameter transmission (using custom signal slot) and case code download