By rawrzors on
Hello,
Currently, my website cuts off authors names at around 15 characters
Example:
Firstname lastna...
How would I increase the display length of the author field to do:
Example:
Firstname lastname
Thanks
Update: Got it, thanks.
Comments
I haven't tested this code
I haven't tested this code (it's extracted from some longer code that does work)... but hopefully it gets you started. In my case it is in a module, but you should be able to put it in your template.php file, changing YOURTHEME to the correct name:
Hi David, I tried your code
Hi David,
I tried your code with no success. Maybe it is because I'm terrible at php.
Is there any other way?
Thanks
This worked for me, thanks
This worked for me, thanks
Thanks. It works, D7.69.
Thanks. It works, D7.69.
I noticed these forums have
I noticed these forums have an increased display length (i.e. Drupal Security Team). I know this is possible...would anyone care to enlighten me? :)
HelloWorld
0 - Version Drupal 7;
1 - Open [includes\theme.inc];
2- Go to line 2743;
3 - Increase max length by changing 15 value ;
4 - Good Luck ^_^;
That's hacking core, and
That's hacking core, and should never be done for any reason. Drupal allows us to override things cleanly without hacking core.