Drupal is up and running but how do I ...?

How to patch 4.6 to Video Module?

I'm quite new to drupal, but have managed to install & configure drupal 4.6by following all the different forum discussions. I am trying to apply the backport patch to get the additional functionality to work on the 4.6 video module,. I have searched the site and googled but can't figure out howto apply this patch. I took the advise on how to install a patch from another node http://drupal.org/node/14231 and did the following:

Quotes.module question

How can I achieve to have a certain set of quotes to show up randomly for a certain node and another set of quotes for another node. I know how to limit a certain block to show up for a certain node. But, I still need to be able to create several groups of quotes for all my different nodes.

I noticed that there is an option to create more than one blocks for quotes, but I don't see the benefit in doing that. Maybe this is something that can help me in my problem?

Any help would be great!

duplicate access log entries

hi guys,

I'm confused. I want to show the monthly hits in a block, it's no problem, but every time I click on a link on the page (so every time I load a page) the counter increases by 2. This can not be correct I think.

Has anybody an idea where the problem could be?

Mailhandler - no content being posted

I've got a basic drupal installation working on the office intranet and I wanted to use mailhandler to post complaints generated by a web formmail page and sent to the office by our clients as story items.

The incoming emails are distributed to particular individuals according to various rules but I have diverted a copy of each email to an mbox on the linux server which runs drupal and I wanted to use mailhandler to check the box and post the complaint on the intranet for general review.

Could Drupal variables/cache be organised by module?

A few questions and ideas on Drupal variables and cache.

Variables are stored by name. variable_set($name, $value) accepts a name and a value. I can tell the name of variables for module free_beer because the variable size_of_glass is named free_beer_size_of_glass. I can set the value using variable_set('free_beer_size_of_glass', '5 litre');. Would it be possible long term to have the module name separate?

My own code does the equivalent of the following. The only difference is that it is done automatically in classes.

$free_beer = variable_get('free_beer', array());
$free_beer['size_of_glass'] = '5 litre';
variable_set('free_beer', $free_beer);

Is there a long term move to have Drupal aggregate variables for modules so we can cope with a large number of new modules and large numbers of variables for some modules?

Would it reduce the database usage if we did put a bunch of variables in one variable? I have 10 or more variables in some modules and all the variables for all the modules are in one array because they are all loaded for every page. In effect I use $free['beer']['size_of_glass'] in one part of my code and $free['wine']['type_of_grape'] in another.

I know cache should reduce the usage but cache is turned off for logged in users and I am seeing Drupal sites where logged in users get far slower service when they should be getting faster service. If something keeps Drupal's flexibility and speeds up service then it is worth investigating.

Pages

Subscribe with RSS Subscribe to RSS - Post installation