Question about Drupal 7 and Rules module.

I need some help understanding how to use the Rules module to validate taxonomy terms associated with a node. I have two taxonomy term fields based off of the same vocabulary. One field is for the user and the other is for a content type. I'd like to validate the node field against the user field. I want to throw an error if the user selected something that is not also selected in the user field.

User Field:
City 1 - checked
City 2
City 3
City 4 - checked

D7 appears to log me out when I run update.php and brings up 'Access Denied' page.

Running Drupal 7.10 and all is running OK, except when I enabled the Google Analytics module and then tried to run update.php it appears to log me out and then deny access as an anonymous (not verified) user. At least that what the 'Recent log messages' screen is indicating. It is also logging me as an anonymous (not verified) user when I run cron, tho it is still running cron OK.

I have clerarted the cache repeatedly, and have used the F5 refresh to get past my browser cache, but no joy as yet. I have tried it in both Firefox and Chrome, with the same result.

MySQL Query Optimization

Hi all,

I've been noticing very slow response times. My CPU is throttling around 25 seconds within the last 24 hours (very very low use too). I checked the logs for slow mysql queries and these were what I found.

# Tue Dec 27 21:39:08 2011
# Query_time: 13.592177 Lock_time: 0.000073 Rows_sent: 0 Rows_examined: 1
use some_db;
DELETE FROM cache_bootstrap
WHERE (cid = 'system_list')

# Tue Dec 27 21:39:08 2011
# Query_time: 13.000759 Lock_time: 0.000151 Rows_sent: 0 Rows_examined: 0
DELETE FROM cache_bootstrap
WHERE (cid = 'system_list')

# Tue Dec 27 21:39:19 2011
# Query_time: 10.818829 Lock_time: 0.000100 Rows_sent: 1 Rows_examined: 1
use some_db;
SELECT 1 AS expression
FROM
cache cache
WHERE ( (cid = 'ctools_plugin_files:ctools:export_ui') ) FOR UPDATE

# Tue Dec 27 21:39:19 2011
# Query_time: 8.601975 Lock_time: 0.000104 Rows_sent: 0 Rows_examined: 1
DELETE FROM cache_bootstrap
WHERE (cid = 'system_list')

# Tue Dec 27 21:39:27 2011
# Query_time: 4.195347 Lock_time: 0.000059 Rows_sent: 0 Rows_examined: 0
INSERT INTO cache (cid, serialized, created, expire, data) VALUES ( //SOME DATA //

# Tue Dec 27 21:43:15 2011
# Query_time: 3.867647 Lock_time: 0.003150 Rows_sent: 0 Rows_examined: 0
use some_db;
INSERT INTO cache (cid, serialized, created, expire, data) VALUES ( // SOME DATA //

Some stylesheets not loading

Hi All,

I have a website that I'm themeing. Basically, some of the stylesheets are not loading. It might be how I'm caching but I'm not sure. I tried all sorts of caching methods (the basics built into drupal). Also, I'm using Zen as the engine.

Sorry if this is against Forum policy, but there really is no easier way to do this other than show url. Once it is fixed, we can edit out the url?

This is the site: http://mydesignagents.com/alexcasciani/justa/drupal/

We'll start with the fonts. If you scroll down, you'll see "Jerky of the Month Club". Before (on my test machine) all that font would be in a special font loaded from the same web server.

If you view source code and open the compressed css file on line 33, then search for "font-face", you'll get these:

@font-face{font-family:mainMenu;src:local(),url(/alexcasciani/justa/drupal/sites/all/themes/justajerky_regular/fonts/ttf/TrajanPro-Bold.otf),url(/alexcasciani/justa/drupal/sites/all/themes/justajerky_regular/fonts/eot/TrajanPro-Bold.eot);}@font-face{font-family:trajanNormal;src:local(),url(/alexcasciani/justa/drupal/sites/all/themes/justajerky_regular/fonts/ttf/TrajanPro-Regular.otf),url(/alexcasciani/justa/drupal/sites/all/themes/justajerky_regular/fonts/eot/TrajanPro-Regular.eot);}

Imagecache action, which takes a numeric value the user entered to scale the image

hello,
for a long time i would like to have an "flexible" imagecache preset, which scales an image depending on a numeric value, the (non-technical) user enters. dont't know how to approach the problem.
thanks, adam

new content type not in menu

Hi
I have created a new content type. In the menu setting main manu is selected. But this is not showing in the menu. I have also tried to customize the menu. But there is no link of this new content type.
Plz help me

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x