Tags

HOOK - Tags

Hook: php_search

Use this hook to execute PHP code in the search.php file.For example:if ($SearchInput) { echo Your search term: .$SearchInput; }if you like to include a file:APP_PATH.'plugins/yourplugin/file_to_include.php';

Read more

Hook: php_tags

Use this hook to execute PHP code in the tags.php file.For example:if ($cleanTag) { echo Your tag: .$cleanTag; }if you like to include a file:APP_PATH.'plugins/yourplugin/file_to_include.php';

Read more

Hook: php_sitemap

Use this hook to execute PHP code in the sitemap.php file.For example:if ($cat) { echo Categories: .$cat; }if you like to include a file:APP_PATH.'plugins/yourplugin/file_to_include.php';

Read more

Hook: php_index_top

Use this hook to execute PHP code in the index.php file before anything else.For example:define('MY_VAR', cool);if you like to include a file:APP_PATH.'plugins/yourplugin/file_to_include.php';

Read more

Hook: php_index_bottom

Use this hook to execute PHP code at the very end in the index.php file.For example:if (isset($page3)) { echo CMS is ready...; } else { echo CMS is always ready...; }if you like to include a ...

Read more

Hook: php_rss

Use this hook to execute PHP code in the rss.php file.For example:if ($displayRSS) { echo My RSS: .$displayRSS; }if you like to include a file:APP_PATH.'plugins/yourplugin/file_to_include.php';

Read more

Hook: php_lang

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

Read more

Hook: php_pages_news

Use this hook to execute PHP code in the index.php and news.php file.This hook is used in pages and news, the same php code will be executed.For example:if (!empty($PAGE_ACTIVE)) { $myplugin = 1; }if you like ...

Read more

Hook: php_admin_usergroup

Use this hook to execute PHP code in the admin/usergroup.php file.For example:if (isset($defaults['jak_download'])) { $insert .= 'download = '.$defaults['jak_download'].', downloadpost = ...

Read more

Hook: php_admin_user_rename

Use this hook to execute PHP code in the admin/user.php file.For example:$jakdb->query('UPDATE '.DB_PREFIX.'faqcomments SET username = '.smartsql($defaults['jak_username']).' WHERE userid = ...

Read more

Hook: php_admin_user_delete

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

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

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_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_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_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_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_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_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_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_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_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_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: 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: 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_below_header

This hook is located below the header, display advertising, buttons or whatever you like below the navigation and logo.You can include a file, for example:plugins/yourplugin/template/advert.php

Read more

Hook: tpl_sidebar

This hook is in the sidebar and does work together with the grid/widget system, display advertising, buttons or whatever you like in the sidebar.You can include a file, for ...

Read more

Hook: tpl_page

This hook is located in template/yourtemplate/page.php and will be executed between title and content.You can include a file, for example:plugins/yourplugin/template/page.php

Read more

Hook: tpl_footer

This hook is located in template/yourtemplate/footer.php and will be executed at the very beginning in the footer template.You can include a file, for example:plugins/yourplugin/template/footer.php

Read more

Hook: tpl_footer_end

This hook is located in template/yourtemplate/footer.php and will be executed at the very end just before the tag.You can include a file, for example:plugins/yourplugin/template/end.php

Read more

Hook: tpl_tags

This hook is located in template/yourtemplate/tags.php and will be executed to display your plugin tags.You can include a file, for example:plugins/yourplugin/template/tags.php

Read more

Hook: tpl_sitemap

This hook is located in template/yourtemplate/sitemap.php and will be executed to display your plugin sitemap list.You can include a file, for example:plugins/yourplugin/template/sitemap.php

Read more

Hook: tpl_search

This hook is located in template/yourtemplate/search.php and will be executed to display your plugin search result.You can include a file, for example:plugins/yourplugin/template/mysearchresult.php

Read more

Hook: tpl_page_news_grid

This hook is located in template/yourtemplate/page.php / template/yourtemplate/newsart.php and will be executed to display your plugin grid result.You can include a file, for example:if ($pg['pluginid'] == ...

Read more

Hook: tpl_admin_usergroup

This hook is located in admin/template/editusergroup.php and will be executed to display your plugin user-group permission.You can include a file, for example:plugins/yourplugin/template/usergroup_new.php

Read more

Hook: tpl_admin_setting

This hook is located in admin/template/setting.php and will be executed to display your plugin settings.You can include a file, for example:plugins/yourplugin/template/my_setting.php

Read more

Hook: tpl_admin_head

This hook is located in admin/template/header.php and will be executed for your css or javascript files needed for your plugin.You can include a file, for ...

Read more

Hook: tpl_admin_footer

This hook is located in admin/template/footer.php and will be executed at the very end just before the tag.You can include a file, for example:plugins/yourplugin/template/my_copyright.php

Read more

Hook: tpl_admin_page_news

This hook is located in admin/template/footer.php and will work together with the grid system, you can use PHP and HTML code.You can include a file, for example:if ($pg['pluginid'] == JAK_PLUGIN_FAQ) ...

Read more

Hook: tpl_admin_page_news_new

This hook is located in admin/template/footer.php and will be executed to display new plugin stuff in the grid system.You can include a file, for example:plugins/faq/admin/template/connect_new.php

Read more

Hook: tpl_admin_user

This hook is located in admin/template/newuser.php.You can include a file, for example:plugins/yourplugin/template/more_user_information.php

Read more

Hook: tpl_admin_user_edit

This hook is located in admin/template/edituser.php.You can include a file, for example:plugins/yourplugin/template/more_user_information_edit.php

Read more

Hook: tpl_admin_index

This hook is located in admin/template/index.php and is made for displaying news about your plugin.You can include a file, for example:plugins/yourplugin/template/news_on_index.php

Read more

Hook: php_index_page

Use this hook to execute PHP code in the index.php file between the page.For example:// Confirm user if ($page == 'rf_ual') { if (is_numeric($page1) && is_numeric($page2) && ...

Read more

Hook: php_admin_widgets_sql

This hook enables to fire some sql in the admin widgets section.$getpoll = $JAK_GET_POLL = jak_get_page_info(DB_PREFIX.'polls', '');

Read more

Hook: tpl_below_content

This is the brother from the below_header hook. You can close some divs or add some extra stuff that doesn't fit in the main section.

Read more

Hook: tpl_footer_widgets

Place some widgets dynamically in the footer. This is an example how igrid used this hook:<?php if (is_numeric(JAK_BCONTENT1_IGRID_TPL)) {   <br ...

Read more
47 result(s) were found.