Workflow, Triggers and Actions - What about node updates?

I'm working with a Drupal 6.28 installation which has Workflow Module 6.x-1.5 and Triggers Module installed and activated.

Alternative location for modules?

I would like to add functionality to our up-and-running site, but without having ftp control over it. This means that I cannot write modules and then copy them in their own folder in the usual sites/all/modules location of our Drupal installation.

I don't want my site manager to give me access to it (due to security considerations).

I do have ftp access to another site.

My question: can I write and ftp modules to that second site, in such a way that they are "picked up" by the first site, where Drupal resides?

Newbie

Help! I'm new to taking over our drupal website and I'm far from knowledgable!

There is the main part of the website (the theme I think) with the top banner and menu bar going across the page. But all of my pages refuse to be as wide as the top. I have removed the left and right block on the pages, but it keeps justifying to the left hand side.

Any advice gratefully received!!

Thanks, Rachel

How to pass an argument from a Rules event to a Rules action?

In Drupal 6, I have made a custom Rules action in code using hook_rules_action_info(). I want to create a rule that uses the Event: "After saving a new term", which is an Event provided by Rules in the module.

I want to make whatever taxonomy term has been created available to me in my action hook, how can I do this? Looking in taxonomy.rules.inc I see the following code for the Event:

function taxonomy_rules_event_info() 
{
  return array(
    'taxonomy_term_insert' => array(
      'label' => t('After saving a new term'),
      'module' => 'Taxonomy',
      'arguments' => rules_events_hook_taxonomy_term_arguments(t('created term')),
    ),
  ...
}

Judging by the Rules documentation for 6, I need to declare a taxonomy term argument in my action hook:

$actions['mymodule_notifications_notify_discussion_flagged_users'] = array(
    'label' => t('Notify discussion flagged users'),
    'module' => 'System',
    'arguments' => array(
        'taxonomy_term' => array('type' => 'taxonomy_term', 'label' => t('Term'))
        )
    );

Then I can pass the $term argument to the function that will perform my actions. When I inspect $term using dpm(), I get the following object which is an array with one empty element:

http://i.imgur.com/aD8Zz3l.png

Apache Solr Search & Tomcat6 Implementation with Drupal6 in Ubuntu

Solr Installation With Tomcat6 : -

  1. First Install Tomcat6 and apache solr on system.
  2. For tomcat installation use:
    1. apt-get install tomcat6
    2. after installation check tomcat server on localhost:8080
  3. Now download apache solr 3.6.2 from - http://apache.ziply.com/lucene/solr/ or
    1. wget http://apache.ziply.com/lucene/solr/apache-solr-3.6.2.tgz
    2. now extract apache solr folder: tar xzvf apache-solr-3.6.2.tgz
  4. Now create a solr folder out of www folder where all the solr cores and indexes will go.
    1. sudo mkdir -p /var/solr
  5. Now copy the solr webapp and the example multicore configuration files for multicore solr setup from solr download:
    1. sudo cp apache-solr-3.6.2/dist/apache-solr-3.6.2.war /var/solr/solr.war
    2. sudo cp -R apache-solr-3.6.2/example/multicore/* /var/solr/
    3. Now you have to copy conf folder from downloaded apache solr in each solr multicore (take backup of already existing conf folder in each core and copy this new conf folder there) :

How to remove an old plugin project listing on Drupal.org

I want to know how to remove an old plugin from drupal.org due to a change in ownership. The new plugin has completely different branding. Is this possible?

Thanks!

Pages

Subscribe with RSS Subscribe to RSS - Drupal 6.x