http://drupal.org/node/41373 http://drupal.org/node/32050 -----Original Message----- From: support-bounces@drupal.org on behalf of Jiann-Ming Su Sent: Sun 1/1/2006 2:44 PM To: support@drupal.org Subject: [support] removing poster name and date?
When I create a page, drupal includes the user and date. How do I configure drupal not to do this? And, where in the handbook is this documented? Thanks. -- Jiann-Ming Su "I have to decide between two equally frightening options. If I wanted to do that, I'd vote." --Duckman "The system's broke, Hank. The election baby has peed in the bath water. You got to throw 'em both out." --Dale Gribble
I'm working on a project for someone who would really like all navigation links to have the first letter capitalized. Trivial enough when it comes to customizable nav links, but the locked links that have dynamically generated paths are something else. The only thing I could think to do was modify the module that generates those links. I thought it might be user.module and found what looked like the right spot on line 698. I tried:
changing
'title' => t('my account'),
to
'title' => t('My Account'),
and
'title' => t("My Account"),
but neither has any effect on the title displayed in navigation, which remains lower case. I'm not sure what else to try.
Grateful for any suggestions anybody might have. Thanks!
--Eric Crump -------------------------------------------------- "Don't worry. Being eaten by a crocodile is just like going to sleep--in a blender." --Homer Simpson
Eric Crump wrote:
I'm working on a project for someone who would really like all navigation links to have the first letter capitalized. Trivial enough when it comes to customizable nav links, but the locked links that have dynamically generated paths are something else. The only thing I could think to do was modify the module that generates those links. I thought it might be user.module and found what looked like the right spot on line 698. I tried:
changing
'title' => t('my account'),
to
'title' => t('My Account'),
and
'title' => t("My Account"),
but neither has any effect on the title displayed in navigation, which remains lower case. I'm not sure what else to try.
Grateful for any suggestions anybody might have. Thanks!
This is a job for CSS!!
You want to strategically insert 'text-transform: capitalize' in the right CSS fields.
Doh! The *easy* way. What a concept!
Thank you Earle and Fabio. CSS is definitely the way to go & between psuedo and text-transform, I got just what I was looking for.
--Eric -------------------------------------------------- "Don't worry. Being eaten by a crocodile is just like going to sleep--in a blender." --Homer Simpson
Op woensdag 04 januari 2006 17:39, schreef Earl Miles:
Grateful for any suggestions anybody might have. Thanks!
This is a job for CSS!!
correct. This specific capitalisation is for CSS.
But, anything else you want to do to *any* locked string in drupla should be handled trough locale.module. Just enable it, and create a ne language, names something like local_english. In that "language" you can "translate" any string into what you prefer.
You want Photo instead of drupals "image"? Then locale is the place to do that.
Bèr
Why don't you use css for this?
css has the first-letter pseudo class that you can customize to uppersize the font.
Read http://www.w3schools.com/css/css_pseudo_elements.asp and http://www.seoconsultants.com/css/text/transform.asp
I think this will be really really easier and more mantenible thank hacking every module which put something on navigation.. imagine what happens when you have to upgrade from drupal 4.6 to 4.7 for example ....
Hope this helps you.
Fabio
Eric Crump wrote:
I'm working on a project for someone who would really like all navigation links to have the first letter capitalized. Trivial enough when it comes to customizable nav links, but the locked links that have dynamically generated paths are something else. The only thing I could think to do was modify the module that generates those links. I thought it might be user.module and found what looked like the right spot on line 698. I tried:
changing
'title' => t('my account'),
to
'title' => t('My Account'),
and
'title' => t("My Account"),
but neither has any effect on the title displayed in navigation, which remains lower case. I'm not sure what else to try.
Grateful for any suggestions anybody might have. Thanks!
--Eric Crump
"Don't worry. Being eaten by a crocodile is just like going to sleep--in a blender." --Homer Simpson