How To Truly Delete Pages in MODx Como se realmente apagar páginas em MODx
MODx is an excellent AJAX enabled content management system MODx AJAX permitiu que é um excelente sistema de gerenciamento de conteúdo , which is leagues ahead of Joomla / Mambo. , Que está à frente de ligas Joomla / Mambo. One of the features of MODx is that pages aren’t fully deleted. Uma das características do MODx é que as páginas não são completamente excluída. They are marked as deleted (displayed as strike-through items ) and they are not displayed on the web. Eles são marcados como apagados (apresentado como greve-através de itens) e eles não são exibidos na web. However they still remain in the database. No entanto eles ainda permanecem na base de dados. This is a great feature to prevent accidental deletion. Este é um grande recurso para evitar apagamento acidental. However sometimes you really need to delete pages to reduce the clutter and prevent conflicting aliases. No entanto, por vezes você realmente precisa apagar páginas de reduzir o lixo e evitar conflito apelidos. Here is how you can truly (and irrevocably) delete pages from the database. Aqui está como você pode realmente (e irrevogavelmente) apagar páginas do banco de dados.
You will need to login to mysql using mysql command line or phpMyAdmin. Você será necessário acessar a linha de comando mysql usando o MySQL ou phpMyAdmin.
Steps: Passos:
1. Find the id of the page you want to delete (provided within bracket). Encontre o id da página que pretende eliminar (fornecido suporte dentro).
2. Execute the query: Executa a consulta:
delete from modx_site_content where id = your_id excluir da modx_site_content onde id = your_id
Note: You can also delete using the page title: Observação: Você também pode apagar usando a página título:
delete from modx_site_content where pageTitle = ‘ page_title ‘; excluir da modx_site_content onde PAGETITLE = 'page_title';
Disclaimer: Use the above at your own risk. Aviso: Utilize o acima exposto a seu próprio risco. You may lose data if you are careless. Você pode perder dados se você for negligente.
Jay (see comment below) gave a much better and simpler solution. Jay (ver comentário abaixo) deu uma solução muito melhor e mais simples. 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.” Em suas palavras - "Ela pode não ser evidente a partir do gerente, mas você pode facilmente purge suprimido documentos (permanente) a partir da árvore, clicando no ícone de lata de lixo no gerente."
Filed under Arquivado em CMS Software CMS Software , De Enterprise Software Enterprise Software , De Headline News Headline News , De How To How To , De Joomla , De Mambo , De Open Source Software Open Source Software , De Web , De Web 2.0 Web 2,0 | |
| |
RSS 2.0 RSS 2,0 | |
Trackback this Article | este artigo |
Email this Article E-mail este artigo
You may also like to read Você pode também gosta de ler |




December 17th, 2007 at 7:42 am 17 de dezembro de 2007 em 7:42 am
Glad to see that you are enjoying MODx. Satisfeitos em ver que você está desfrutando MODx. I have deployed dozens of sites using MODx since 0.9.2. Tenho mobilizados dezenas de sites usando 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. Ela pode não ser evidente a partir do gerente, mas você pode facilmente purge suprimido documentos (permanente) a partir da árvore, clicando no ícone de lata de lixo no gerente. This is the purge command and all deleted documents will no longer be in the tree and cannot be undone. Este é o comando purge suprimidos todos os documentos e não será mais na árvore e não pode ser desfeita. Alot easier than using phpMyAdmin. Muito mais fácil do que usando o phpMyAdmin.
Hope this helps, Espero que ajude,
Jay
December 18th, 2007 at 10:31 am 18 de dezembro de 2007 em 10:31 am
Thanks for the simpler solution. Graças à solução mais simples.