CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • What is the max lenght of a link for a mailing?
Pages: [1]

Author Topic: What is the max lenght of a link for a mailing?  (Read 449 times)

rhrueda

  • I post occasionally
  • **
  • Posts: 45
  • Karma: 0
  • CiviCRM version: 4.4.3
  • CMS version: Drupal Pressflow 6.22
  • MySQL version: 5.5.22
  • PHP version: 5.3.10
What is the max lenght of a link for a mailing?
October 23, 2014, 06:40:25 am
Hi,

We are having problems when sending links that exceed 255 characters in html code, so the system cuts it to 255.

We are using long alt and title attributes...

Any idea about how to solve it?

Thanks!

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: What is the max lenght of a link for a mailing?
October 23, 2014, 06:45:31 am
Maybe you'll have to turn off click-through tracking, then CiviMail will just put in the links as-is.
If you've got your own codes going on in the links then you probably don't need that feature anyway.
Try asking your question on the new CiviCRM help site.

rhrueda

  • I post occasionally
  • **
  • Posts: 45
  • Karma: 0
  • CiviCRM version: 4.4.3
  • CMS version: Drupal Pressflow 6.22
  • MySQL version: 5.5.22
  • PHP version: 5.3.10
Re: What is the max lenght of a link for a mailing?
October 23, 2014, 07:37:25 am
Hi Coleman,

What about editing the database field and modify the length up to 1000, for example? Is that a risk? a bad strategy? If you recommend it, what happens with the values already stored?

Many thanks!

rhrueda

  • I post occasionally
  • **
  • Posts: 45
  • Karma: 0
  • CiviCRM version: 4.4.3
  • CMS version: Drupal Pressflow 6.22
  • MySQL version: 5.5.22
  • PHP version: 5.3.10
Re: What is the max lenght of a link for a mailing?
October 24, 2014, 12:59:22 am
Or... maybe I can modify the field from varchar to text, right? Again, what happen with the values already stored? all the info must stay...

Thanks!

rhrueda

  • I post occasionally
  • **
  • Posts: 45
  • Karma: 0
  • CiviCRM version: 4.4.3
  • CMS version: Drupal Pressflow 6.22
  • MySQL version: 5.5.22
  • PHP version: 5.3.10
Re: What is the max lenght of a link for a mailing?
October 31, 2014, 02:32:49 am
Anyone?

Thanks!!!

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: What is the max lenght of a link for a mailing?
October 31, 2014, 09:03:49 am
link field is about 254 chars. I think in 4.4.9 (due out on 5 Nov) longer ones are silently ignored rather than spitting out a horrible error. The fix is also in master - but not sure if it's in 4.5
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • What is the max lenght of a link for a mailing?

This forum was archived on 2017-11-26.