How To Truly Delete Pages in MODx Come veramente eliminare pagine in MODx
MODx is an excellent AJAX enabled content management system MODx è un eccellente AJAX abilitato sistema di gestione dei contenuti , which is leagues ahead of Joomla / Mambo. , Che è davanti a campionati Joomla / Mambo. One of the features of MODx is that pages aren’t fully deleted. Una delle caratteristiche della MODx è che le pagine non sono del tutto eliminato. They are marked as deleted (displayed as strike-through items ) and they are not displayed on the web. Essi sono marcati come cancellati (visualizzato come sciopero-attraverso oggetti) e non sono visualizzati sul web. However they still remain in the database. Tuttavia essi rimangono nel database. This is a great feature to prevent accidental deletion. Questa è una grande funzione per impedire l'eliminazione accidentale. However sometimes you really need to delete pages to reduce the clutter and prevent conflicting aliases. Tuttavia a volte si ha realmente bisogno per eliminare le pagine di ridurre l'ingombro e prevenire conflitti di alias. Here is how you can truly (and irrevocably) delete pages from the database. Ecco come si può davvero (e irrevocabilmente) eliminare le pagine dal database.
You will need to login to mysql using mysql command line or phpMyAdmin. Hai bisogno di accesso a MySQL usando mysql riga di comando o phpMyAdmin.
Steps: Procedura:
1. Find the id of the page you want to delete (provided within bracket). Trovare l'id della pagina che si desidera eliminare (fornite entro staffa).
2. Execute the query: Eseguire la query:
delete from modx_site_content where id = your_id eliminare dal modx_site_content dove id = your_id
Note: You can also delete using the page title: Nota: È anche possibile eliminare utilizzando il titolo della pagina:
delete from modx_site_content where pageTitle = ‘ page_title ‘; eliminare dal modx_site_content dove PAGETITLE = 'page_title';
Disclaimer: Use the above at your own risk. Clausola di esclusione della responsabilità: Utilizzare il sopra a tuo rischio e pericolo. You may lose data if you are careless. È possibile perdita di dati se si è imprudentemente.
Jay (see comment below) gave a much better and simpler solution. Jay (vedi commento qui sotto) ha dato molto migliore e più semplice soluzione. 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.” Nelle sue parole - "Potrebbe non essere evidente dal gestore, ma si può facilmente spurgo soppresso documenti (permanentemente) da l'albero facendo clic sul Garbage Posso icona del gestore."
Filed under Elencato sotto CMS Software CMS Software , Enterprise Software Enterprise Software , Headline News Headline News , How To Come , Joomla , Mambo , Open Source Software Software open source , Web , Web 2.0 2,0 web | |
| |
RSS 2.0 RSS 2,0 | |
Trackback this Article | questo articolo |
Email this Article Invia questo articolo
You may also like to read Si può anche leggere come |




December 17th, 2007 at 7:42 am 17 Dicembre 2007 alle 7:42 am
Glad to see that you are enjoying MODx. Felice di vedere che siete godendo MODx. I have deployed dozens of sites using MODx since 0.9.2. Ho dispiegato decine di siti che utilizzano MODx dal 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. Esso non può essere evidente dal gestore, ma si può facilmente spurgo soppresso documenti (permanentemente) da l'albero facendo clic sul Garbage Posso icona del gestore. This is the purge command and all deleted documents will no longer be in the tree and cannot be undone. Questo è il comando di spurgo e di tutti i documenti cancellati non saranno più in albero e non può essere annullata. Alot easier than using phpMyAdmin. Molto più facile che utilizzando phpMyAdmin.
Hope this helps, Hope this helps,
Jay
December 18th, 2007 at 10:31 am 18 dicembre 2007 alle 10:31
Thanks for the simpler solution. Grazie per la soluzione più semplice.