Flush cache user permissions

Does anyone know of a way that I can give permissions to a non administrator role to clear the site cache?
I can't seem to find the answer.

Any help would be great,

Simon

Preprocess function to remove ubercart add to cart button

Hi Guys,
I have a Übercart product node which has a custom field 'For sale/Sold' radio toggle.
What I need is a preprocess function to conditionally display the 'add to cart' button in the 'For sale' state and a 'Sold" badge in the 'Sold' state.
Any ideas how I could do this?

Cheers,
Rob

Translated terms and original terms in edition/creation mode

Hello,

It's about a multilingual D7 site en/fr.

I have all necessary modules installed and enabled, specially Multilingual content (i18n_node) and Taxonomy translation (i18n_taxonomy).

I've added a vocabulairy (News Tags). I translated it with option Translate. Different terms will be allowed for each language and they can be translated.

Then, I added terms and their translation sets.

Everything's OK, but...

Speed issues being caused by DrupalDatabaseCache::set

Hi,

Can nayone help me resolve my speed issues?

All of the long queries seem to be coming from the same functions:

DrupalDatabaseCache::set
DrupalDatabaseCache::getMultiple
system_list
_update_cache_set

In that order.

They all seem to be involved with my site's cache.

How can I improve these areas?

Thank you

Shaun

suspicious file alert after updating modules

After updating pathauto and redirect modules yesterday, my server firewall (WHM's LFD) is sending me two emails every hour:

Time: Fri Dec 9 01:05:12 2011 -0500
File: /tmp/update-extraction-57a576e0/pathauto/pathauto.api.php
Reason: Script, file extension
Owner: name:name
Action: No action taken

Time: Fri Dec 9 01:05:12 2011 -0500
File: /tmp/update-extraction-57a576e0/redirect/redirect.api.php
Reason: Script, file extension
Owner: name:name
Action: No action taken

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x