Hello,
The user wants to have pages without titles. He is using jpeg images in place of the title. Does anyone have a suggestion on the best way to not have a title on a page? A title made of spaces doesn't work. A title made of just a dot "." does work. That's the best option so far, but I don't like it. You still see an ugly dot that doesn't belong. Does anyone have a better idea?
Thanks.
Daniel.
If you don't want a title for any of the pages, just delete the print $title from the node.tpl.php in your theme directory. If you need more sophisticated behavior, try this link: http://drupal.org/node/138910
On Mon, Dec 15, 2008 at 10:11 AM, Daniel Carrera daniel.carrera@zmsl.comwrote:
Hello,
The user wants to have pages without titles. He is using jpeg images in place of the title. Does anyone have a suggestion on the best way to not have a title on a page? A title made of spaces doesn't work. A title made of just a dot "." does work. That's the best option so far, but I don't like it. You still see an ugly dot that doesn't belong. Does anyone have a better idea?
Thanks.
Daniel.
[ Drupal support list | http://lists.drupal.org/ ]
If you're using Drupal 6, you can write a module for your own content type and set the 'has_title' attribute to 'FALSE'. While the feature of allowing nodes with empty titles is in Drupal core, you unfortunately cannot set it from the user interface and will have to write your own module for it.
Regards, Usamah
On Mon, Dec 15, 2008 at 6:11 PM, Daniel Carrera daniel.carrera@zmsl.com wrote:
Hello,
The user wants to have pages without titles. He is using jpeg images in place of the title. Does anyone have a suggestion on the best way to not have a title on a page? A title made of spaces doesn't work. A title made of just a dot "." does work. That's the best option so far, but I don't like it. You still see an ugly dot that doesn't belong. Does anyone have a better idea?
Thanks.
Daniel.
[ Drupal support list | http://lists.drupal.org/ ]
Daniel,
I would suggest to you that rather than removing the title that you have your user enter the title and then remove it in your node.tpl.php. You can then use the title for your ALT text. (<img src="...." alt="<?php print $title ?>" /> This way you have a title for the node in places like /tracker and you are making your site more accessible. This os probably better form an SEO point of view as well because this is where you get your title for the meta data.
-Steve
Steve Kessler Denver DataMan 303-587-4428
-----Original Message----- From: Usamah M. Ali [mailto:usamah1228@gmail.com] Sent: Monday, December 15, 2008 8:20 AM To: support@drupal.org Subject: Re: [support] A page without a title?
If you're using Drupal 6, you can write a module for your own content type and set the 'has_title' attribute to 'FALSE'. While the feature of allowing nodes with empty titles is in Drupal core, you unfortunately cannot set it from the user interface and will have to write your own module for it.
Regards, Usamah
On Mon, Dec 15, 2008 at 6:11 PM, Daniel Carrera daniel.carrera@zmsl.com wrote:
Hello,
The user wants to have pages without titles. He is using jpeg images in place of the title. Does anyone have a suggestion on the best way to not have a title on a page? A title made of spaces doesn't work. A title made of just a dot "." does work. That's the best option so far, but I don't like it. You still see an ugly dot that doesn't belong. Does anyone have a better idea?
Thanks.
Daniel.
[ Drupal support list | http://lists.drupal.org/ ]
I'll propose this idea to the user. I think he'll be happy with it.
Steve Kessler wrote:
Daniel,
I would suggest to you that rather than removing the title that you have your user enter the title and then remove it in your node.tpl.php. You can then use the title for your ALT text. (<img src="...." alt="<?php print $title ?>" /> This way you have a title for the node in places like /tracker and you are making your site more accessible. This os probably better form an SEO point of view as well because this is where you get your title for the meta data.
-Steve
Steve Kessler Denver DataMan 303-587-4428
-----Original Message----- From: Usamah M. Ali [mailto:usamah1228@gmail.com] Sent: Monday, December 15, 2008 8:20 AM To: support@drupal.org Subject: Re: [support] A page without a title?
If you're using Drupal 6, you can write a module for your own content type and set the 'has_title' attribute to 'FALSE'. While the feature of allowing nodes with empty titles is in Drupal core, you unfortunately cannot set it from the user interface and will have to write your own module for it.
Regards, Usamah
On Mon, Dec 15, 2008 at 6:11 PM, Daniel Carrera daniel.carrera@zmsl.com wrote:
Hello,
The user wants to have pages without titles. He is using jpeg images in place of the title. Does anyone have a suggestion on the best way to not have a title on a page? A title made of spaces doesn't work. A title made of just a dot "." does work. That's the best option so far, but I don't like it. You still see an ugly dot that doesn't belong. Does anyone have a better idea?
Thanks.
Daniel.
[ Drupal support list | http://lists.drupal.org/ ]