Questions tagged [agiletoolkit]

Agile Toolkit is a PHP framwework

Agile Toolkit is an object-oriented web development framework for PHP.

75 questions
3
votes
1 answer

ATK4 Form datePicker - default state is 'opened', can this be changed?

I'm using the following form, and everytime the page opens (it's in an expander on a grid) the datePicker is 'open', obscuring part of the text above it. function page_del() { $billingid = $_GET['id']; $now = date("Y-m-d H:i:s"); …
3
votes
1 answer

MVCForm Agile Toolkit Form Update Record ID must be specified

hopefully simple questions regarding Agle Toolkit. Currently with the below code getting Error in AJAX response: SyntaxError: Unexpected token < BaseException Record ID must be specified, otherwise use loadAny() page\grant.php
Omar Mir
  • 1,500
  • 1
  • 19
  • 39
2
votes
1 answer

Can Agile Toolkit generate its model from existing SQL DB?

Brief Background I'm investigating the potential of investing in Agile Toolkit for a future project. I like its approach and it's largley perfect for my needs - with the possible exception that I may have misinterpreted its support for models that…
Cliff Chaney
  • 414
  • 5
  • 13
2
votes
1 answer

Reference Table Lookup Ability in Agile Toolkit ATK4 CRUD

I need help in Agile Toolkit CRUD Grid/Form. I made a CRUD Grid/Form in Agile Toolkit for Employee, Position and Department. It was very easy. But i am now having difficulty trying to set the Position and Department columns. Instead of showing 'id'…
2
votes
1 answer

Agile toolkit - how atk4_form.js is loaded?

I'm using agile toolkit version 4.2. I'm using a javascript function that creates a modal (popup) and the content is inserted via ajax call. The content was inserted via jquery's ".html()" function but in case of big data, this function is very…
Pascut
  • 3,291
  • 6
  • 36
  • 64
2
votes
1 answer

How do I render (get HTML of) a form object in Agile Toolkit?

I'm using PHP framework Agile Toolkit version 4.3.2 (latest at this moment). I'm on a page that extends the default Page class. Suppose I have a form object like: $form = $this->add('Form'); $form->addField('text', 'name',…
Pascut
  • 3,291
  • 6
  • 36
  • 64
2
votes
1 answer

How to change atk4 PathFinder search paths priority or prepend a location from addon?

I want to make a jQuery-mobile addon for atk4 (version 4.3.1). In test case I want to conditionally override the template path by prepending a location to pathfinder's 'template' locations from my addon. How can I do it?
gaabora
  • 332
  • 2
  • 6
2
votes
1 answer

Installing Agile Toolkit

Could someone please explain to me, how do I get Agile Toolkit up and running ? I've cloned atk4 repository to my machine, moved it to my MAMP's webroot. When I access it from my browser http://localhost/my_app I see 403 error. Does it mean there's…
2
votes
1 answer

how to use my own form structure in agile toolkit?

in agile toolkit we only can change the form style but is it possible to change the form body and it's structure? I want to change HTML... something like this: $form->htmlsource();
webelizer
  • 418
  • 2
  • 11
2
votes
2 answers

need simple examples for hasone and hasmany usage

I have watched the movies and read the documents but I can't understand the usage of hasone and hasmany in agile toolkit! can anybody give me some simple examples for these? Thanks.
webelizer
  • 418
  • 2
  • 11
2
votes
1 answer

Captcha plugin for Agiletoolkit

Is there any addon which adds captcha to Form_Field? Like $f = $this->add('Form'); $f->addField('Line','captcha')->addCaptcha();
Vadym
  • 749
  • 3
  • 15
2
votes
1 answer

How to connect to a SQLite DB with Agile Toolkit 4?

I'd like to use SQLite3 with Agile Toolkit. I found it in the documentation that the SQLite driver is included with atk4, but I couldn't find any examples of how to connect to a SQLite DB. I tried to change the DB connection of the example…
richk
  • 1,719
  • 3
  • 12
  • 12
2
votes
1 answer

How to add Form into the CompleteLister ATK4

I want to add a simple form to each row of CompleteLister. I've tried this: add('Lister_Comment',null,'comm_list_spot','comm_list_spot'); …
Kostiantyn
  • 1,792
  • 2
  • 16
  • 21
2
votes
1 answer

How to set default value in dropdown

I have a form with a drop down that has a list of states set like this. $this->addfield('State','state')->setValueList(array('Alabama', 'Alaska', 'Arizona', 'Arkansas', 'California', 'Colorado', 'Connecticut', 'Delaware', 'Florida', 'Georgia',…
Ralanyo
  • 61
  • 9
2
votes
1 answer

Setting makeSortable() on a grid column does not work as intended

I have just started using Agile Toolkit 4.2.0 for a simple CRUD web application, and so far I'm very impressed with the framework, except that I can't get column sorting to function properly. Updating the dvdrental page/video.php example with an…
ultrafunk
  • 21
  • 2
1
2 3 4 5