Hello fellow Drupallers!
I am building a custom theme for a customer's site, and I am planning to let my customer administer all that is text related. For example I have designed an area at the footer that has his contact information (one line of text). I have created a div inside the footer in page.tpl.php that will contain this dynamic text.
The question is, how can I implement this dynamic text?
I thought of creating a new content type with CCK that has only a title, then create a new node of this new content type that will contain the text and display the teaser of this new content node only in the div inside the footer. My problem is, how I tell to $content ( the main content block ) not to output nodes of this new content type, and then how can I tell the footer to spit out nodes of the new content type?
Or is there a better approach?
Thanks for any help!
Comments
I would use a region and a custom block
I would make the area where you want this text a region where blocks can be placed. Then I would create a custom block and place it in that region. I would then theme it to hide the title so only the text (body) of the block shows.
Thanks nevets! I think that
Thanks nevets!
I think that is the easiest way out!
What would give me more flexibility though would be to output a specific node inside this new block. I know it is horribly simple but...how can it be done?
A healthy disregard for the impossible.
Make a custom block which loads the node
In the block for the body add something like
Total BLISS!!! Thank you
Total BLISS!!!
Thank you nevets, thank you!
A healthy disregard for the impossible.