Opened 17 years ago

Closed 16 years ago

#821 closed New Feature (invalid)

use references, not URLs

Reported by: madduck@… Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: SF Cc: macadames@…

Description (last modified by Martin Kou)

When I insert a link or image with the 'Browse Server' option, FCKeditor inserts a URL relative to the server root. For instance, if my site is rooted at http://mysite/path/to/plone, and I insert a link to http://mysite/path/to/plone/image.png into a document, the generated tag will be

<img src="/path/to/plone/image.png" />

This is bad for two reasons:

  1. should the plone site ever move, then *all* internal

links will become invalid.

  1. should image.png ever move or be renamed, then all

links refering to it will become invalid.

As of late, Plone uses Archetypes for its content types. Archetypes gives every object a unique ID, and a catalog to search these IDs quickly. A better idea would be to insert a link to the reference ID and let it be resolved at runtime. Please check the Kupu editor for an example of how this works.

If you need help with the implementation of this important feature, please let me know!

Thanks,


Moved from SF:
http://sourceforge.net/tracker/index.php?func=detail&aid=1214810&group_id=75348&atid=543656

Change History (3)

comment:1 Changed 17 years ago by Martin Kou

Cc: macadames@… added
Description: modified (diff)
Reporter: changed from Martin Kou to madduck@…

madduck is never sleeping ;-)

Thank you for your proposition.

I need to control url constructions in some cases, it's important.

For object renaming wich is a big problem, it's a really good idea using Archetypes unique IDs for Plone2.1 content types.

I don't have the time to work with a CVS, but for this question, you can send your solutions here (patches section)

Best regards

jean-mat


Moved from SF. Original poster: macadames

comment:2 Changed 17 years ago by Martin Kou

Type: BugNew Feature

comment:3 Changed 16 years ago by Wojciech Olchawa

Resolution: invalid
Status: newclosed

Hi!

This site is used for reporting bugs and requesting new features strictly for FCKeditor and it sister projects (e.g. MediaWiki+FCKeditor ). If you want to report bugs about Plone and FCKeditor extension you should contact Plone developers probably at:

http://plone.org/support

Best regards.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy