Jump to content
View in the app

A better way to browse. Learn more.

PHP论坛人

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

设计师模式

Featured Replies

设计师模式 Designers' Mode 文档
https://invisioncommunity.com/4guides/themes-and-customizations/advanced-theming/using-designers-mode-r126/

设计师模式是编辑模板的一种高级方法

启用时,你可以从 /根目录/themes/ 目录编辑模板HTML、CSS和图片

每个模板都有自己的目录,模板文件夹的名称将与模板ID对应

你将直接编辑这些.phtml和.css文件,改变将立即可用

当你完成模板编辑后,应该禁用设计师模式,以便将改变复制回数据库

由于消耗服务器资源,不应该在生产环境中启用

 

不要在当前论坛启用设计师模式,很容易出错,救不回论坛数据

 

启用设计师模式

在你新创建的论坛 -> 论坛后台 -> 自定义 -> 模板 -> 设计师模式 -> 启用设计师模式 -> 下一页

Designer01.png

 

 

Designer02.png

 

 

Designer03.png

 

 

 

Designer04-1.png

 

 

Designer04-2.png

 

 


IPS会替模板加密,当你启用设计师模式时,自动解密模板

/根目录/themes/模板ID/

可看到解密的模板文件

Designer05.png

 

 

 


模板编辑完成后,禁用设计师模式

Designer06.png

 

 

Designer07.png

 

 

Designer08.png

 

 

 

 

就能下载 模板.xml

最后将 模板.xml 上传更新到你当前运行的论坛

Designer09.png

Edited by Jack

Create an account or sign in to comment

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.