News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Ayuda para eliminar esto

Started by javijimenez, August 24, 2017, 04:27:07 PM

Previous topic - Next topic

javijimenez

Hola buenas quería saber como hacer desaparecer el apartado "Ayuda" de la barra del menú

d3vcho

En tu archivo Sources/Subs.php, busca y borra lo siguiente:

'help' => array(
'title' => $txt['help'],
'href' => $scripturl . '?action=help',
'show' => true,
'sub_buttons' => array(
),
),


Se encuentra en torno a la línea 3941.
"Greeting Death as an old friend, they departed this life as equals"

javijimenez

Quote from: d3vcho(); on August 24, 2017, 04:34:42 PM
En tu archivo Sources/Subs.php, busca y borra lo siguiente:

'help' => array(
'title' => $txt['help'],
'href' => $scripturl . '?action=help',
'show' => true,
'sub_buttons' => array(
),
),


Se encuentra en torno a la línea 3941.


Muchas gracias, solucionado  ;D

Suki

Te recomendaría no eliminar partes de código si se puede evitar. En este caso sólo tienes que cambiar el parametro "true" por "false"

'help' => array(
'title' => $txt['help'],
'href' => $scripturl . '?action=help',
'show' => false,
'sub_buttons' => array(
),
),


La razón para evitar borrar código es que algunos mods dependen de dicho código para poder realizar sus cambios, si lo eliminas los mods que dependen de el no podrán instalarse limpiamente. El uso de hooks mitiga este problema pero aún así hay todavía muchos mods que modifican directamente el código.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Advertisement: