[Typo3-dev] rte links to plugin elements

Grunde Løvoll grunde at freecode.no
Wed Nov 2 09:26:40 CET 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I have created an extension which is similar to Kaspers CD-collection
example. The plug in has a rte text area where I use the htmlArea editor.

What I like to do is enable the authors to link plug in elements in the
rte editor. Ie. link to single individual views of CD records in Kaspers
example.

How should this be done? Does it require changes in the plug in or do I
have to change the _browse_link.php file for the rte editor.


In the rtehtmlarea_browse_links.php file I found the following comment:
/**
 * The mode determines the main kind of output from the element browser.
 * There are these options for values: rte, db, file, filedrag, wizard.
 * "rte" will show the link selector for the Rich Text Editor (see
 * main_rte())
 * "db" will allow you to browse for pages or records in the page tree
 * (for TCEforms, see main_db())

So it seems like there is a "db" mode which in principle should be able
to let me browse and select db-records from my plug in... But how should
this be done?

Thanks,
Grunde
- --
Grunde Løvoll
Konsulent - Fri Programvare
FreeCode AS
Gaustadalleen 21
0341 Oslo
mob. +47 47 34 40 05
tlf. +47 21 53 69 00
e-post. grunde at freecode.no
http://www.freecode.no/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDaHhAKYgDwJX1vxwRAtJvAKCTc3qt8/nsLaDvUfv30sWT6KwU9ACgpxfr
ijG983zN8joV4v3KgIfhnho=
=kcA0
-----END PGP SIGNATURE-----




More information about the TYPO3-dev mailing list