编辑“Gallery:模块:相册选取(albumselect)

跳转至: 导航、​ 搜索
警告:您没有登录。如果您做出任意编辑,您的IP地址将会公开可见。如果您登录创建一个账户,您的编辑将归属于您的用户名,且将享受其他好处。

该编辑可以被撤销。 请检查下面的对比以核实您想要撤销的内容,然后发布下面的更改以完成撤销。

最后版本 您的文本
第1行: 第1行:
=相册选取(Album Select)模块=
=Album Select Module=
紧凑的相册列表使得相册的直接浏览变得简单。
Compact album lists make it easy to navigate directly to any album.


==描述==
==Description==
使得外观主题的区块可以直接跳转到gallery中的任何相册。
Makes blocks available to themes for jumping directly to any album in the gallery.


==特点==
==Features==
* 显示当前用户可见的所有相册列表。
* Shows a list of all albums visible to the current user
* 显示相当紧凑的下拉列表或可浏览的树型菜单。
* Shows either a very compact drop-down list or a browseable tree menu


==用法==
==Usage==
* 需要的话可以在下载页面中下载该模块。G2的最小化及典型安装包不包括此模块。
* Download the module from the download page if necessary. The minimal and typical package of G2 don't include this module.
* ''站点管理(Site Admin)'' -> ''插件(Plugins)''中安装并激活此模块。
* Install and activate the module in ''site admin'' -> ''plugins''
* ''站点管理(site admin)'' -> ''相册选取(album select)''中做一些必要的'''配置'''
* '''Configure''' some settings in ''site admin'' -> ''album select''  
* ''站点管理(site admin)'' -> ''外观主题(themes)'' -> ''matrix''(或其他某个激活或被使用的外观主题)的边栏中'''添加相册快速链接(Add the Album quick links)'''区块。你可以选择下拉(由列表中选取)或DHTML(动态树型视图)类型的区块。
* '''Add the Album quick links''' block to your sidebar in ''site admin'' -> ''themes'' -> ''matrix'' (or for any other active/used theme).  You can choose Dropdown (select from list) or DHTML (dynamic tree view) type of block.
* 现在你及站点访问者就可以在所有相册/相片页面的边栏中看到一个'''相册选取区块(album select block)'''了。
* Now you and the visitors of your site see a '''album select block''' in your sidebar in all album / photo pages.


== 常见问题 ==
== FAQ ==
=== 为何相册没有被正确归类? ===
=== Why are the albums not sorted correctly? ===
让相册以同样的在gallery中的次序进行归类会使得相册选择区块的页面读取变慢一些。这就是为和此归类操作默认是禁用的原因了(对整个列表进行字母表方式的归类或手动归类会更快些)。
Sorting the albums in the same order they are shown in the gallery makes loading pages with the album select block a little slower. That's why this sorting is disabled by default (sorting the entire list alphabetically or by manual sort order is faster).
你可以在''站点管理(Site Admin)'' -> ''相册选取(Album Select)''中选择归类方式。
You can select the sorting method in ''Site Admin'' -> ''Album Select''


==被请求的特点==
==Requested Features==
* 如果能在站点管理界面中配置下拉菜单中相册标题的字符限制就好了。目前我必须手动通过truncateTitles的修改值创建一个新的本地AlbumSelect.tpl才能达到目的。
* It would be great if the character limit for album titles in the dropdown menu was configurable in the site administration interface. I currently had to manually create a new local AlbumSelect.tpl with a changed value of truncateTitles to achieve this.


==Bug==
==Bugs==
目前尚无有关此模块的问题。
Currently there are no known issues for this module.


[[Category:Gallery 2:Modules]]
[[Category:Gallery 2:Modules]]
请注意,您对站长百科的所有贡献都可能被其他贡献者编辑,修改或删除。如果您不希望您的文字被任意修改和再散布,请不要提交。
您同时也要向我们保证您所提交的内容是您自己所作,或得自一个不受版权保护或相似自由的来源(参阅Wordpress-mediawiki:版权的细节)。 未经许可,请勿提交受版权保护的作品!
取消 编辑帮助(在新窗口中打开)