($content['field_ and white-space ... ore something else

Hi
Please help me :-)

I´m printing this in node.tpl.php

   <?php if ($content['field_XXX']): ?>   
  <h1><?php print render($content['field_XXX']);?></h1>
    <?php endif; ?>

... but it looks like that the if-sentence is not working .... ore maybe some white-space are being printed so the H1-tag will be printed anyway ?

Delegating permissions to assign users to roles

I would like to delegate adding/removing users from a specific user role to specific power users. I do not want them to have full admin privileges and thus I would like to be able to specify exactly which user role they can add and remove people from. They should not be allowed to change any other user role or change the actual permissions of that user role.

I found a module called RoleAssign but this is only for 6.x and earlier.

General question about theme developpement good practice

Hello, this is kind of a general question for the more experienced developpers.

I'm currently working on a project, and i find myself using global variable a lot so i can transfer information from one template to another, or from one themable function to another...

It all works fine, but i'm kinda wondering if this is considering "dirty" and if so if there s a cleaner way to do it?

Creating a custom form, with the ability for users to "add another" text element dynamically.

I'm relatively new to Drupal, and thusfar haven't had to delve too far into writing custom code, having managed to get most of the functionality from contributed modules. However, my client requires the ability to have a [EDIT:] product registration form which allows the customer to "add another" text area to the form so they can register an unlimited number of products at once.

comment restriction

Hello
I want that guest can post comment but it will not published
Registered user also can post comment but it will published.
So is there any way?

E-portfolio

Hi,

I am intending to create e-portfolio system where students can upload their e-portfolio such as resume, past projects, images etc. I am new to drupal and I am finding it difficult to find a good starting point.
Could anyone advise me on what modules I should be looking at or any relevant tutorials?

Many thanks,

Nena

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x