站长百科 | 数字化技能提升教程 数字化时代生存宝典
首页
数字化百科
电子书
▼
建站程序
开发
服务器
办公软件
开发教程
▼
服务器教程
软件使用教程
运营教程
热门电子书
▼
CSS教程
WordPress教程
导航
程序频道
推广频道
网赚频道
人物频道
网站程序
网页制作
云计算
服务器
CMS
论坛
网店
虚拟主机
cPanel
网址导航
WIKI使用导航
WIKI首页
热点词条
最新资讯
网站程序
站长人物
页面分类
使用帮助
编辑测试
创建条目
网站地图
站长百科导航
站长百科
主机侦探
IDCtalk云说
跨境电商导航
WordPress啦
站长专题
网站推广
网站程序
网站赚钱
虚拟主机
cPanel
网址导航专题
云计算
微博营销
虚拟主机管理系统
开放平台
WIKI程序与应用
美国十大主机
编辑“
Gallery2:Themes
”
人物百科
|
营销百科
|
网赚百科
|
站长工具
|
网站程序
|
域名主机
|
互联网公司
|
分类索引
Sunzz1985
(
讨论
|
贡献
)
2008年6月10日 (二) 09:57的版本
(新页面: A theme is the outermost skin of Gallery. It's a thin but powerful layer that allows you to control almost every aspect of the user interface to make Gallery look exactly the way that you...)
(差异) ←上一版本 |
最后版本
(
差异
) |
下一版本→
(
差异
)
跳转至:
导航
、
搜索
警告:您正在编辑的是本页面的旧版本。
如果您发布该更改,该版本后的所有更改都会丢失。
警告:
您没有登录。如果您做出任意编辑,您的IP地址将会公开可见。如果您
登录
或
创建
一个账户,您的编辑将归属于您的用户名,且将享受其他好处。
反垃圾检查。
不要
加入这个!
A theme is the outermost skin of Gallery. It's a thin but powerful layer that allows you to control almost every aspect of the user interface to make Gallery look exactly the way that you want. Gallery provides several themes to choose from and there are several user-contributed themes available to download and install. Gallery Administrators can choose which themes are available and set different themes for individual albums. There are several ways to customize how your Gallery looks. The first way is to select features to display in an installed theme in Gallery’s site administration area. Another way that to customize Gallery is to edit a theme’s template and style sheet files. The final way is to create your own theme—based on an existing theme or from scratch.<br/><br/> '''Select and Configure:''' * '''[[:Category:Gallery 2:Themes|Theme Catalog]]''' – A list of Gallery 2 standard and user-contributed themes, color packs, and icon packs. * '''[[Gallery2:Configuration:Themes|Managing and Configuring Themes]]''' – Information about installing, activating, upgrading, and configuring themes to change your Gallery’s appearance. '''Edit or Create a new one:''' * '''[[Gallery2:Themes:How_To|How Tos]]''' – A collection of step-by-step procedures to show you how to customize the look of your Gallery. * '''[[Gallery2:Themes:Theme_System_Overview|Editing and Creating Themes]]''' – An overview of Gallery 2’s theme system with detailed documentation showing how to edit and create theme templates and style sheets. '''Embed it:''' * '''[[Gallery2:Themes:Embedded_Theme_Considerations|Embedded Theme Considerations]]''' - Integrating Gallery with another application? This section is for you. ==Gallery 2 Templating System== Gallery's templating system is based on [http://smarty.php.net Smarty], a generic PHP templating system which uses separate template files to lay pages out. Gallery 2 customises this with several extra objects and variables. The following pages describe the templating system in more detail: *'''[[Gallery2:Themes:Reference:Smarty|Smarty]]''' - the template engine that assembles user- and Gallery-supplied content into the pages that are presented to the user *'''[[Gallery2:Themes:Reference:Modifiers|Modifiers]]''' - modifiers can alter the way that Smarty presents text. Gallery 2 extends the built-in ones with several that relate to display text in a gallery *'''[[Gallery2:Themes:Reference:Tags|Tags]]''' - Gallery 2 extends smarty with its own tags (e.g. ''{g->url ...}'') to provide useful shortcuts related to Gallery functions *'''[[Gallery2:Themes:Reference:Blocks|Blocks]]''' - in the same way that blocks can be manipulated using the Site Admin interface in Gallery 2, they can also be used within a template by using the '''g->block''' function *'''[[Gallery2:Themes:Reference:Callbacks|Callbacks]]''' - callbacks are used to load data into blocks within templates using the '''g->callback''' function *'''[[Gallery2:Themes:Reference:Variables|Variables]]''' - Gallery 2 makes several variables accessible to a template which provide information about the current image, album, user and environment [[Category:Gallery 2:Development:Themes]]
摘要:
请注意,您对站长百科的所有贡献都可能被其他贡献者编辑,修改或删除。如果您不希望您的文字被任意修改和再散布,请不要提交。
您同时也要向我们保证您所提交的内容是您自己所作,或得自一个不受版权保护或相似自由的来源(参阅
Wordpress-mediawiki:版权
的细节)。
未经许可,请勿提交受版权保护的作品!
取消
编辑帮助
(在新窗口中打开)