#Drupal 6

Events happening in the community are now at Drupal community events on www.drupal.org.
Patrick Danielsson's picture

Skapa användaravtal

Jag behöver skapa ett användaravtal för vårat intranät, och jag sitter och kikar på lite olika moduler för det, vi använder D6.

Dilemmat är att vi skapar konton på förhand åt användaren, därför kan dom inte godkänna något avtal när man skapar ett konto.

Hoppas ni förstår vad jag menar.

Finns det någon modul som man kan använda som tvingar alla användare att godkänna villkor, oavsett om man är ny eller gammal medlem, och där man kan skapa konton utan att jag som är administratör godkänner villkoren åt användaren?

Read more
jessSchn's picture

Non-editable Page?

I'm using Drupal 6 and I have a page that I can't edit. I'm 98% sure this page is a page created using a view (I figured that out by removing a couple pages that in turn shortened the items on this mysterious page). When I move my mouse around the page, I don't get the Edit link that should appear for "View Pages". I've searched the View listing page and I can't find it listed there either.

Our other pages that are created with a content types should have an edit tab above the page title. This weird page that I'm having problems with doesn't have the Edit tab on it.

Read more
neilt17's picture

Bulk assign nodes terms from one vocabulary based on terms already assigned from another vocabulary

We have several hundred nodes categorised with terms from vocabulary A. We now want to categorise all these nodes with terms from a new vocabulary, vocabulary B. Terms in vocabulary B are roughly related to those in vocabulary A - so the idea would be to programmatically do a one time assignment of terms in vocabulary B based on terms already assigned to nodes from vocabulary A. After this, users of the site would need to do some further manual tweaking as there is only a rough (not exact) correspondence of terms between the two vocabularies.

Read more
jleiva's picture

Limitar items en compra - Ubercart

Hola gente, pregunta de Ubercart (Ubercart 6.x-2.7).

El manejo de stocks de productos físicos de Ubercart es bastante básico y limitado, y tengo el siguiente problema: el usuario puede comprar cantidades de productos superiores a las existentes en stock, el sistema no envía mensaje o detiene la compra, si la cantidad de productos comprados es superior a la existente en stock.

Alguno ha tenido una situación parecida? he estado revisando el foro de Ubercart y la documentación, pero hay más preguntas que respuestas :S

Saludos.

Read more
jessSchn's picture

Drupal 6: views_embed_view() doesn't appear to be rendering

I recently edited a template file (node-training_class.tpl.php) for training classes on one of my Drupal 6 websites (http://www.helpsystems.com/services/training/robotschedule-operations).

This template file needs to embed a Block(Next Instance (Webinar)) that is being configured by a View (view: Upcoming_Class_Instances).

Here is my code:

<?php foreach($node->taxonomy as $term) { $class_type = $term->name; }

if ($class_type == "Webinar" || $class_type == "Free Online Training") {
print views_embed_view('Upcoming_Class_Instances', $display_id = 'block_2');
}

Read more
jessSchn's picture

Accessing View's field's content?

I have a Press Release content type setup. And now I'm working on creating a view to easily list out all press releases in one spot with the Title (linked to the article) and a Teaser. Here is the tricky part:

The Press Release content type has a field called press_type. Allowed values are "Internal" or "External" (required field).

If Internal is selected I want the title on the views page linked to the corresponding node/article.

Read more
kenrbnsn's picture

Dupal 6 Taxonomy coding

I have a Taxonomy hierarchy and need to be able to limit certain roles to editing only child terms, not the parent terms. I've looked through all of the modules that I can find that relate to this and haven't found any that fits this requirement, so it looks like I have to write a custom module. Any hints as to the direction I should be looking.

This is in Drupal 6.

Thanks in advance.

Read more
jessSchn's picture

Local Drupal 6 copy display's blocks as 'n/a' AND Administration Navigation bar missing

Hello everyone,

I have a local install of Drupal 6.22 on my MAC (running MAMP) and I've noticed that when I try to administer/edit a content page my Administrator Menu disappears, blocks display as 'n/a', and my footer goes missing. This makes it beyond difficult to make edits to the pages when they aren't displaying correctly.

I don't have this problem with the live version of the site. I currently use git to keep track of any file changes (like css or node-homepage.tpl.php) between my local and production website.

Read more
jessSchn's picture

Webforms to email different hidden values?

I have a couple Drupal 6 websites that use webforms to collect leads and within these web forms is a hidden value that is set to see where our leads are coming from (this value gets emailed to us). For example Field Name: Source, Field Value: Apr_Newsletter_banner_2012.

When we send out the "same" form to different locations, we end up cloning the webform and changing the hidden value so we can see who came from which source. This makes for many webforms that are the same except for the hidden value.

Read more
jessSchn's picture

Drupal 6: drupal_render gives "blank" results

Hi,

I'm trying to add an image to the login page of my drupal 6 site. I've gone into the template.php file and added the following lines of code:

function helpsys_theme(&$existing, $type, $theme, $path) {
  $hooks = zen_theme($existing, $type, $theme, $path);
 
$hooks['user_login'] = array(
        'template' => 'user-login',
        'arguments' => array('form' => NULL)
);
 
return $hooks;
}

function helpsys_preprocess_user_login(&$variables) {
  $variables['rendered'] = drupal_render($variables['form']);
}
Read more
Subscribe with RSS Syndicate content