Customizing SMF > SMF Coding Discussion

[TIP/TRICK] How to replace the Help button link with my forum rules link?

(1/3) > >>

Vahid‎‎ ‎Damanafshan:
How to replace the Help button link with my forum rules link in SMF 2.0.2?

K@:
Rewrite Help.php, in the "Sources" directory?

Yoshi:
Can you attach your Sources/Subs.php file, please, and give us the URL you want the button to point to?

K@:
Or that. :P

Vahid‎‎ ‎Damanafshan:

--- Quote from: Yoshi2889 on May 23, 2012, 03:05:41 PM ---Can you attach your Sources/Subs.php file, please, and give us the URL you want the button to point to?

--- End quote ---
Thank you for your reply. Here is the code that as far as I know should do the job:

--- Code: --- 'help' => array(
'title' => $txt['help'],
'href' => $scripturl . '?action=help',
'show' => true,
'sub_buttons' => array(
),*/
‎‎
--- End code ---
and here is the URL: http://www.example.com/forum/index.php?topic=14.0

Navigation

[0] Message Index

[#] Next page

Go to full version