Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

In Drupal, I want the title of my story/blog to refer to an external link rather than pointing it to my own domain. The reason is, I only want to write the title (turned into the external link from where the news originated) and then not write anything on the body of that node. Please let me know if there is a module which will help me achieve this or if there is a some hack.

share|improve this question
add comment

closed as off topic by Jeff Atwood Jul 15 '10 at 9:19

Questions on Web Applications Stack Exchange are expected to relate to web applications within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer

Body fields of nodes is not required and you can via settings remove it from the node.

I don't think you'll find a module for doing what you want, as it should be done in the theming layer, which is usually site specific. Anyways it can be done without too much trouble.

The stuff happens in node.tpl.php where you can setup the markup for your node. Nodes can be displayed in many ways, so they won't be a single place to set it up. If you fx use views, you will most likely use different templates.

You could actually write the link into the title itself, but you would need to allow html in your titles then, as it is escaped by default. You could also use CCK to store and external link, and use theming to link it to the node title.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.