Adding a filter to the admin/content page

Hello,

In the drupal7 admin/content page there is the fieldset named 'Show only items where' that is used to filter the content list.

I would like to add a custom filter beside the existing ones but the only thing missing to allow me to add it is to have a dedicated hook to be trigger in node_build_filter_query(SelectQueryInterface $query) to alter the query:

hook_build_filter_query_alter(SelectQueryInterface $query)

Grouping in admin/config page

Good Morning
I am trying to group some of my new modules into a group on the admin/config page.
Is there any way to create your own group ?

Marcel

Arbitrarily sorting nodes attached to a vocabulary.

Hi,

I am trying to utilize taxonomy terms as "books" for my content.
(As an alternative to the book module)

The basic set up is easy enough, but it becomes rather tricky when I try to actually go in and order the nodes on each term.
I need the admins to be able to shuffle the nodes around within a "book" (or term). That way, simply sorting alphabetically or node weight will not do the job.

access other field from field view theme

Is there a method to access on other field value in a views-view-field--field-namefield.tpl.php ?

Moving simple asp.net site to multilingual Drupal

I'm new to DRUPAL and need some guidance on which modules to use.

I wish to transfer a quite simple existing site on to DRUPAL

The current setup is english language only classic asp with just one aspx page.
The 2 small data bases are flat file csv, ie not really a database in the modern sense.

The current functionality is elementary.

1) One Form to collect minimal data to create a user profile and issue a password, user ID is email address.
2) Logon goes to a TABBED web page
2.1) change pass and update user profiles
2.2) Collect some data with classic asp page, submit returns an aspx page with a barcode to be printed.
2.3) Upload a File collecting data concerning where to deliver the file.

Additional fumctionality
Ability to access via a customer number or email address
Additional TAB to contain a table listing files and delivery details in a table

Behind the web pages are 16 daemons written in VB6 which process input from the above web pages, plus they extract/obtain

data from other sources. These data are also used to update the flat-file DATABASE.

The main issue with the changeover is that I do not immediately have the resources to change the VB6 daemons to run against

a 'proper' database, so I must adapt the data access module of drupal to use the current flat file database.

My route map is as follows.

Starting in my office.

Ajax based on field created on a node

Hi,

I've added a field to the basic page content type called field_changer. It is a select field with three values. I'm following the example in the example modules.

This code is the example module (after $form['field_changer']['#ajax'] ) and it works fine.

I've added the three lines here: $form['field_changer']['#ajax'] but nothing happens when I change the value of my field. I've tried changing $form_state['values']['changethis'] to $form_state['values']['field_changer']

but still no luck.

Any help?


<?php

function ajax_form_alter(&$form, &$form_state, $form_id) {
switch($form_id) {
case 'page_node_form':
$form['field_changer']['#ajax'] = array(
'callback' => 'ajax_example_simplest_callback',
'wrapper' => 'replace_textfield_div',
);

$form['changethis'] = array(
'#title' => t("Choose something and explain why"),
'#type' => 'select',
'#options' => array(
'one' => 'one',
'two' => 'two',
'three' => 'three',
),
'#ajax' => array(
// #ajax has two required keys: callback and wrapper.
// 'callback' is a function that will be called when this element changes.
'callback' => 'ajax_example_simplest_callback',
// 'wrapper' is the HTML id of the page element that will be replaced.
'wrapper' => 'replace_textfield_div',

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x