帮助 atk4-web、atk4-example 版本。 4.03
我现在不知道在哪里可以找到帮助。没有关于 atk4 的论坛。 你能帮我吗?
atk4-web (4.0.3):
如何在本地运行 atk4-web,站点转储(mysql 数据库)在哪里? 这个错误是什么意思: 对象 AgileToolkitWeb(agile_project) 的模板中没有此类标签(版本)。标签为:page_title、page_title#1、seo_keywords、seo_keywords#2、seo_descr、seo_descr#3、模板、template#4、template#5、template#6、template#7、template#8、template#9、操作系统、操作系统#10、js_include、js_include#11、document_ready、document_ready#12、节、节#13、模板#14、menu_about、menu_about#15、页面、page#16、menu_doc、menu_doc#17、page#18、menu_develop、menu_develop #19,页面#20,菜单_服务,菜单_服务#21,页面#22,菜单_下载,菜单_下载#23,页面#24,菜单_博客,菜单_博客#25,页面#26,link_comparison,link_comparison#27,link_example,link_example#28,link_tour , link_tour#29, Content, Content#30, TabContent, TabContent#40
D:\Www\atk4web\atk4\lib\SMlite.php:341
atk4-example (4.0.3):
为什么页面没有包含 javascrip,当我前端允许 -> check() 吗? empty.html和shared.html有什么区别? empty.html:
shared.html:
- 为什么当我将empty.html更改为:
谢谢时出现错误。
I don't now where can I find help. None forums about atk4.
Can you help me, please?
atk4-web (4.0.3):
How run atk4-web localy, where is site dump (mysql database)?
What is mean this error:
No such tag (version) in template for Object AgileToolkitWeb(agile_project). Tags are: page_title, page_title#1, seo_keywords, seo_keywords#2, seo_descr, seo_descr#3, template, template#4, template#5, template#6, template#7, template#8, template#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, Content, Content#30, TabContent, TabContent#40
D:\Www\atk4web\atk4\lib\SMlite.php:341
atk4-example (4.0.3):
Why page has not javascrip included, when I allow ->check() in Frontend?
What is difference between empty.html and shared.html?
empty.html:
shared.html:
- Why I got error when I did change in empty.html to:
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Agile Toolkit 使用名为“SMlite”的模板引擎。它非常基本,允许您加载模板,然后将标签设置为特定值。
$tpl->trySet('mytag',123);
Agile Toolkit 中的视图依赖于该模板引擎,并将尝试生成其输出并放置在父级模板中。在您的情况下,对象被指示使用模板中不存在的点。
阅读有关在此处添加的部分:http://agiletoolkit.org/doc/learn,它应该会有所帮助。
身份验证登录表单上不需要 JavaScript。由于安全原因,它还绕过了一些 UI/功能。您可以通过将其放入 template/jui/empty.html (不带 atk4)来创建自己的empty.html 并在其中启用javascript。
添加 jUI 和执行 auth->check() 的顺序也可能会改变这一点,但我不确定。
Agile Toolkit uses template engine called 'SMlite'. Its very basic and allows you to load template, then set tags to a certain value.
$tpl->trySet('mytag',123);
Views in Agile Toolkit rely on this template engine and will try to generate their output and place inside parent's template. In your case object was instructed to use spot which did not exist in the template.
Read section about adding here: http://agiletoolkit.org/doc/learn, it should be helpful.
There are no need for JavaScript on auth login form. It also bypasses some of the UI/functionality due to security reasons. You can either create your own empty.html by placing it into template/jui/empty.html (without atk4) and enable javascript in there.
Also sequence of adding jUI and executing auth->check() might change this, but I'm not sure.