Knowledgebase: Support
How to add a new function?
Posted by Lena Kosyakova on 20 January 2010 12:47 PM
You need to modify the \system\modules\classifieds\config.php file.

Add the function as the ones listed there:

'my_func' => array
'display_name' => 'My Function',
'script' => 'my_func.php',
'type' => 'admin', // or 'user' in case users can access this function
'access_type' => array('admin', 'user'), // specify admin OR user in case you want to limit the access

and place it to:
\system\admin-scripts\classifieds\ and/or

In case the config.php is not in the /classifieds/ module, then you need to select a relative folder.
(234 votes)
This article was helpful
This article was not helpful

Comments (0)
Post a new comment 
Full Name:
CAPTCHA Verification 
Please enter the text you see in the image into the textbox below. This is required to prevent automated registrations and form submissions.

Help Desk Software by Kayako Fusion