I have been unsuccessful in accomplishing the following:
I am using the Nodeblocks module and trying to follow its documentation for using it with a custom content type. My custom content type machine name is
content_block. I want a client to be able to create a new
content_block and then be able to place it wherever he wants using the Admin > Blocks page.
content_block content type has these fields (machine names - purpose):
- title - Title of the block (nodeblock) that will be seen on the Blocks administration page. Will be hidden from output.
- field_headline_level - stores a value like, "h2", "h3", "h4", etc. To be used to customize the HTML Headline tag. Will be hidden from output.
- field_headline - The actual words for the headline
- field_content - Content to be displayed below the headline
I've been trying to follow the Nodeblocks documentation (linked above) as well as the Drupal 7 Template Suggestions but I can not get it to work. I keep running into nested template problems, such as the default block template wrapping around the node type template and getting double headlines. I also can't figure out the correct syntax to display the various
Can anyone out there help me out or point me to a "Node Templates for Dummies" article? I've done lots of searches on Google, but can't find anything very helpful.