编辑“整合:Xaraya:安装

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

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

最后版本 您的文本
第1行: 第1行:
Xaraya的Gallery2整合模块安装指导:
Installation instructions for the Gallery2 integration module for Xaraya:


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




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


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