Would it somehow be possible to add a link inside a cell? (internal or external link)

CommentFileSizeAuthor
#2 tablefield-create-link-2319069-2.patch1.79 KBkadiiski

Comments

patrickroma’s picture

That would indeed be a great feature!

kadiiski’s picture

StatusFileSize
new1.79 KB

Here is the patch:

That's how it works:

- You have to make your field's formater to be filtered text.
- Than you have to use this pattern:
- http://www.google.com go to google - This will result in go to google.
- You can use http / https.
- It's important to notice that there must be space between the url and the text. The text after the url is going to be the URL title.

Conclusion: if you want to make a link in the field - just pul the urls starting with http / https in the beginning and after that put the text that you want your link to has when shown in the site - Voila!

kadiiski’s picture

Status: Active » Needs review
jenlampton’s picture

Category: Feature request » Support request
Status: Needs review » Fixed

This patch is not necessary. The check_markup() function already allows links as long as you specify the correct text format. I changed the format from "Plain text" to "Filtered text" and was able to add a link without a problem.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

Katy Jockelson’s picture

@jenlampton how are you adding a link? Selecting 'Filtered text' does not make a WYSIWYG show as far as I can see.