FAQ - CMS

Hook: tpl_header


This hook is located in between the header, display advertising, buttons or whatever you like next to the logo.You can include a file, for example:plugins/yourplugin/template/css.php

Read more

Hook: tpl_between_head


This hook is located between thetag.You can include a file, for example:plugins/yourplugin/template/css.php

Read more

Hook: tpl_body_top


Template Hook: tpl_body_topYou can include a file on the very top in the template. This hook is located between theand the very firstYou can include a file, for example:plugins/yourplugin/template/body_top.php

Read more

Hook: php_admin_pages_news_info


Use this hook to execute PHP code in the admin/page.php and admin/news.php file.For example:$JAK_GET_TICKETING = jak_get_page_info(DB_PREFIX.'tickets', '');if you like to include a ...

Read more

Hook: php_admin_news_sql


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

Read more

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