Active
Project:
Simplex2
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Feb 2008 at 16:53 UTC
Updated:
29 Mar 2009 at 15:26 UTC
Using Vista, Drupal 6, simplex2 ver 6.x-.1.1
I go into admin and fill out "site information" for my Simplex2 theme.
It is allowing about 16 characters. Everything beyond 16 characters gets truncated.
furthermore, you can't leave it black. So . . .I finally had to fill it out (more than 16 characters) and then use CSS to collapse and hide it.
Comments
Comment #1
Christoph-1 commentedOpen page.tpl.php and look for the line
Here XXX
you can choose where the title is cut.
Comment #2
soulston commentedI am pretty sure you could just use:
This for the first coloured letter
print(substr($site_name, 0, 1))And this for the rest of the title
print(substr($site_name,1))There should be no need to specify the third parameter (see http://uk.php.net/substr)
Example #3 Basic substr() usage
echo substr('abcdef', 1); // bcdef
echo substr('abcdef', 1, 3); // bcd
echo substr('abcdef', 0, 4); // abcd
echo substr('abcdef', 0, 8); // abcdef
echo substr('abcdef', -1, 1); // f