Is it possible to have subpages in admin hidden until you click on a certain page or maybe to have a + sign to open subpages? The problem is, that i will be having more than 100 subpages and it will be hard to navigate.
You can add them display:none; attribute in css file and You will have to prepare JavaScript function which will change this attribute if You click specific link. I prepared this modification once. But it is not so simple and I can't give You prepared solution. You can look at function displayTab() in file core/common-admin.php it works in the same way to show tabs field on right side.
OK, it took an hour of think work and 10 minutes of writing code. Tevart, the solution is simple and "dirty" but the result sees only the admin. I added a link to the Id-number (left side in admin-pages-panel). So if you click on this Id, its children- & subchildren-pages appear (if present). Another "main" pages stay closed. If you click on another "main"-Id, its children wiil appear, another will be closed. The solution: In /templates/admin/pages.tpl in section BEGIN LIST find: $aData[iPage]
and exchange this with: <a href="?p=p-list&iMainSite=$aData[iPage]">$aData[iPage]</a>
In core/pages-admin.php in function listPagesAdmin find: if( isset( $this->aPagesChildrens[$aData['iPage']] ) )
and exchange this with: if( isset( $this->aPagesChildrens[$aData['iPage']] ) && $GLOBALS['iMainSite'] == $aData['iPage'] )
Thats all. Explanation: As you can see, by clicking on the Id, we send the iPage (number) to the global var iMainSite. Than, by listing the pages, the listSubpagesAdmin will be only called if the parent Page has childrend AND if its number is the clicked one.
:-) If you are lucky with this solution, so as a "thank you", zou can send me a nice photo-postcard (with a nice view from your town or environment) to the address: http://skupienie.kimla.de/?regulamin,4 on this site in point 6. you'll find my address.