整合:Xaraya:安装:修订间差异

来自站长百科
跳转至: 导航、​ 搜索
无编辑摘要
 
第1行: 第1行:
Installation instructions for the Gallery2 integration module for Xaraya:
Xaraya的Gallery2整合模块安装指导:


# Download Xaraya from the [http://www.xaraya.com Xaraya website].
# [http://www.xaraya.com Xaraya站点]下载Xaraya。
# Install Xaraya on your own webserver / webspace
# 将Xaraya安装到你的web服务器/web空间上
# [[Downloads|Download Gallery 2]]
# [[Downloads|下载Gallery 2]]
# Install Gallery 2 on your own webserver / webspace
#将Gallery 2安装到你的web服务器/web空间上
# Download the gallery2 module for Xaraya from one of the nightly snapshot mirrors at [[Downloads|Gallery Downloads]]
# [[Downloads|Gallery下载]]中的nightly snapshot镜像下载Xaraya的Gallery2整合模块
# The xaraya integration package includes a gallery2/ folder. Copy it into your xaraya's modules directory on your webspace.
# xaraya整合包包括一个gallery2/文件夹。将其复制到你web空间的xaraya模块目录中。
# Browse to your Xaraya's module management pages and install the Gallery2 module.
# 浏览Xaraya的模块管理页面并按照Gallery2模块。
# In the config.php file of G2, set $gallery->setConfig('mode.embed.only', true); This will disable G2 standalone mode. When you're finished with the configuration process of the Xaraya module, you can optionally re-enable G2 standalone mode by setting $gallery->setConfig('mode.embed.only', false);
# 在G2的config.php文件中,设定$gallery->setConfig('mode.embed.only', true); 这会禁用G2的独立模式。当你配置完Xaraya模块后,可以重新启用G2的独立模式,设定$gallery->setConfig('mode.embed.only', false);即可
# Browse to the admin pages of the Gallery2 module in Xaraya and configure it.
# 浏览Xaraya中G2模块的管理页面并进行配置。
# Optional (short URLs): If you use the G2 rewrite module, you have to configure it embedded in G2 too. Go to G2 site admin -> url rewrite in the setup tab. Then hit save in the Rules tab. Finally, you have to uncomment and configure the $systemConfiguration['BaseURI'] line in xaraya/var/config.system.php.
# 可选(短URL):如果你使用G2重写模块(rewrite module),就必须对其嵌入G2的情况进行配置。打开G2站点管理->安装标签中的url重写。接着在规则(Rules)标签中点击保存。最后你必须为xaraya/var/config.system.php中的$systemConfiguration['BaseURI']行取消批注并进行配。




'''Note:''' It doesn't matter where you install G2 on your website, you probably want to install it on the top level, i.e. /path/to/documentRoot/gallery/ or as a subdirectory in your gallery2 module, i.e. /path/to/documentRoot/modules/gallery2/g2/ assuming xaraya was installed directly in the DocumentRoot folder.
'''注:''' G2在网站中的安装位置无关紧要,你可能希望将其安装在顶层,即/path/to/documentRoot/gallery/或作为gallery2模块中的子目录,即 /path/to/documentRoot/modules/gallery2/g2/;这里假定xaraya已直接安装在DocumentRoot文件夹下了。


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

2008年11月7日 (五) 14:45的最新版本

Xaraya的Gallery2整合模块安装指导:

  1. Xaraya站点下载Xaraya。
  2. 将Xaraya安装到你的web服务器/web空间上
  3. 下载Gallery 2
  4. 将Gallery 2安装到你的web服务器/web空间上
  5. Gallery下载中的nightly snapshot镜像下载Xaraya的Gallery2整合模块
  6. xaraya整合包包括一个gallery2/文件夹。将其复制到你web空间的xaraya模块目录中。
  7. 浏览Xaraya的模块管理页面并按照Gallery2模块。
  8. 在G2的config.php文件中,设定$gallery->setConfig('mode.embed.only', true); 这会禁用G2的独立模式。当你配置完Xaraya模块后,可以重新启用G2的独立模式,设定$gallery->setConfig('mode.embed.only', false);即可
  9. 浏览Xaraya中G2模块的管理页面并进行配置。
  10. 可选(短URL):如果你使用G2重写模块(rewrite module),就必须对其嵌入G2的情况进行配置。打开G2站点管理->安装标签中的url重写。接着在规则(Rules)标签中点击保存。最后你必须为xaraya/var/config.system.php中的$systemConfiguration['BaseURI']行取消批注并进行配。


注: G2在网站中的安装位置无关紧要,你可能希望将其安装在顶层,即/path/to/documentRoot/gallery/或作为gallery2模块中的子目录,即 /path/to/documentRoot/modules/gallery2/g2/;这里假定xaraya已直接安装在DocumentRoot文件夹下了。