Search found 2 matches
- 26 Jan 2024, 11:39
- Forum: General Plugin Discussion
- Topic: Problem with Plugin (EVENT & USER)
- Replies: 2
- Views: 11206
Re: Problem with Plugin (EVENT & USER)
working, thank you:)
- 24 Jan 2024, 11:10
- Forum: General Plugin Discussion
- Topic: Problem with Plugin (EVENT & USER)
- Replies: 2
- Views: 11206
Problem with Plugin (EVENT & USER)
hello everyone,
i have problem with custom plugin
i have hook:
function hooks() {
return array(
'EVENT_LAYOUT_RESOURCES' => 'process_load_css',
);
}
function process_load_css($p_event) {
$user_id = auth_get_current_user_id(); // <------ here crash application if user is not logged
if ...
i have problem with custom plugin
i have hook:
function hooks() {
return array(
'EVENT_LAYOUT_RESOURCES' => 'process_load_css',
);
}
function process_load_css($p_event) {
$user_id = auth_get_current_user_id(); // <------ here crash application if user is not logged
if ...