Jump to content

Custom (record) actions

From NusaATK
Revision as of 00:49, 21 June 2007 by LimUsy (talk | contribs)

ATK Howto: Custom (record) actions

Complexity: Advanced
Author: Boy Baukema <boy@ibuildings.nl>

List of other Howto's

Defining your own action

Defining your own action for your node is quite easy in ATK, you can do so simply by implementing a function called action_actionname.
Example where we also output our own 'Hello World' page, just like a normal ATK action page:

  function action_showhelloworld()
  {
    $page =