Results 1 to 6 of 6

Thread: Edit 'typolinks' plugin of tinyMCE

  1. #1
    New user
    Join Date
    01-17-12.
    Posts
    17

    Default Edit 'typolinks' plugin of tinyMCE

    I need to edit the 'typolinks' plugin of tinyMCE.
    When you select a page in the popup 'Insert/Edit link" the 'href' field is filled by {{ link_page::ID }}.
    Is it possibile to change link_page ??? I would like to use a custom wildcard.

    Thank you.
    Paolo

  2. #2
    New user
    Join Date
    01-12-10.
    Location
    Sumy, Ukraine
    Posts
    26

    Default Re: Edit 'typolinks' plugin of tinyMCE

    Hi.

    Is it possibile to change link_page ??? I would like to use a custom wildcard.
    What do you mean?

    {{ link_page::ID }} is an insert-tag (http://www.contao.org/en/insert-tags.html). So, you can change it to any other insert tag or url.

  3. #3
    New user
    Join Date
    01-17-12.
    Posts
    17

    Default Re: Edit 'typolinks' plugin of tinyMCE

    In the popup 'Insert/Edit link" when you select a page the 'href' field is filled by {{ link_page::ID }}.
    I would like that the 'href' field is filled by {{ link_CUSTOM::ID }}.

  4. #4
    User
    Join Date
    06-20-09.
    Posts
    115

    Default Re: Edit 'typolinks' plugin of tinyMCE

    never done this myself but you could try this

    http://zedseries.blogspot.com/2011/1...-tags-for.html

    or use this extension

    http://www.contao.org/en/extension-l...080019.en.html
    geung

  5. #5
    New user
    Join Date
    01-17-12.
    Posts
    17

    Default Re: Edit 'typolinks' plugin of tinyMCE

    I have already create my custom InsertTag.
    I need to modify the behavior of typolinks.

  6. #6
    Experienced user
    Join Date
    08-21-09.
    Posts
    563

    Default Re: Edit 'typolinks' plugin of tinyMCE

    I'm probably not much help either, but it does look like the "Typolinks" plugin that creates that behavior is in /plugins/tinyMCE/typolinks/ and then is loaded via /system/config/tiny****.php files.

    Maybe you could try copying that plugin and tinkering with it.
    Brian

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •