Passing dates or date ranges into a view as arguments

Passing dates or date ranges into a view as arguments

Drupal 7, Views and Date modules installed. I have a view on a content type with a date field (timestamp, but I can change it if necessary) When I use it in filter criteria, I have no problem to use criteria like Mydate greater than, less than, between, not between... read more
Passing dates or date ranges into a view as arguments

Node access user reference

Main Modules: Node access user reference Node access node reference Flags Rules I’m trying to give access to a user that clicks on a Join Project flag link. I have a User Reference Field attached to a node call Project. I’m wanting to tell Rules to add... read more
Passing dates or date ranges into a view as arguments

menu_get_active_trail returns page not found

I want to add a meta description to a custom module ‘mymodule’, but this doesn’t load as expected. The problem is in the active trail, when menu_get_active_trail is called inside array 1 the router_path = node/% and the title is page not found. How... read more
Passing dates or date ranges into a view as arguments

Alter views fields using preprocess function before render?

How do I edit a views field using preprocess before it is rendered to the screen? Let’s say the field originally outputs something like this: Note title now I want to change that adding the number of comments in that node Node title (4 comments, 1 new) I know I... read more
Passing dates or date ranges into a view as arguments

Weekly check of the admin/performance/status report pages

We run around 100 Drupal sites. I want to automate a weekly check that will scan all of the admin/performance/status report pages. I had a look at drush status but it doesn’t give me the same information as the web interface does. Has anyone done this and how... read more
Passing dates or date ranges into a view as arguments

Omega Subthemes, Modernizr, and Javascript placement

I am embarking on a new project and have decided to use Omega as as my base theme. I have a few related questions to overriding html.tpl.php in my subtheme. I normally use Modernizr for HTML5 feature detection and to provide the HTML5 Shiv functionality. Are there any... read more
Passing dates or date ranges into a view as arguments

Views, Taxonomy, multiple parameters using contextual filters

A view has been created to display related content types via their taxonomy terms, using contextual filters. Currently the view is able to display content based on the first param eg. about The goal is to abe to display content based on the second param, being the... read more
Passing dates or date ranges into a view as arguments

Get the breadcrumbs for a specific node other than the current

I have a list of nodes created by a view. Those nodes tend to have titles that are mostly the same, but since they are in a rather logical hierarchy defined by the menu I’d like to output the breadcrumb to the nodes as well. I couldn’t find a core-function... read more
Passing dates or date ranges into a view as arguments

Which Drupal core function might call SELECT * FROM on custom module table?

I have a Drupal 6 website which is hosted on a shared hosting service and which is used to communicate with a desktop software application. Over the years I extended the user profile with over 70 different profile fields. With over 45.000 users this resulted in a... read more
Programmatically set the number of Multiple Value CCK fields in node edit form

Programmatically set the number of Multiple Value CCK fields in node edit form

I have a filefield multi-value CCK field and I want to be able to set the number of values that can be added based on some condition when the user is editing the existing node. Is there a way to handle this through a form_alter? I do not want to set the number of... read more
Passing dates or date ranges into a view as arguments

How to add captcha to "Printer, e-mail and PDF versions" email form

I am using the Printer, e-mail and PDF versions module to enable user to share pages on my d6 website. Now I have recently noticed that some robots make thousands of requests on this form a nd I need a captcha to prevent it. How can I do that? Thanks read more
Passing dates or date ranges into a view as arguments

Attach content to node

I was wondering if its possible to setup a facility where I can attach content to existing content? Let me elaborate: I have my Page content type, but I want to give the content-editor the ability to add extra information which can be displayed in a separately styled... read more