ElkArte Community

Title: I want Disable Help File
Post by: shasha on July 20, 2015, 02:59:59 am
Hello,

Please how can i disable the Help link found at the top of my forum?

I want o write custom help file for my users.

Thanks.

I have attached the image.
Title: Re: I want Disable Help File
Post by: emanuele on July 20, 2015, 02:40:43 pm
The help entry is controlled but:
Code: [Select]
					'help' => array(
'title' => $txt['help'],
'href' => $scripturl . '?action=help',
'show' => true,
),
in Subs.php.
You can just change true to false and it should disappear.
Title: Re: I want Disable Help File
Post by: Joshua Dickerson on July 21, 2015, 12:01:55 pm
You can create an easy addon that hooks in to integrate_actions in SiteDispatcher that will change the controller for that.

Or you can just use integrate_action_help_after and change the context variable for wiki_url and manual_sections.

OR, you can just change the template. It is much easier.

Though, the question is to disable the help link, which emanuele answered. Although, in the future, an upgrade will break that. So, you should be using a hook there.
Title: Re: I want Disable Help File
Post by: shasha on July 24, 2015, 03:14:12 am
Quote from: Joshua Dickerson – You can create an easy addon that hooks in to integrate_actions in SiteDispatcher that will change the controller for that.

Or you can just use integrate_action_help_after and change the context variable for wiki_url and manual_sections.

OR, you can just change the template. It is much easier.

Though, the question is to disable the help link, which emanuele answered. Although, in the future, an upgrade will break that. So, you should be using a hook there.

i used emanuele's option. Thanks @Joshua Dickerson