Feature #24878

Add first and last attribute in sitemap content type

Added by Simon Schaufelberger over 8 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2011-01-28
Due date:
% Done:

0%

PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

currently the sitemap just shows a unordered list with no default classes for first and last item. overwriting is quite complex so add classes by default.

(issue imported from #M17389)

History

#1 Updated by Jo Hasenau over 8 years ago

This is a feature request then?

#2 Updated by Simon Schaufelberger over 8 years ago

yes, how can i mark it here as a change request?

#3 Updated by Jo Hasenau over 8 years ago

After posting it, you can only change it, when you are a core developer.

But you can mark bugs as "feature" instead of "minor" in the report form before sending them.

#4 Updated by Georg Ringer over 8 years ago

  • Tracker changed from Bug to Feature
  • Target version deleted (0)
  • TYPO3 Version set to 4.5

#5 Updated by Georg Ringer over 8 years ago

  • Category set to TypoScript

#6 Updated by Mathias Schreiber over 4 years ago

  • Status changed from New to Needs Feedback
  • Assignee set to Mathias Schreiber

Hi Simon,

do you have a proposed snipplet at hand?

#7 Updated by Alexander Opitz over 4 years ago

  • Status changed from Needs Feedback to Closed
  • Assignee deleted (Mathias Schreiber)

No feedback within the last 90 days => closing this issue.

If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.

#8 Updated by Simon Schaufelberger over 4 years ago

  • Status changed from Closed to New
  • Assignee set to Simon Schaufelberger

#9 Updated by Susanne Moog about 4 years ago

  • Status changed from New to Needs Feedback

Hey,

maybe I don't get it but:

"overwriting is quite complex" - isn't overwriting just adding one line of TS?:

tt_content.menu.20.2.1.NO.wrapItemAndSub = <li class="first">|</li>|*|<li>|</li>|*|<li class="last">|</li>

(and one line for each additional level:

tt_content.menu.20.2.2.NO.wrapItemAndSub < tt_content.menu.20.2.1.NO.wrapItemAndSub

)

I don't really consider this complex, but maybe I just understood it wrong.

#10 Updated by Alexander Opitz almost 4 years ago

  • Status changed from Needs Feedback to Closed
  • Assignee deleted (Simon Schaufelberger)

No feedback within the last 90 days => closing this issue.

If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.

Also available in: Atom PDF