Gallery: 外观主题:手把手指导:修订间差异

来自站长百科
跳转至: 导航、​ 搜索
无编辑摘要
第1行: 第1行:
These procedures may not apply directly to your specific theme as configuration options and settings change from theme to theme. In addition to browsing this list, try searching the Gallery [http://gallery.menalto.com/forum Forums] which contain a lot of useful information regarding themes.
这些过程可能不会作为配置选项直接应用到你的特定外观主题上,并且各外观主题的设定是不同的。除了浏览此列表之外,你还可以尝试搜索Gallery[http://gallery.menalto.com/forum 论坛] ,这里含有许多有关外观主题的有用信息。


'''Note: ''' Be sure to '''disable template caching''' when editing templates (.tpl files). Else you need to clear your template cache to see the change taking effect. ''Site Admin'' -> ''Performance'' - The template cache was introduced in Gallery 2.3.
'''注: ''' 在编辑模板(.tpl files)时,请确保'''禁用了模板缓冲'''。不然的话你就需要清楚模板缓冲以使修改生效。''站点管理(Site Admin)'' -> ''性能(Performance)'' – 模板缓冲是在Gallery2.3中被引进的概念。


If you came up with a useful howto, please add it to the list!
如果你发现了有用的指导信息,请添加到此表中!
==General==
==一般==
# [[Gallery:How_to_Add_Custom_Banner_or_Remove_Gallery_Logo|Add a site banner or remove Gallery Logo?]]
# [[Gallery:How_to_Add_Custom_Banner_or_Remove_Gallery_Logo|添加站点条幅或移除Gallery标志?]]
# Style album/photo text?
# 风格相册/相片文本?
# Position/reposition items?
# 定位/重定位项目?
# Hide/remove the sidebar?
# 隐藏/移除边栏?
# Add my site’s style sheet?
# 添加站点风格页?
# [[Gallery:Themes:How to Copy an Existing Theme|Install new themes?]]
# [[Gallery:Themes:How to Copy an Existing Theme|安装新外观主题?]]
# Upgrade a theme? Bump a theme’s API version?
# 升级某个外观主题?提升外观主题API的版本?
# [[Gallery:How_to_Remove_Unpossible_MP3_Link|Remove Gallery, HTML, Release badges?]]
# [[Gallery:How_to_Remove_Unpossible_MP3_Link|深处Gallery,HTML,发布标记?]]
# [[Gallery:How_To_Setup_Image_Blocks|Setup image blocks?]]
# [[Gallery:How_To_Setup_Image_Blocks|安装图片区块?]]
# [[Gallery:How To Add Google Analytics to my Gallery 2|How To Add Google Analytics to my Gallery 2]]
# [[Gallery:How To Add Google Analytics to my Gallery 2|如何向Gallery2添加Google分析]]
# [[Gallery:How_to_add_adsense|How To Embed a Google adsense banner on top]]
# [[Gallery:How_to_add_adsense|如何在顶部嵌入一个Google adsense条幅]]
# [[Gallery:How_to_embed_counter_code_at_the_page_bottom|How To Embed a Hit Counter]]
# [[Gallery:How_to_embed_counter_code_at_the_page_bottom|如何嵌入点击量计数器]]
# [[Gallery:How_Do_I_Remove_the_Root_Album_Link|How do I Remove the Root Album Link in the BreadCrumb]]
# [[Gallery:How_Do_I_Remove_the_Root_Album_Link|如何删除BreadCrumb中的根目录相册链接]]
# [[Gallery:Modules:rating#Customizations|How to change the rating modules star images]]
# [[Gallery:Modules:rating#Customizations|如何修改评价模块的星形图片]]
# [[Gallery:Lightbox_JS_Tutorial|How to add Lightbox JS, a JavaScript that overlays images over pages, to a Gallery 2 Theme]]
# [[Gallery:Lightbox_JS_Tutorial|如何向Gallery2外观主题添加Lightbox JS(用于覆迭图片于页面之上的JavaScript)]]
# [[Gallery:How_to_display_custom_fields_next_to_thumbnail|How to display an item's custom fields next to its thumbnail in an album]]
# [[Gallery:How_to_display_custom_fields_next_to_thumbnail|如何在相册中某项目的缩略图旁边显示该项目的自定义字段]]
# [[Gallery:How_to_use_Thumbnails_for_the_Sub_Album_List|How To Use Thumbnails for the Sub Album List]]
# [[Gallery:How_to_use_Thumbnails_for_the_Sub_Album_List|如何为子相册列表使用缩略图]]
# [[Gallery:How_to_Change_Fullname_to_Username_in_Comments|How to display Username and not Fullname in Comments]]
# [[Gallery:How_to_Change_Fullname_to_Username_in_Comments|如何在评论中只显示用户名而非全名]]
# [http://gallery.menalto.com/node/33428#comment-121847 How to Achieve an Embossed Watermark]
# [http://gallery.menalto.com/node/33428#comment-121847 如何获得浮雕效果的水印]
# [[Gallery:How_to_add_custom_stuff_on_main_root_page| How to add custom stuff on main/root page]]
# [[Gallery:How_to_add_custom_stuff_on_main_root_page| 如何在主/根页面上添加自定义的东西]]
# [[Gallery:Themes:How_to_Copy_an_Existing_Theme|How to Copy an Existing Theme]]
# [[Gallery:Themes:How_to_Copy_an_Existing_Theme|如何复制某已存在的外观主题]]


==Slideshow==
==幻灯片==
# [http://gallery.menalto.com/node/36735 How to change the default settings of the slideshow]
# [http://gallery.menalto.com/node/36735 如何修改幻灯片的默认设定]


==Embedding / Integrating==
==嵌入/整合==
#[[Gallery:Integration_Howto|How to integrate Gallery 2 into your CMS site]]
#[[Gallery:Integration_Howto|如何将Gallery2嵌入到CMS站点中]]
# [[Gallery:How_to_visually_embed_Gallery_in_your_own_website_by_editing_theme_templates|Visually embed Gallery in your own website by editing theme templates]]
# [[Gallery:How_to_visually_embed_Gallery_in_your_own_website_by_editing_theme_templates|通过编辑外观主题模板来可视化地将Gallery嵌入到你自己的网站中]]
# [[Gallery:How_to_visually_embed_G2_in_your_own_website_using_embedded_mode|Visually embed G2 in your own website using embedded mode]]
# [[Gallery:How_to_visually_embed_G2_in_your_own_website_using_embedded_mode|使用嵌入模式将Gallery嵌入到你自己的网站中]]
#[[Gallery:How to Use A Separate Theme For WPG2|How to Use A Separate Theme For WPG2]]
#[[Gallery:How to Use A Separate Theme For WPG2|如何为WPG2使用一个独立的外观主题]]
#[[Gallery:How_I_integrated_the_slider_theme_into_my_website|How I integrated the slider theme into my website]]
#[[Gallery:How_I_integrated_the_slider_theme_into_my_website|如何将slider外观主题嵌入到网站中]]
#[[Gallery:How_to_Embed_Gallery2_in_Drupal|How to Embed Gallery 2 in Drupal]]
#[[Gallery:How_to_Embed_Gallery2_in_Drupal|如何将Gallery嵌入到Drupal中]]


[[Category:Gallery 2:Development:Themes]]
[[Category:Gallery 2:Development:Themes]]

2008年9月1日 (一) 09:56的版本

这些过程可能不会作为配置选项直接应用到你的特定外观主题上,并且各外观主题的设定是不同的。除了浏览此列表之外,你还可以尝试搜索Gallery论坛 ,这里含有许多有关外观主题的有用信息。

注: 在编辑模板(.tpl files)时,请确保禁用了模板缓冲。不然的话你就需要清楚模板缓冲以使修改生效。站点管理(Site Admin) -> 性能(Performance) – 模板缓冲是在Gallery2.3中被引进的概念。

如果你发现了有用的指导信息,请添加到此表中!

一般

  1. 添加站点条幅或移除Gallery标志?
  2. 风格相册/相片文本?
  3. 定位/重定位项目?
  4. 隐藏/移除边栏?
  5. 添加站点风格页?
  6. 安装新外观主题?
  7. 升级某个外观主题?提升外观主题API的版本?
  8. 深处Gallery,HTML,发布标记?
  9. 安装图片区块?
  10. 如何向Gallery2添加Google分析
  11. 如何在顶部嵌入一个Google adsense条幅
  12. 如何嵌入点击量计数器
  13. 如何删除BreadCrumb中的根目录相册链接
  14. 如何修改评价模块的星形图片
  15. 如何向Gallery2外观主题添加Lightbox JS(用于覆迭图片于页面之上的JavaScript)
  16. 如何在相册中某项目的缩略图旁边显示该项目的自定义字段
  17. 如何为子相册列表使用缩略图
  18. 如何在评论中只显示用户名而非全名
  19. 如何获得浮雕效果的水印
  20. 如何在主/根页面上添加自定义的东西
  21. 如何复制某已存在的外观主题

幻灯片

  1. 如何修改幻灯片的默认设定

嵌入/整合

  1. 如何将Gallery2嵌入到CMS站点中
  2. 通过编辑外观主题模板来可视化地将Gallery嵌入到你自己的网站中
  3. 使用嵌入模式将Gallery嵌入到你自己的网站中
  4. 如何为WPG2使用一个独立的外观主题
  5. 如何将slider外观主题嵌入到网站中
  6. 如何将Gallery嵌入到Drupal中