2011-04-11 21 views
1

我現在沒有在哪裏可以找到幫助。沒有關於atk4的論壇。 你能幫我嗎?幫助atk4-web,atk4-example版本。 4.03

atk4幅(4.0.3):

如何運行atk4的Web localy,哪裏是網站轉儲(mysql數據庫)? 這個錯誤的含義是什麼: Object AgileToolkitWeb(agile_project)模板中沒有這樣的標籤(版本)。標籤是:page_title,page_title#1,seo_keywords,seo_keywords#2,seo_descr,seo_descr#3,模板,模板#4,模板#5,模板#6,模板#7,模板#8,模板#9,os,os #10,js_include,js_include#11,document_ready,document_ready#12,section,section#13,template#14,menu_about,menu_about#15,page,page#16,menu_doc,menu_doc#17,page#18,menu_develop,menu_develop #19,page#20,menu_services,menu_services#21,page#22,menu_download,menu_download#23,page#24,menu_blog,menu_blog#25,page#26,link_comparison,link_comparison#27,link_example,link_example#28,link_tour ,link_tour#29,內容,內容#30,TabContent,TabContent#40

d:\萬維網\ atk4web \ atk4 \ lib中\ SMlite.php:341

atk4-示例(4.0.3):

爲什麼頁面沒有包含javascrip,當我允許 - >在前端檢查()? empty.html和shared.html有什麼區別? empty.html:

shared.html:

感謝:

  1. 爲什麼我的時候我的確在empty.html到零錢錯誤。

回答

0

Agile Toolkit使用名爲'SMlite'的模板引擎。它非常基本,允許您加載模板,然後將標籤設置爲特定值。

$ tpl-> trySet('mytag',123);

敏捷工具包中的視圖依賴於此模板引擎,並會嘗試生成其輸出並放置在父代模板中。在你的案例中,對象被指示使用模板中不存在的點。

閱讀有關在此處添加的部分:http://agiletoolkit.org/doc/learn,它應該是有幫助的。

在auth登錄表單上沒有JavaScript需要。由於安全原因,它也繞過了某些UI /功能。您可以通過將其放置到template/jui/empty.html(不包含atk4)中並創建自己的empty.html並在其中啓用JavaScript。

也添加jUI和執行auth-> check()的序列可能會改變這一點,但我不確定。

+0

好吧,好的,我看到views.atk4-web爲了學習而轉儲了嗎? – 2011-04-12 07:05:54

+0

加入:https://github.com/atk4/atk4-web/commit/39712ff4c735b2323a0cea06e4a51691bcc9c874#diff-1享受。 – romaninsh 2011-04-13 21:16:38