Auto Hyperlink URLs in Table and Detail View
Posted: 2013-03-25 19:02
Hello,
This is a feature request regarding my thread here: http://forums.appgini.com/phpbb/viewtopic.php?f=7&t=33
Basically, AppGini can already hyperlink data in a field so a user can click it and go to the webpage. This works in the table and detail view for the data. However, this feature has a flaw, it doesn't detect if the data you are inputing is a URL. So, if you had data that looked like "Some text here http://google.com/ some more text here blah blah blah http://example.com", AppGini would turn it into one long hyperlink like this:
That obviously doesn't work and is useless.
So, my request is that the app should be able to parse URLs from regular text. This (IMO) shouldn't be too hard to implement, but I have yet to find a way to make this work using hooks.
Some useful links for Ahmad:
Regards,
Stephen
This is a feature request regarding my thread here: http://forums.appgini.com/phpbb/viewtopic.php?f=7&t=33
Basically, AppGini can already hyperlink data in a field so a user can click it and go to the webpage. This works in the table and detail view for the data. However, this feature has a flaw, it doesn't detect if the data you are inputing is a URL. So, if you had data that looked like "Some text here http://google.com/ some more text here blah blah blah http://example.com", AppGini would turn it into one long hyperlink like this:
Code: Select all
<a href="Some text here http://google.com/ some more text here blah blah blah http://example.com">Some text here http://google.com/ some more text here blah blah blah http://example.com</a>
So, my request is that the app should be able to parse URLs from regular text. This (IMO) shouldn't be too hard to implement, but I have yet to find a way to make this work using hooks.
Some useful links for Ahmad:
- http://css-tricks.com/snippets/php/find ... ake-links/
- http://www.rogerethomas.com/blog/php-ex ... rom-string
Regards,
Stephen