Changes to ALP (v1)

I really need to keep track of all the changes I make to the original ALP script because it may provide difficult to find out afterwards… It’s one big mess :D

Display (Used to display tables. Used in: users / console list / …)

The display has been modified the following way:

  • You can now specify separate queries for each group you define. This way, it doesn’t matter that much what you specify in the constructor. If you set a query, it will be used for group 0. (backward compatibility anyone?)
  • You can specify html code to insert into the table before displaying cells. You can add some colgroup(s) with markup here for example.
  • The possibility to have a group title is also possible now.
  • The ability to use custom cell renderers to render a certain field value (default fields are also supported).
  • Note: You can also use strings for adding different groups. The default group should always use 0 though.

Universal (used for almost everything that involves a form)

  • Added support for multiple forms on the same page. works only with the display() function that checks what form name is specified before processing. You can also copy this method and adjust it to fit your needs.

Tags: , ,

Leave a Reply