1、开启了分组
2、开启了主题
TP3.1原本只支持到主题 而且不兼容多分组 多主题并存
1、开启了分组
2、开启了主题
跨分组调用模板文件。
如:在NEWS分组模板页面调用HOME分组公共模板文件
TP3.1原本只支持到主题 而且不兼容多分组 多主题并存
修改文件
TP3.1 Lib/Template/ThinkTemplate.class.php 678行后添加if(!empty($paths)) {// 设置模板分组<br>
$path = APP_PATH.C('APP_GROUP_PATH').C('TMPL_FILE_DEPR').array_pop($paths).'/Tpl/'.THEME_NAME.'/';<br>
}
AD:真正免费,域名+虚机+企业邮箱=0元

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Dreamweaver CS6
Visual web development tools

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

Atom editor mac version download
The most popular open source editor

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.
