Hi,

I've been working on getting the Job Posting content type up and going, but it seems that the field for the URL is cut off at 64 characters. I was wondering if this is a limitation of the PHP/the module or a bug. Some jobs we post come from various companies we're affiliated with, and we'd like to be able to link directly to the job posting on their site so they can apply directly with them. However, the URLs to get there can be pretty long, and we'd like to avoid using a URL shortening service as that wouldn't really seem professional.

I took a look at the code, but nothing really stands out to me, so I'm not sure if it's a limitation of PHP or the fields or something else or if I'm just overlooking something. Any help would be greatly appreciated!

Comments

ivan zugec’s picture

Hi toh,

Your right it's not PHP that's limiting the field, it's the column length in MySQL. By default the "website" field is a varchar with a length of 64. All you have to do is change the length of the column (website) to something bigger like 255.

So if you have something like phpMyAdmin, just go to your database, then go to the "job_posting" table and adjust the "website" column length.

Let me know how you go.

Ivan