If you use com_banners with external advertisers, sometimes you have the work with very long urls.
When you have a long base url + utm_source + utm_medium + utm_campaig + utm_content etc it easily hits the varchar(200) limit in #__banners.clickurl
Allow longer clickurl
On save you'll get an error: Data too long for column 'clickurl' at row 1
Joomla 4.2.8
PHP 8.1
In my current case I have an url with 250 characters, I'm not sure what would be the best length for the varchar, but more than this.
Using external url shortener services are not acceptable, because the advertiser's policy doesn't allow using it. Maybe because the referer parameters or the stats, I'm not sure.
Labels |
Removed:
?
|
Labels |
Added:
No Code Attached Yet
|
Also the form input should have maxlength attribute according to the length of the field
Labels |
Added:
?
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2023-02-25 09:21:53 |
Closed_By | ⇒ | alikon |
yes it should be bigger - the max allowed for a url is about 2000 in the specifications iirc