Theming of a custom node type

Hi,

I try to develop a drupal 7 module, that defines a custom node type. Now I stuck at the nodes theme. How can I define the node style / theme of this custom node in my module. I found hook_view and theme_node, but I don't know, if this is right. I also found node-custom_type.tpl.php to theme nodes, but I think this is only for themes, not for modules.

Can somebody give me a hint, how to theme my custom node?

Thanks a lot, best regards,
Sebastian

Hiring full time perm Drupal guys in Bristol - UK

Hi all,

We are looking to hire a full time Drupal-er who has a couple of years experience under their belts and is keen to make the step up to more of a project lead role. We are a small friendly team - working on some seriously exciting Drupal projects in a lovely part of Bristol. The role would entail loads of both front and back end Drupal work with a smattering of project planing / management plus the opportunity to get involved with the consulting and training side of things if you were keen ...

err - that's it :)

Cheers,

Mike

Seeking Full-Time Lead Software Engineer for Permanent Employment - Emphasis on Drupal/PHP Development - Will Relocate

Great Wolf Resorts, Inc. currently has an opening at their central headquarters in Madison, WI for a full-time software engineer who has in-depth experience with Drupal, a commitment to quality and excellence, a leadership mentality, and a mentoring personality with a sharp can-do attitude. Great Wolf is actively seeking a candidate who will be able to take GreatWolf.com and their other Drupal sites to the next level.

AJAX Dependent Dropdowns in a Custom Element

I am using hook_element_info to create a reusable widget for other modules I'm developing. The widget has dropdowns (SELECT elements) that get their value from a database, based on selections in other dropdowns. However, I run into a lot of "illegal choice" messages when, for example, clicking the "Preview" button (when I use the widget in a node form).

Question: How do I move content forward and back

Ladies and gentlemen, I inherited a website and am still trying to get a handle on drupal.

I have a problem where on the front page we have an image slideshow, but the nicemenus on the left side, when accessed, open up behind the images!

To be clear, I put the cursor over say "Students", and the options under students open up to the right of the menu. This new column is hidden behind the image slideshow. Where can I make the changes so that the menu opens up in front, rather than behind, the slideshow to allow the user to click the options?

$20 Tip - Question about Views 2x Templates

In D6, Views 2x. I'm trying to make a custom views table template. I'm looking at the Style Output file and trying to create this,

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x