FAQ

Hook: php_admin_pages_sql


Use this hook to execute PHP code in the admin/page.php file on two locations. This hook is located when edit or create a new page.For example:if (empty($news) && !empty($defaults['jak_shownewsmany'])) ...

Read more

Hook: php_admin_fulltext_remove


Use this hook to execute PHP code in the admin/setting.php file.For example:$jakdb->query('ALTER TABLE '.DB_PREFIX.'pages DROP INDEX `title`');

Read more

Hook: php_admin_fulltext_add


Use this hook to execute PHP code in the admin/setting.php file.For example:$jakdb->query('ALTER TABLE '.DB_PREFIX.'pages ADD FULLTEXT(`title`, `content`)');

Read more

Hook: php_admin_index


Use this hook to execute PHP code in the admin/index.php file.This hook is located when you open the administration panel.For example:$JAK_CMS_VERSION = $jaknewversion;$JAK_CMS_NEWS = $jaknewnews;if you like ...

Read more

Hook: php_admin_user_edit


Use this hook to execute PHP code in the admin/user.php file.For example:$plugin_user_edit = Display stuff when edit user;if you like to include a file:APP_PATH.'plugins/yourplugin/file_to_include.php';

Read more

Hook: php_admin_user


Use this hook to execute PHP code in the admin/user.php file.For example:$plugin_user = Display stuff when showing user in admin;if you like to include a file:APP_PATH.'plugins/yourplugin/file_to_include.php';

Read more

Hook: php_admin_setting_post


Use this hook to execute PHP code in the admin/setting.php file.For example:if ($defaults['jak_lang'] == '') { $errors['e6'] = $tl['error']['e29']; }

Read more

Hook: php_admin_setting


Use this hook to execute PHP code in the admin/setting.php file.For example:$plugin_setting = working...;if you like to include a file:APP_PATH.'plugins/yourplugin/file_to_include.php';

Read more

Hook: php_admin_lang


Use this hook to execute PHP language code in the admin/index.php file.For example:if (file_exists(APP_PATH.'plugins/yourplugin/admin/lang/'.$jkv[lang].'.ini')) { $tld = ...

Read more

Hook: php_admin_user_delete_mass


Use this hook to execute PHP code in the admin/user.php file.For example:$jakdb->query('UPDATE '.DB_PREFIX.'faqcomments SET userid = 0 WHERE userid = '.$page2.'');if you like to include a ...

Read more