English 中文(简体)
Help with atk4-web, atk4-example ver. 4.03
原标题:
  • 时间:2011-04-11 17:59:27
  •  标签:
  • atk4

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:Wwwatk4webatk4libSMlite.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:

  1. Why I got error when I did change in empty.html to:

Thanks.

问题回答

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.





相关问题
How to make a field "autocomplete"?

I can t figure out how to make a field autocomplete in ATK. I guess it has something to do with the type "reference" but still not sure. Suppose I m looking for a client name in a "line" type field, ...

How to create a "New xxx" popup?

I have a Grid object and added a [ (+) New Client ] button which I d like to open a popup form to create the new client with a couple fields. I ve looked at the code examples in the website but haven ...

Inline-editable fields goes away on clicking them

When I just load the page there are all the fields, but when I click on them, then the clicked field just disappears. However, no changes are applied to DB. This is the code: function ...

ATK4 and file upload

I am using controller_filestore and it gives error Method addCondition is not defined neither in controller_filestore, nor in its Model. If I use controller_filestore_image, it doesn’t find the class....

Help with atk4-web, atk4-example ver. 4.03

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 ...

ATK4 - subfolder under page folder and js/css issue

I am using agile toolkit for one of my projects. When I create a sub folder under page folder, CSS and JS are not picked from atk4 folder and I have to copy those css and js under templates folder. Is ...

热门标签