列出文章
|
頁: 1 [2] 3 4 ... 6
|
18
|
開發 / 外掛程式 / 解決了 - Gallery2 plugins問題
|
於: 三月 03, 2006, 03:52:48 下午
|
參考了版上各位兄弟的做法,我仍未能成功整合.雖然之前都有人說還是分開的好,不過G2的功能的確比檔案中心強大,而且亦有朋友是成功整合的,所以我不會放棄. 現在的問題是, 1. plugin的link可以用,可以embed在LT下,不過所有的圖片都不能顯示. 2. 如果G2開啟了URL REWRITE的話,只開到G2首頁,進入不了相簿. LT:1.0.3 G2:2.0.3 plugin設定: /home/hkplogadmin/gallery2/embed.php index.php?op=gallery&blogId=2 / gallery2 LT PATH: /home/hkplogadmin/lifetype-1.0.2 G2 PATH: /home/hkplogadmin/gallery2 想問是否Relative path出了問題?還是其他地方出了問題呢? 另外,我再找到一個tinymce的g2plugin,可以配合tinymce使用,不過亦是embed mode出現問題,顯示不了圖片. 如果embed mode成功的話,整合就更完美了.
|
|
|
21
|
開發 / 外掛程式 / Re: Galerry2 整合 lifetype 1.0.3 後,可以用但無法回上一層??怎麼會這樣??
|
於: 三月 02, 2006, 03:17:24 下午
|
再thx, 不過仍未成功,code有點問題. 你提供的code RewriteCond %{THE_REQUEST} /v/([^?]+)(?.| .) RewriteCond %{REQUEST_FILENAME} !/index.php$ RewriteRule . index.php?op=gallery&blogId=1&g2_view=core.ShowItem&g2_path=%1 [QSA,L] 我的G2的code RewriteCond %{THE_REQUEST} \ /v/([^?]+)(\?.|\ .) RewriteCond %{REQUEST_FILENAME} !main\.php RewriteRule . /main.php?g2_view=core.ShowItem&g2_path=%1 [QSA,L] 我見是少了幾個"\"的,所以我跟著你的code去改 RewriteCond %{THE_REQUEST} \ /v/([^?]+)(\?.|\ .) RewriteCond %{REQUEST_FILENAME} !index\.php RewriteRule . /index.php?op=gallery&blogId=1&g2_view=core.ShowItem&g2_path=%1 [QSA,L] 還是一樣不行. thx
|
|
|
22
|
開發 / 外掛程式 / Re: Galerry2 整合 lifetype 1.0.3 後,可以用但無法回上一層??怎麼會這樣??
|
於: 三月 02, 2006, 01:24:33 下午
|
先THX twu2大兄, 因為小弟還未升級2.1 rc1,所以只是沿用sf上下載的舊版.不過為了方便,我是有使用"網址改寫"->"顯示項目",不過的去掉了/v這個perfix. G2的.htaccess內是這樣 RewriteCond %{THE_REQUEST} \ /([^?]+)(\?.|\ .) RewriteCond %{REQUEST_FILENAME} !main\.php RewriteRule . /main.php?g2_view=core.ShowItem&g2_path=%1 [QSA,L] LT的.htaccess加入了 RewriteCond %{THE_REQUEST} /([^?]+)(?.| .) RewriteCond %{REQUEST_FILENAME} !/index.php$ RewriteRule . index.php?op=gallery&[color=Red]blogId=1[/color]&g2_view=core.ShowItem&g2_path=%1 [QSA,L] 加了這段的問題是整個plog都不能進入,會出error 500 不加這段的結果是顯示不到相片,從LT進入不到G2.上面紅色的blogId=1是否主因?因為我的blog id不是1是2.如果是這個問題,其他的blog又可以如何使用? 我的PLOG網址 http://sunkit.hkplog.com,可否請大兄再指點一二.
|
|
|
23
|
開發 / 外掛程式 / Re: Galerry2 整合 lifetype 1.0.3 後,可以用但無法回上一層??怎麼會這樣??
|
於: 三月 02, 2006, 10:45:58 上午
|
twu2大兄,
得知你對GALLERY2整合甚有心得,小弟有以下幾問.
1. 小弟的LT跟G2都是mulituser的,之前試過用G2 plugin的random photo是整個G2的random photo,想問有方法做到指定album內的random,設定上,LT的blog_ownername跟G2的album name是相同的.
2. 如果以上功能是現階段無法達成,那麼只要簡單的embed就可以,就像你的blog那樣,menu bar中相簿的link,想請問是如何設置才做得到可以embed在blog.
thx!
|
|
|
25
|
支援 / 安裝與設定 / Re: 關於tinymce的問題與建議!
|
於: 二月 15, 2006, 09:20:28 下午
|
THX LSS大兄,去掉x就可以了,
不過有另一個問題出現,頭三個icon不見了,出了x圖示,應該是粗,斜,底線三個,
發新文章那邊是正常可見的.
再thx
|
|
|
27
|
支援 / 安裝與設定 / Re: 關於tinymce的問題與建議!
|
於: 二月 15, 2006, 01:58:59 下午
|
對不起lss,翻了這麼舊的post上來,不過我真的無法完成,發表文章的tinymce已完成,迴響的卻用不了. 以下是我的commentform.template, 麻煩lss大兄指點一二.thx! <script language="javascript" type="text/javascript" xsrc="{$url->getBaseUrl()}/js/tinymce/jscripts/tiny_mce/tiny_mce.js"></script> <script language="javascript" type="text/javascript" xsrc="{$url->getTemplateFile("tiny_mce-commentform.js")}"></script> <form action="{$url->getIndexUrl()}" method="post"> <small>{$locale->pr("comment_topic")}</small><br/><input type="text" name="commentTopic" value=""/><br/> <small>{$locale->pr("comment_text")}*</small><br/><textarea rows="10" cols="37" name="commentText"></textarea><br/> <small>{$locale->pr("comment_username")}*</small><br/> <input type="text" name="userName" value=""/><br/> <small>{$locale->pr("comment_email")}</small><br/> <input type="text" name="userEmail" value=""/><br/> <small>{$locale->pr("comment_url")}</small><br/> <input type="text" name="userUrl" value=""/><br/> {if $authimage->isEnabled()} <small><label for="authImage">AuthImage</label></small><br/> <input type="text" name="authImage" id="authImage" value="" /> {$authimage->show()} {/if} <br/> <input type="submit" value="{$locale->pr("comment_send")}" name="Add"/> <input type="reset"><br/><br/> <input type="hidden" name="op" value="AddComment"/> <input type="hidden" name="articleId" value="{$post->getId()}"/> <input type="hidden" name="blogId" value="{$blog->getId()}"/> <input type="hidden" name="parentId" value="{$parentId}"/>
{* Anti-Spam Comments *} {if !empty($hiddeninput)} {if $hiddeninput->isEnabled()} {foreach from=$hiddeninput->getHiddenFields() item=hiddenField} <input type="hidden" name="{$hiddenField}" value="GetOut!" /> {/foreach} {else} Warning: {$locale->tr("HiddenInput")} is required or enabled. {/if} {/if}
</form> 麻煩你.
|
|
|
30
|
支援 / 使用與操作 / Re: 引用(trackback)問題
|
於: 二月 11, 2006, 10:18:10 下午
|
THX,
不過因為server另有gallery2 service提供,需要php 5.0.4以上,或者真的需要downgrade php了
|
|
|
|
|
|