Views contextual filters with exposed filters in the URL

I am starting to get my head around views 3 in Drupal 7, but have been working on a specific problem for a couple of days now and can't figure it out.

I have a view which shows content of type bicycle. This view has an exposed filter for a taxonomy term 'bicycle style'. When you go to the view page you can drop down a box and select 'classic', for example - this takes you to the page /bicycles?field_bicycle_style_tid=13 and shows all bicycles which have a style of 'classic'.

This all works fine, but what I would like is for there to be another view displayed on this page as a block which shows a different video depending on which bicycle style is selected. So if you are on /bicycles?field_bicycle_style_tid=13 it shows one video and /bicycles?field_bicycle_style_tid=14 a different one.

I have created content type of video which has a term reference field referencing the same taxonomy term 'bicycle style'.

I have setup my second view as a block which shows content of type 'video' with the contenxtual filter as follows:

Content: Has taxonomy term ID
When the filter value is NOT available - Provide default value
Type - Taxonomy yerm ID from URL
Load default filter from term page - ticked

If I type '13' into the preview it shows the right video, but when I add the view as a block to the bicycles page, it doesn't pick up the tid from the URL.

Learning to theme in Drupal 7: Should I create HTML/CSS pages before theming?

Hi everybody,

I'm new to Drupal. I've decided I want to use it for my new website and I'm learning to theme now. I'm watching a video course but they don't tell if I should create an HTML/CSS layout first. I'm used to create layouts for every website I create using Wordpress, but I'm not sure if it's a good idea to do the same with Drupal or if it's going to be a waste of time.

The website is pretty simple and elegant: "Do you recommend me to create an HTML/CSS layout before theming in Drupal 7?"

[SOLVED] New views from arguments of one view. Its possible?

Hi friends, i have one problem...

I have a views in drupal7 with argument, to here ok!
But i need to launch a new view from one argument of another view because now the content type of part of these nodes is changing.

Its possible?

Yeahhh, yes its posible.

Viva Views !!!

Got a Little question

im just wondering, Has anyone ever built something like this:

a diary, where people can put a diary entry onto the site using a block on there user profile
then they could find it at a later date using a calendar

if so, how would i do this?

Modules are invisible [SOLVED]

I have multiple sites under folder "drupal/sites".
I have installed modules correctly into folder "drupal/sites/all/modules". Still some modules can't be seen in some sites (some sites do show these modules) when trying to configure modules in administrative view.
Is there some place, or proper tutorial to check if I have made mistake while setting multiple sites on? Can this mysterious invisibility happen if some updates are pending?

Thanks in advance!

Error The website encountered an unexpected error. Please try again later.

Ive moved my drupal 7 web site to localhost,changed settings.php as needed and I get folowing message

Error The website encountered an unexpected error. Please try again later.

PDOException: SQLSTATE[28000] [1045] Access denied for user 'admin'@'localhost' (using password: YES) in lock_may_be_available() (line 167 of C:\wamp\www\fox\includes\

Please help


Subscribe with RSS Subscribe to RSS - Drupal 7.x