[TYPO3-english] CoolURI and URL conflicts
Daniel Lundsgaard Skovenborg
waldeinburg at gmail.com
Tue Sep 11 10:02:45 CEST 2012
2012/9/11 Björn Pedersen <pedersen at frm2.tum.de>:
> Am 10.09.2012 22:31, schrieb Daniel Lundsgaard Skovenborg:
>> Hi,
>>
>> Sorry, if this obvious problem has already been discussed, but I could
>> not find anything on Google.
>> If two different DirtyURIs translate to the same CoolURI, then ideally
>> something like "-#" (where -# is a number) should be added to the end,
>> I think. Is CoolURI currently capable of this? Certain parameters
>> (like cHash) should be ignored, of course.
>>
>> Of course, pages with the same name and the same parent would be a
>> very bad structure. But for a downloads section it actually makes
>> sense to have downloads with the same name if it's the same file in
>> different formats, and there's no confusion as long as there's
>> different icons for the formats next to the names. E.g.
>> [pdf-icon] Manual
>> [doc-icon] Manual
> Hi,
>
> That is the displayed part, so in html it should look like:
> <a href="link with extension/format indicator"><img>Text </a>
> Do not display just the "raw" urls.
>
> So the CoolURIshould be different.
>
> Björn
>
Good idea. So instead of constructing the CoolURI from the label only
I should also retrieve the filename from the ab_downloads record.
- Daniel
--
http://waldeinburg.dk
More information about the TYPO3-english
mailing list