Hi all,
I’am trying to create my own module. The CP part is ready and works. But now i want to create a tag to implement on the front side.
When i use {exp:custom_groups} i get a blank page but no error. I would expect that the small example below would display “kevin”.
Maybe somebody can provide me with more information on how to do this.
if ( ! defined('EXT'))
{
exit('Invalid file request');
}
// -----------------------------------------
// Begin class
// -----------------------------------------
class Custom_groups
{
var $return_data= '';
// -------------------------------
// Constructor
// -------------------------------
function Custom_groups()
{
global $TMPL;
return this->return_data .= "kevin";
}
// END
}