Gallery: 整合:Xaraya:修订间差异

来自站长百科
跳转至: 导航、​ 搜索
(新页面: The ''Gallery2'' integration module for ''Xaraya'' integrates the ''Gallery 2'' photo album application into Xaraya. * '''[http://gallery.menalto.com/forum/91 Discussion / Support Forum]...)
 
无编辑摘要
 
(未显示同一用户的2个中间版本)
第1行: 第1行:
The ''Gallery2'' integration module for ''Xaraya'' integrates the ''Gallery 2'' photo album application into Xaraya.
''Xaraya''''Gallery2''整合模块将''Gallery 2''相片相册程序整合入Xaraya中。


* '''[http://gallery.menalto.com/forum/91 Discussion / Support Forum]'''
* '''[http://gallery.menalto.com/forum/91 讨论/支持论坛]'''
* '''[[Downloads|Download the Gallery2 Xaraya Integration Module]]''' (from one of the Gallery 2 File Mirrors)
* '''[[Downloads|下载Gallery2 Xaraya整合模块]]''' (选择一个Gallery2文件镜像)
* '''[[Integration:Xaraya:Installation|Installation Instructions]]'''
* '''[[Integration:Xaraya:Installation|安装指导]]'''
* '''[[Integration:Xaraya:Upgrade|Upgrade Instructions]]'''
* '''[[Integration:Xaraya:Upgrade|升级指导]]'''
* '''[[Integration:Xaraya:Technical_Documentation|Technical Documentation]]'''
* '''[[Integration:Xaraya:Technical_Documentation|技术文档]]'''


== About ==
== 介绍 ==
The main objective of this module is to keep the code of Xaraya and G2 separate while integrating the user interface and functionality as far as possible.
该模块的主要目的就是在整合用户界面和功能时始终保证Xaraya代码和G2的独立性。


The three involved components are:
有关的三个组件如下:
* [http://www.xaraya.com Xaraya] - The web application framework
* [http://www.xaraya.com Xaraya] – web程序框架
* [[Gallery:About|Gallery 2]] - The photo album application
* [[Gallery:About|Gallery 2]] – 相片相册程序
* [http://www.xaraya.com/index.php/release/eid/35 A Xaraya module called ''gallery2''] - The glue code (this integration package)
* [http://www.xaraya.com/index.php/release/eid/35 一名为''gallery2''的Xaraya模块] – 胶水代码(该整合包)


== Usage ==
== 用法 ==
Before you can use G2 in your xaraya installation, you'll have to install and configure all components first (see above)..
在xaraya中使用G2之前,你必须先安装(以上)这些组件并配置完成之后才可以。


=== Included Blocks ===
=== 包括的区块 ===
The gallery2 Module provides two blocks.
gallery2模块提供2个区块。
* sidebar: the Gallery2 Sidebar block is a try to give you more area (width) for content (thumbnails, image detail view). You can disable the sidebar menu in the config and instantiate the sidebar block and move the sidebar menu where you want to.
* 边栏(sidebar):Gallery2的边栏区块会尝试给你更多的内容(缩略图,图片详细视图)空间(宽度)。你可以在配置中禁用边栏菜单并实体化边栏区块,接着讲变量菜单移植任意的位置。
* Image block: You can instantiate as many image blocks as you want and configure each block instance separately. i.e. create a randomImage image block and a most recent image block, show the title and the date, or just the owner of the item.
* 图片区块(Image block):你可以对任意多的图片区块进行实体化并分别进行配置。即创建一个randomImage图片区块以及一个最近查看的图片区块,显示标题和日期或仅显示项目的所有者。


=== G2 Images in Xaraya Content ===
=== Xaraya内容中的G2图片 ===
TODO: Add instructions (g2 image chooser / transform hook)
TODO:添加相关指导(g2图片选择器/转换hook)


== Known Bugs ==
== 已知Bug ==
* Since the xaraya RC candidates, you cannot use G2 URL rewrite with xaraya. Deactivate the G2 URL rewrite module when using it embedded in xaraya
* 由于xaraya RC候选,你无法使用xaraya的G2 URL重写。在嵌入于xaraya的情况下使用的话,请禁用G2 URL 重写模块。
* Users that have been imported from Gallery 2 into Xaraya all need to request a new password since their password could not be imported into Xaraya. The password hash methods between Xaraya and Gallery2 are incompatible.
* 所有从Gallery2被导入至Xaraya中的用户都需要请求一个新密码,因为它们的密码可能无法被导入Xaraya。Xaraya和Gallery2之间的密码hash方法不兼容。


== TODO ==
== 备忘 ==
* Add the search hook (searching Gallery 2 from xaraya's central search form isn't done yet)
* 添加搜索hook(由xaraya中心搜索进行搜索的形式还未完成)
* Incorporate the G2 menu links in the xaraya menu.
* 将G2菜单链接整入xaraya菜单。


[[Category:Integration|Xaraya]]
[[Category:Integration|Xaraya]]
[[Category:Integration:Xaraya]]
[[Category:Integration:Xaraya]]

2008年11月7日 (五) 13:36的最新版本

XarayaGallery2整合模块将Gallery 2相片相册程序整合入Xaraya中。

介绍[ ]

该模块的主要目的就是在整合用户界面和功能时始终保证Xaraya代码和G2的独立性。

有关的三个组件如下:

用法[ ]

在xaraya中使用G2之前,你必须先安装(以上)这些组件并配置完成之后才可以。

包括的区块[ ]

gallery2模块提供2个区块。

  • 边栏(sidebar):Gallery2的边栏区块会尝试给你更多的内容(缩略图,图片详细视图)空间(宽度)。你可以在配置中禁用边栏菜单并实体化边栏区块,接着讲变量菜单移植任意的位置。
  • 图片区块(Image block):你可以对任意多的图片区块进行实体化并分别进行配置。即创建一个randomImage图片区块以及一个最近查看的图片区块,显示标题和日期或仅显示项目的所有者。

Xaraya内容中的G2图片[ ]

TODO:添加相关指导(g2图片选择器/转换hook)

已知Bug[ ]

  • 由于xaraya RC候选,你无法使用xaraya的G2 URL重写。在嵌入于xaraya的情况下使用的话,请禁用G2 URL 重写模块。
  • 所有从Gallery2被导入至Xaraya中的用户都需要请求一个新密码,因为它们的密码可能无法被导入Xaraya。Xaraya和Gallery2之间的密码hash方法不兼容。

备忘[ ]

  • 添加搜索hook(由xaraya中心搜索进行搜索的形式还未完成)
  • 将G2菜单链接整入xaraya菜单。