2006-05-05 09:29:07
Course title
how can i limit the number of characters in the title of the course when i create this one?
because if i put 100 characters the header is too long
2006-05-05 09:29:07
how can i limit the number of characters in the title of the course when i create this one?
because if i put 100 characters the header is too long
2006-05-05 10:20:52
Have you tried to figure this out yourself?
This should be something you can do without our help. You should try to solve problems on your own first, and if you can not find a solution, then post your questions here describing what you have already tried.
Remember you are getting free support here, support that requires time from the person helping.
A hint. Most display related changes are made to template files, in the theme/default/ directory.
2006-05-05 12:22:36
ok sorry
2006-05-07 14:34:41
no pude ver donde habia que hacer los cambios... no se mucho de lenguaje php
please help me...how can i fix this?
disculpa por las molestias
2006-05-08 08:30:24
The easiest way to deal with this is to limit the length of the course title when it is created.
Add the HTML maxlength attribute to the title field in the course properties form (include/html/course_properties.inc.php line 134). set the value of maxlength to the number of characters you want to limit the course title to.
[php]
<input type="text" id="title" name="title" size="40" value="<?php echo htmlspecialchars($row['title']); ?>" maxlength="50"/>
[/php]
2006-05-08 09:08:02
thanks greg por your support. thank you very much
Orlando