Hay alguna manera de deshabilitar la edición de noticias desde el front-end para un Joomla 1.0.15?

Esto es algo muy necesario cuando solo quieras permitir la edición de noticias desde el panel de control. El único camino que conozco para conseguir esto es mediante un hack en el fichero content.html.php.

La manera de hacerlo es ir a la línea de código 631 of content.html.php y eliminar el texto que aparece más abajo en rojo, el icono de edición ya no aparecerá más en el fronted. Después de eliminar esta línea y las que aparecen a continuación 88-90, 293-295, 490-493, 627, 634, and 641 ya nadie puede editar noticias. Es un hack un poco sucio pero funciona.

Como siempre realizar una copia de seguridad antes de realizar cambios

En el fichero:

joomla_root/components/com_content/content.html.php

<td class="contentheading<?php echo $params->get( 'pageclass_sfx' ); ?>" width="100%">
<?php echo $row->title;?>
<?php HTML_content::EditIcon( $row, $params, $access ); ?> <-- eliminar esta línea



JoomlaEmpresa.es is not affiliated with or endorsed by the Joomla! Project or Open Source Matters. The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries. Copyright © 2017 Joomla Empresa. Joomla! es software libre, liberado bajo la GNU General Public License.

We use cookies

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.