Feature #17150
closedwebPageTree: wrap each line/page in pagetree with div elements
0%
Description
For now PageTree HTML structure looks like this:
<ul>
<li>page 1
<ul>
<li>subpage 1
</li>
</ul>
</li>
</ul>
I suggest to add div wrappings arround each page itself, but not subpages, so it would looks like this:
<ul>
<li><div>page 1</div>
<ul>
<li><div>subpage 1</div>
</li>
</ul>
</li>
</ul>
This way we would be able to manipulate page tree elements itself (not touching childs).
Attached patch is doing this.
Patch is against Revision: 2197 of trunk (from today)
(issue imported from #M5285)
Files
Updated by Kirill Klimov about 17 years ago
Old patch (class.webpagetree.php.diff) is not complete - please DELETE it.
Here is new patch (Trees.wrap.diff) which modifies class.webpagetree.php, class.filelistfoldertree.php (to fix also FileList) and tree.js (to make collapsing working). Patch is against revision 2230.
Updated by Dmitry Pikhno about 17 years ago
+1
i have ideas about some extensions where this patch could be pretty useful.
Updated by Kirill Klimov about 17 years ago
Update tree.js fixing one problem,
so LATEST PATCH is Trees.wrap_v2.diff (against revision 2233)
Please, delete class.webpagetree.php.diff and Trees.wrap.diff
Updated by Benni Mack about 17 years ago
Hey, looks useful.
I hope to get something like this in 4.2, since I'm gonna do some changes to the pagetree anyway.
I'll keep you posted.
Updated by Benni Mack about 14 years ago
Duplicate of 10892 which was included in TYPO3 4.3