Project

General

Profile

Actions

Feature #17150

closed

webPageTree: wrap each line/page in pagetree with div elements

Added by Kirill Klimov about 17 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2007-03-23
Due date:
% Done:

0%

Estimated time:
PHP Version:
4.3
Tags:
Complexity:
Sprint Focus:

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

Trees.wrap.diff (3.22 KB) Trees.wrap.diff Administrator Admin, 2007-03-30 12:27
Trees.wrap_v2.diff (3.5 KB) Trees.wrap_v2.diff Administrator Admin, 2007-03-30 16:57

Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Feature #20304: Make it possible to style a hover color for pagetree itemsClosedSteffen Kamper2009-04-11

Actions
Actions #1

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.

Actions #2

Updated by Dmitry Pikhno about 17 years ago

+1
i have ideas about some extensions where this patch could be pretty useful.

Actions #3

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

Actions #4

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.

Actions #6

Updated by Benni Mack about 14 years ago

Duplicate of 10892 which was included in TYPO3 4.3

Actions

Also available in: Atom PDF