Add a CSS class to title of term pages

Hi,

How would a add a CSS class to the page title only on taxonomy term pages?

I tried overriding theme_taxonomy_term, but it doesn't get called.

How to connect to a multisite URL?

I've been doing some testing and learning with Drupal 7, and am having good success. Enough so, that I'd like to share my work with office co-workers, and also see the sites on other monitors. I can access the primary site, which is the standard, first site template from other computers using the address http://hostnameORipaddress:8082. This works fine, but I've built a couple of additional sites that I'd like to view remotely also.

Available Update Error Messages

I am brand new to both Drupal and creating websites and I am receiving the following error message when Drupal trys to run available updates:

Notice: Undefined offset: 1 in drupal_http_request() (line 919 of /Website/warrenguitars/includes/common.inc).
Notice: Undefined offset: 2 in drupal_http_request() (line 923 of /Website/warrenguitars/includes/common.inc).
Notice: Undefined offset: 1 in drupal_http_request() (line 923 of /Website/warrenguitars/includes/common.inc).

Does anyone know what this means and how I can fix it?

basic - define block content type - comments in triptych

Hi everyone!

taking the first drupal steps here to build a site, simple bartik theme - www.ditwordtgroen.com

having trouble with defining the content type for a new block i created and placed into triptych region @ the PDF page. I already made a new content type which showcases comments but i can not link this content type to the block in the region.

Should i add something in the block body?

much thanks in advance,

Tjarco van Raalte

Stacking Orderbys?

Hi,

I'm trying a simple orderby by day,month,year and it only sorts on the first orderby. Am I missing sometyhing here?


$select = db_select('recommends_rc', 'c');
// Join the Students table, so we can get the entry creator's username.
$select->join('recommends_st', 's', 'c.r_email = s.s_email');
// Select these specific fields for the output.

$select->addField('s', 'firstname');
$select->addField('s', 'lastname');
$select->addField('s', 'initial');
$select->addField('c', 'r_email');
$select->addField('c', 'r_school');
$select->addField('c', 'r_program');
$select->addField('c', 'r_status');

$select->addField('c', 'r_date_due_month');
$select->addField('c', 'r_date_due_day');
$select->addField('c', 'r_date_due_year');
$select->addField('c', 'r_timestamp');
$select->condition('c.r_status', 'Open');

$select->orderBy('c.r_date_due_day')->orderBy('c.r_date_due_month')->orderBy('c.r_date_due_year');

$entries = $select->execute()->fetchAll(PDO::FETCH_ASSOC);

//the following is the schema for the date fields.

'r_date_due_month' => array(
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
'default' => '',
'description' => 'onth Recommendation due.',
),
'r_date_due_day' => array(
'type' => 'varchar',

Limiting Allowed HTML Tags in Comments Only

Using D7.2

I can't figure out how I can limit my text format or HTML Codes for the COMMENTS sections on a node. If I edit the Text Formats w/ user roles- it edits the entire thing- including the node body and other fields.

IE- if I want to have FILTERED TEXT on the body field of a Node, but only plain text (or other custom text format) in the comments section.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x