This forum is for less technical discussions about the Drupal project, not for support questions.

XTemplate Primary_Links

Hi! I've just started to work on the drupal based project and I'm responsible for the Theme adaptation. I'm a bit acquainted with the PHP but it's far from prof. So I'm working on the XTemplate as it seems to me more stable. I've got a probleme: I really need that the 'primary_links' get the state of 'active' dynamicaly and keep it while I'm in the specified (by path)directory. Almost the same way as 'tabs' work. I've looked through the scripts, but I wouldn't say that I've got the clear picture of how to do it.

eCommerce - payment module error

The below error occurs when the link to the admin/settings/payment is clicked

Fatal error: Call to undefined function: form_group_collapsible() in /mounted-storage/home8/sub001/sc14839-HDBP/www/interactive/modules/ecommerce/payment/payment.module on line 104

$output .= form_group_collapsible(t('E-mail notifications'), $group, TRUE);

It appears to be a problem with email notifications. Any ideas where to look for a solution?

Thanks in advance!

How can I...?

Hello Everyone,

I've been using drupal on one of my sites (http://www.generalaviationweekly.com) for about 6 months now and love its flexibility! I'm starting a new site and would like to use drupal as the CMS but I'm not exactly sure if it meets all my needs. I'm looking to create a little competition and create a free version of http://www.100dollarhamburger.com.

BIG SPACE at the top of a html table...

...appears when I post the html content...
should I use php?
how I can solve this?

Thank you GNU people!

Drupal Sanbox

Hi,

I am new to Drupal. Is there a sandbox that I can play around in?

$score

From comment.module:

      else {
        // Add the comment to database.
        $status = user_access('post comments without approval') ? 0 : 1;
        $roles = variable_get('comment_roles', array());
        $score = 0;

        foreach (array_intersect(array_keys($roles), array_keys($user->roles)) as $rid) {
          $score = max($roles[$rid], $score);
        }

What's $score? The comment table also has a field named "score". I just cant figure out what it means, in most cases its just 0.

Pages

Subscribe with RSS Subscribe to RSS - General discussion