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

Hiding Blank Fields with Content Template

I'm using the Content Template module to display the fields that I've added through CCK. When I copy all the variables and format them accordingly, I still have the problem where blank fields display the title of the section without any content.

Can someone offer a non-developer some simple code to check if a field in the Content Template is blank and hide it accordingly? Thanks!

Insecure? Tentative solution to public/private files debate

Use case:

One my clients required a method for protecting uploaded files using the access rights from Organic Groups. Only users who were members of a group should be able to download a file that was attached to a protected node (i.e, a node which had og_subscriber set as the realm value in the node_access table). The kicker was that the client also needed to enable group members to make a node public, along with all the documents attached to that node.

extend CCK-fields with custom formatters

Hi,

I am looking for a way to extend the list of formatters of a given CCK-field without hacking the module itself. I want to create a custom module which extends the formatter-list of a CCk field.

To be more concrete:
I am using the filefield.module but I want a different display of the files within custom views. I can create a custom theme for the display but this will affect the display of all file-fields.

Tutorial for uploading files?

Hi, I'm relatively new in developing in Drupal. My interest started a month ago, and luckily my boss gives me all the space in exploring Drupal.

Meanwhile my first module is a fact. I've written a search module witch enables an user to do a Google search on various websites, witch can be defined by the administrator.

Nice_menu for drupal 5

Hello everyone,
If you like the Nice_menu module, help us testing this patch made by subwolf.
Many thanks,
Drupalworld

SubWolf - February 6, 2007 - 22:24

I've managed to get the module script converted, and it 'works' on my V5.x dev copy.

However, all the menus are appearing, at once, guessing the CSS paths may need some modification.

Filter not working correctly? Help please...

I've tried using two modules

Rep[lacement]Tags and Smileys

Replacement Tags finds Tags in configured content and changes it with the configured text.
Smileys finds ASCII smileys in content and replaces with images.
In theory they both do almost the same thing...

I configured everything correctly, but it doesn't seem to filter the posts.
Neither on already posted content nor on new content. It just doesn't replace what should be replaced.

Anyone have any ideas of WHY that happens?

Thanks

Pages

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