Creating beautiful URLs with Agile Toolkit

Tuesday, July 20th, 2010|Beginner tips, Version 3|by Romans|2 Comments

By default pages created with Agile Toolkit end with .html. I myself believe that this is a good extension because HTML is being passed over. However it is easy to use different URLs in Agile Toolkit, here is how

Read more

Tags: ,

Lightweight CMS in Agile Toolkit (video)

Friday, June 4th, 2010|Beginner tips, Version 3|by Romans|1 Comment

As my designer says – best way to break a great web design is to give CMS access to the client. Without any consideration for style they will star moving things around and break stuff. Often not willing to pay for a proper update they will continue to tweak themselves. So what’s the alternative?

There is some – contextual editing. In this post i’ll show how you can do it in ATK

Read more

Tags:

Reloading page with AJAX

Tuesday, June 1st, 2010|Beginner tips, Version 3|by Romans|2 Comments

I receive a lot of questions about how to reload page with Agile Toolkit in certain conditions. There are many approaches and I wanted to write a blog post just about that.
Read more

Tags: , , ,

How to extend JavaScript in Agile Toolkit

Saturday, May 1st, 2010|Beginner tips, Version 3|by Romans|4 Comments

This post continues to explain how to use JavaScript (JS) most efficiently in Agile Toolkit. Read first part first.
Read more

Tags: , ,

How JavaScript layer works in Agile Toolkit

Monday, April 26th, 2010|Beginner tips, Version 3|by Romans|1 Comment

Half year ago we have introduced jQuery / Chain into AModules3 (former name for Agile Toolkit). It allows us to clean up a lot of older code and at the same time give developers a way to do many new things in a flexible way.

Read more

Tags: , , ,

Ordering elements

Thursday, April 22nd, 2010|Beginner tips, Version 3|by Romans|3 Comments

In Agile Toolkit each object you add is inserted as a child to some other object. They end up in $object->elements array, however there is no easy way to rearrange it.

Read more

Tags: , ,

How to select elements in a grid?

Thursday, April 22nd, 2010|Beginner tips, Version 3|by Romans|5 Comments

Let’s say you want user to be able and select multiple elements in a grid. This can’t be done directly, because grid is supposed to list elements, it shouldn’t be built to intact with it. However grid can be extended and joined with the functionality of the Form to do what’s required.

You can see a working example here: http://atk4.agiletech.ie/grid/selectable.html

Read more

Tags: , ,

New Grid Column Types – "button" and "ask"

Thursday, April 22nd, 2010|Beginner tips, Version 3|by Romans|4 Comments

With the migration to jQuery (UI) we have received lot of new fancy functionality, but some of the old things stopped worked too. However old stuff is fixable, and if there is anything – please let me know by commenting and I’ll give it a fix.

This tip explains how you can add buttons to the grid. You can see working demo here:

http://atk4.agiletech.ie/grid_columns.html

Read more

Tags: ,

Introduction to dialog() integration.

Wednesday, April 21st, 2010|Beginner tips, Version 3|by Romans|2 Comments

jQuery UI have a good support for dialogs and windows. Agile Toolkit 4 takes it to the next level. Most importantly it manages to create contents of the boxes on the fly. Let’s review what we have.
Read more

Tags: ,

univ().ajaxify() method

Wednesday, April 21st, 2010|Beginner tips, Version 3|by Romans|

The other day I have added this method for skai, but it’s actually a very curious one.

Agile Toolkit 4 uses atk4_loader widget for AJAX requests. Syntax is very similar to jQuery:

  • jQuery: $(‘#div’).load(‘url’);
  • atk4:  $(‘#div’).atk4_load(‘url’);

Read more

Tags: ,