This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

How do I test for menu item children?

I'm trying to create dropdown menus to match an existing site, and use the existing menu css. It's 99% working, but I need to add a class to links that have children. I'm currently doing this in my theme_menu_item_link function...

Making first module - can I pass arguments to my module?

Hi all -

I thought it about time I write a module for a site I'm working on instead of writing code into the .tpl.php files.

I've got my module working fine - I've created a block to show a list of recent content that matches a set of parameters. (Unfortunately "views" module couldn't provide me with what I wanted.)

I'd like to be able to re-use this module code and set up a number of different blocks by passing in different parameters to it. Is this possible or do I need to create a different module for each block? What is best practice here?

Forum Module

Where the variable "$content" in the page-forum.tpl.php is generated? I need to change the formatting of post main (first post of thread), to insert an id in div or something that I can change the formatting. How I could make this?

Im using the flatforum module.

making a blog...any suggestions?

hi,

i am making a blog with drupal and wondered if anyone knows of any interesting and good for a blog website?

dave.

Q: Change Image width in HTML w/ Filter?

My site allows users to post images in their blogs, however, these images are too wide and mess up the whole site. Is there a way to resize the image width using HTML with some type of filter?

Thanks!

Theme 'Pager' for arrays?

Is it possible to use theme('pager') with arrays instead of database query results? If so, would someone be so kind as to post a simple bit of code showing how this would be done?

Thanks!

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions