Views - Show random 2 out of the TOP 10

Hi all,
I have a content type "Store" that has a field with geographical lat/long. Then I have a view that is showing the Stores sorted by the distance from the current User position (from the most near to the most far).
What I'm trying to achieve is to take the 10 most near Stores, and then shows randomly only 2 of them.
Basically I want to have a block that shows only 2 Stores randomly, but doing the random only among the 10 most near Stores from user's current position.
Is there a way to do it? I tryed everything but no luck.
Thanks in advance!

Superfish menu only displayed for registered user

Hello,
I am using a horizontal superfish menu in the header area of my Bartik-based Drupal site (version 7.42 - just upgraded!). It works fine for registered users, even if they don't have administrative rights. However, for unregistered (guest) users, the menu does NOT get displayed. I don't know where to look. Can't believe that upgrading from 7.41 to 7.42 caused the problem. Any ideas?
Thanks
HS

Drush not connecting to DB

First-off and let me apologize because I am not entirely sure where to post this.

I've searched and searched and cannot find the answer to help me. I believe my issues is I am not connecting to the database at all. It isn't writing with settings.php file when I create my site.
I've read the pages suggesting to put in the numerical IP address instead of localhost, but remember I have no settings.php file.

Upgraded from Drupal 7.31 to 7.42; blocks missing

Hi there,

I upgraded from Drupal 7.31 to 7.42 yesterday. Afterwards, everything looked fine. Today, the site is up (worldwar2database.com) but all the blocks are missing.

Normally, this means I need to upgrade the views module, but it's up to date and the blocks are still missing. The code is there in the admin window, the blocks are in the right place on the Home » Administration » Structure » Blocks page, but I can't see anything.

Not sure where to go from here. I have run update.php and go no errors.

Thanks
Scotisle

Slick carousel change Navigation position

I have two blocks containing node slideshows on website with default navigation and I want to move it to bottom of the block, but didn't found any info in documentation of module.
website link on working host: http://guzior.fastwww.pl/cech/drupal

Is appendArrow for slick working? didn't find the option in optionset.

htaccess rewrite rules has problem with mod_pagespeed

Hello,

I'm not a professionalist regarding to this topic, but someone may help us to solve this problem.
After spending weeks on studying mod_page_speed i come to the conclusion some Drupal specific htacces rules broken mod_pagespeed_bacon.

Apache log:
Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.

Is there anybody how have some ideas to what can be wrong or is it a simple incompatibility?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x