歡迎光臨, 訪客. 請先 登入註冊一個帳號.
三月 28, 2024, 06:40:13 下午
19595 文章 在 3865 主題 由 4580 會員
最新註冊會員: aa123aa1
  列出文章
頁: [1]
1  開發 / 模版設計 / 如何在搜尋結果清單中叫出我想要的欄位 於: 四月 11, 2008, 11:35:32 下午
我希望每個清單下面的功能表上都能夠有作者
在main.template可以下面的方法取得

{foreach from=$posts item=post}
{assign var="postOwner" value=$post->getUserInfo()}
{$postOwner->getUsername()} under
{/foreach}

但我不知道在 searchresult.template 下該怎麼做
{foreach from=$searchresults item=result}
{assign var=article value=$result->getArticle()}
{/foreach}

不知各位是否可以告訴我方法
謝謝
2  支援 / 安裝與設定 / 自訂網址是否可以不要指定前面的字串 於: 四月 01, 2008, 06:23:24 下午
hi各位好
我使用自訂字串
在 blog_link_format這邊我指定的是blog owner
/blog/{blogowner}$

請問有辦法不要打那個blog 直接http://www.myblog.com/myaccount 就連到我的blog嗎?
3  支援 / 安裝與設定 / Re: 安裝完後出現smarty error, not allowed in 於: 三月 25, 2008, 11:28:56 下午
板大,我安裝官網的1.2.6就沒有這個問題了
中文介面也正確,但是PO文都會變問號
請問該如何解決呢?
4  支援 / 安裝與設定 / Re: 安裝完後出現smarty error, not allowed in 於: 三月 24, 2008, 09:47:01 上午
版大
我裝appserv就可以
但wampserver就不行
可是公司用的是wampserver
只有index.php會有這個問題
有人可以幫我嗎?
5  支援 / 安裝與設定 / Re: 安裝完後出現smarty error, not allowed in 於: 三月 21, 2008, 06:04:20 下午
很怪耶 sumarry.php正常,index.php就不行。
6  支援 / 安裝與設定 / Re: 安裝完後出現smarty error, not allowed in 於: 三月 21, 2008, 11:08:00 上午
我完全沒改任何東西,一裝好啟動就這樣了
奇怪的是後台可以跑
7  支援 / 安裝與設定 / Re: 安裝完後出現smarty error, not allowed in 於: 三月 21, 2008, 10:50:52 上午
順帶一提,我後台可以跑耶,後台也跑smrty不是嗎?
8  支援 / 安裝與設定 / Re: 安裝完後出現smarty error, not allowed in 於: 三月 21, 2008, 09:58:04 上午
這應該是smarty的問題吧
safe_mode   Off   Off <- 我的phpinfo
我有裝別套open source也是用smarty當engine的可是沒問題耶~?
9  支援 / 安裝與設定 / 安裝完後出現smarty error, not allowed in 於: 三月 20, 2008, 07:34:03 下午
Warning: Smarty error: (secure mode) accessing "standard/main.template" is not allowed in C:\wamp\www\lifetype\class\template\smarty\Smarty.class.php on line 1108

請問上面這個問題有人有遇到嗎?
頁: [1]