[TYPO3-english] CoolURI and URL conflicts

Jan Bednarik info at bednarik.org
Wed Sep 12 08:20:03 CEST 2012


Hi Daniel,

exactly, if 2 "ugly" URLs differ, then Cool URLs can differ too. If they 
are the same, then ... well, then it's the same file, page, whatever.

Regards

Jan

Dne 11.9.2012 10:02, Daniel Lundsgaard Skovenborg napsal(a):
> 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
>



More information about the TYPO3-english mailing list