Project

General

Profile

Actions

Bug #15132

closed

simulateStaticDocuments = 1 and Typo3Browser for Link insertion

Added by svobi over 18 years ago. Updated almost 18 years ago.

Status:
Closed
Priority:
Should have
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2005-10-20
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

when i insert a link via rte to another page in the same tree, the resulting accessibility enhanced link in FE has an href="?id=123" instead of a nice alias like href="contact.html".

so i searched the .js files of htmlarea how these links are generated.

i've found the js function

function link_typo3Page(id,anchor) {
....
}

which triggers

editor.renderPopup_addLink(theLink,cur_target,cur_class,cur_title);

and then htmlarea creates the link always with ?id=123 instead of /contact.html

ps: stanislas your htmlarea integration ROCKS.

(issue imported from #M1696)


Related issues 3 (0 open3 closed)

Has duplicate TYPO3 Core - Bug #15131: simulateStaticDocuments = 1 and Typo3Browser for Link insertionClosed2005-10-20

Actions
Is duplicate of TYPO3 Core - Bug #15192: internal links do not work with simulateStaticDocumentsClosed2005-11-09

Actions
Has duplicate TYPO3 Core - Bug #16142: Popup-Problem wenn Text im Title-Feld stehtClosedStanislas Rolland2006-05-11

Actions
Actions #1

Updated by Stanislas Rolland over 18 years ago

I would think that if you erase the title attribute, the link will be correctly rendered.

Please confirm.

This is because typolink does not support the the title attribute.

You may want to vote for this Gremlin:
http://typo3.org/development/projects/zap-the-gremlins/gremlin-overview/?tx_gremlincollector_pi1%5BshowUid%5D=1660&cHash=babf44d58a

Actions #2

Updated by svobi over 18 years ago

confirmed, thank you, will vote.

after i inserted a link via linkbrowser and deleted the title and class attributes, the link in RTE looks like:

<a href="http://www2.gosu.ch/?id=36&quot;>

in FE:

<a href="/kunst_lebenslauf_gosu.html">

this is the desired behavior, but without nice title=

but wait, is the class= attribute the next problem ? or is this supported with typolink ?

Actions #3

Updated by Stanislas Rolland over 18 years ago

No, class is not a problem. Class and target attributes are ok. See: http://typo3.org/documentation/document-library/doc_core_tsref/typolink/

Actions

Also available in: Atom PDF