Gallery:外观主题:手把手指导
来自站长百科
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 Forums which contain a lot of useful information regarding themes.
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.
If you came up with a useful howto, please add it to the list!
General
- Add a site banner or remove Gallery Logo?
- Style album/photo text?
- Position/reposition items?
- Hide/remove the sidebar?
- Add my site’s style sheet?
- Install new themes?
- Upgrade a theme? Bump a theme’s API version?
- Remove Gallery, HTML, Release badges?
- Setup image blocks?
- How To Add Google Analytics to my Gallery 2
- How To Embed a Google adsense banner on top
- How To Embed a Hit Counter
- How do I Remove the Root Album Link in the BreadCrumb
- How to change the rating modules star images
- How to add Lightbox JS, a JavaScript that overlays images over pages, to a Gallery 2 Theme
- How to display an item's custom fields next to its thumbnail in an album
- How To Use Thumbnails for the Sub Album List
- How to display Username and not Fullname in Comments
- How to Achieve an Embossed Watermark
- How to add custom stuff on main/root page
- How to Copy an Existing Theme