Passing Arguments for a filter to a view (views 3) in code scenario?
Hi Drupal Friends,
I am working on a Views 3 Project and I'm stuck with this issue:
So far:
A Service-Method that reads a view and returns the results:
$products_result = views_get_view_result($viewName);
Goal:
Now I want to add a filter (default or contextual???) for setting the maximum price (e.g. "maximum price": field_price < max_price)
Problem:
Read moreSurely this exists ... compress selected Drupal modules into one file?
This isn't a module, ... but it's close (like Drush isn't a module). There are a lot of tools like Drush, for quickly configuring new Drupal installations. Surely, there is a tool for combining a set of modules into one downloadable file.
Then, for windows users (where I find myself sometimes) I suppose an alternative would be to access one of my Linux servers... run a Drush + shell script that does the same thing, and then transfer the resulting file from there.
If someone put this capability together in a Web page, it might be pretty useful. I bet someone already has. Does anyone know?
Read moreUnsure about drupal_add_library
So I have been searching around for the best way to make my jquery accordion work in my drupal site, and I think that drupal_add_library is the recommended way to go. However, I can't seem to find much information on it, or the information that I have found I cannot understand. Anyone familiar enough with drupal_add_library to give me some advice, perhaps a crash course in applying it? Alternatively, if anyone knows of a better way, or something that has worked tried and true for them, I am open to it all.
Running: Drupal 7
Thanks so much
Read morequiz questions bulk import script
As a student representing my college, I am organizing an online quiz on open source for a group of five colleges on 18 April 2009 which has more than 100 questions. I was lazy to upload question manually one by one so i wrote a quiz_questions_import script based on this article http://acquia.com/blog/migrating-drupal-way-part-i-creating-node. Bulk question import is a something often often asked feature in quiz issue queue so like to share this script with you guys here.
quiz_questions_import.php
<?php
require 'includes/bootstrap.inc';



