Alternate content list
Posted: Fri Nov 04, 2005 10:02 pm
Hi,
I am working with a rather large amount of pages. If found it very hard to work with the "classical" page list (listcontent.php), so I created an alternate view. Note that its usage is slightly different from the original CMS view, but maybe some of you could tweak it in order to make it work in more usages. I had to remove the page move feature because it was just much too slow. I'll have to find an alternate way of doing it.
For now, I assume that pages must be created under a section header (which acts as a folder). Therefore, the view is now a delightful hierarchical tree view :

In order to install it, you'll have to add the following lines at line 106 of the addcontent.php file :
After
Insert
Then, rename listcontent.php to listcontent.old.php, and copy the content of the provided ZIP file into your admin directory (it will replace the listcontent.php file, and create a subdirectory called addons with some resources). Note that the attached file must be renamed to .zip.
[attachment deleted by admin]
I am working with a rather large amount of pages. If found it very hard to work with the "classical" page list (listcontent.php), so I created an alternate view. Note that its usage is slightly different from the original CMS view, but maybe some of you could tweak it in order to make it work in more usages. I had to remove the page move feature because it was just much too slow. I'll have to find an alternate way of doing it.
For now, I assume that pages must be created under a section header (which acts as a folder). Therefore, the view is now a delightful hierarchical tree view :

In order to install it, you'll have to add the following lines at line 106 of the addcontent.php file :
After
Code: Select all
$contentobj->mLastModifiedBy = $userid;
Code: Select all
if (isset($_GET["parent_id"])) {
$contentobj->mParentId = $_GET["parent_id"]; // quick and dirty patch
}
[attachment deleted by admin]