How To Truly Delete Pages in MODx Cómo borrar páginas verdaderamente en MODx
MODx is an excellent AJAX enabled content management system MODx es un excelente AJAX permitió sistema de gestión de contenidos , which is leagues ahead of Joomla / Mambo. , Que está por delante de las ligas Joomla / Mambo. One of the features of MODx is that pages aren’t fully deleted. Una de las características de MODx es que las páginas no están completamente eliminado. They are marked as deleted (displayed as strike-through items ) and they are not displayed on the web. Están marcados como suprimido (como muestra la huelga-a través de artículos) y que no se muestran en la web. However they still remain in the database. Sin embargo, aún permanecen en la base de datos. This is a great feature to prevent accidental deletion. Esta es una gran característica para evitar el borrado accidental de borrado. However sometimes you really need to delete pages to reduce the clutter and prevent conflicting aliases. Sin embargo a veces que realmente se necesitan para suprimir las páginas para reducir el desorden y evitar conflictos de alias. Here is how you can truly (and irrevocably) delete pages from the database. Aquí está cómo puede realmente (y de manera irrevocable) suprimir las páginas de la base de datos.
You will need to login to mysql using mysql command line or phpMyAdmin. Usted tendrá que acceder a mysql usando mysql línea de comandos o phpMyAdmin.
Steps: Pasos:
1. Find the id of the page you want to delete (provided within bracket). Buscar la identificación de la página que desea eliminar (siempre dentro de brazo).
2. Execute the query: Ejecutar la consulta:
delete from modx_site_content where id = your_id suprimir de modx_site_content donde id = your_id
Note: You can also delete using the page title: Nota: También puede eliminar utilizando el título de la página:
delete from modx_site_content where pageTitle = ‘ page_title ‘; suprimir de modx_site_content donde pageTitle = 'page_title';
Disclaimer: Use the above at your own risk. Renuncia: Utilice el anterior a su propio riesgo. You may lose data if you are careless. Puede perder datos si usted está descuidado.
Jay (see comment below) gave a much better and simpler solution. Jay (véase el comentario a continuación) hizo una mucho mejor y más sencilla solución. In his words - “It may not be obvious from the manager but you can easily purge deleted documents (permanently) from the tree by clicking on the Garbage Can icon in the manager.” En sus palabras - "Es posible que no resulte evidente a juzgar por el administrador, pero usted puede fácilmente purga suprimido documentos (permanente) del árbol haciendo clic en el icono de Garbage Can en el manager."
Filed under Filed under CMS Software CMS Software , Enterprise Software Enterprise Software , Headline News Headline News , How To Cómo , Joomla , Mambo , Open Source Software Open Source Software , Web , Web 2.0 Web 2,0 | |
| |
RSS 2.0 RSS 2,0 | |
Trackback this Article | este artículo |
Email this Article Enviar artículo
You may also like to read También puede leer |




December 17th, 2007 at 7:42 am 17 de Diciembre, 2007 a las 7:42 am
Glad to see that you are enjoying MODx. Estamos encantados de ver que usted está disfrutando de MODx. I have deployed dozens of sites using MODx since 0.9.2. Me han desplegado decenas de sitios utilizando MODx desde 0.9.2. It may not be obvious from the manager but you can easily purge deleted documents (permanently) from the tree by clicking on the Garbage Can icon in the manager. Puede que no resulte evidente a juzgar por el administrador, pero usted puede fácilmente purga suprimido documentos (permanente) del árbol haciendo clic en el icono de Garbage Can en el manager. This is the purge command and all deleted documents will no longer be in the tree and cannot be undone. Esta es la purga de mando y suprimido todos los documentos ya no será en el árbol y no se puede deshacer. Alot easier than using phpMyAdmin. Mucho más fácil de usar phpMyAdmin.
Hope this helps, Espero que esta ayuda,
Jay
December 18th, 2007 at 10:31 am 18 de diciembre de 2007, a las 10:31 am
Thanks for the simpler solution. Gracias por la solución más simple.