Slide Contact Form

Hi,
Just started using drupal and wanted to create a contact form like this :

http://www.designshack.co.uk/tutorialexamples/jquerycontactform/

Taxonomy image in Views / Drupal 7

Can any one please help with using taxonomy images in Drupal 7?

I've created a taxonomy of colours, added an image field to the vocabulary and uploaded a colour to each term.

I want my client to then choose colours when adding content (checkboxes - red, blue, green etc) and then want these colours to be displayed in a view as images (the colours available for that item).

anyone know where the div date is stored for the blogs I want to change/remove it.

I have a div called date in a theme I want to get rid of the div so it won't show I know I need to get rid of the css which is ok for me but where is the div stored in the theme ?

Menu active trail in Drupal 7

Hi,

I have the following menu structure:

Exchange groups --> groups
-- Group 1 --> group/group1
-- Group 2 --> group/group2
-- Login --> user/login

When I click on Group 1 or Group 2, the menu active trail is fine: Exchange groups is expanded and Group 1 or Group 2 is set as active. However, when I click on Login, Exchange groups is collapsed and Login does not appear.

How can I set the user/login active trail so that Exchange Groups is expanded and Login is set as active ?

Thank you,

How do I create content/pages visible only for a specific set of users?

Hi forum!!

I've just installed Drupal 7 and it looks great!!

Now, I have a novice problem :) :
I have some customers, and each customer, should access trough the Drupal interface to its own content/information. Also, a customer shouldn't access to other customers' contents. The contents of each customer, have to be created by the site admin (by me :)).

So my question is simple: how do I create a page per customer only visible for each customer after their login into drupal?

I hope you understand me, I'm not an english speaker... :)

stdClass object returned instead of expected array of integer from query

I have a simple query that I'm trying to run:

  $result=db_query("SELECT pid FROM {profile} WHERE uid=".$user->uid);

The table contains the following information:

pid | type | uid
1 | "main" | 2
2 | "main" | 3
3 | "main" | 4
4 | "main" | 5
5 | "main" | 1

However print_r($result) gives something like:

DatabaseStatementBase Object (
[dbh] => DatabaseConnection_mysql Object
(
[shutdownRegistered:protected] =>
[target:protected] => default
[key:protected] => default
[logger:protected] =>
[transactionLayers:protected] => Array ( )
[driverClasses:protected] =>
Array ( [SelectQuery] => SelectQuery )
[statementClass:protected] => DatabaseStatementBase
[transactionSupport:protected] => 1
[transactionalDDLSupport:protected] =>
[temporaryNameIndex:protected] => 0
[connectionOptions:protected] =>
Array (
[database] => **_drp8
[username] => **_drp8
[password] => **
[host] => localhost
[port] =>
[driver] => mysql
[prefix] =>
Array (
[default] => dr_
)
)
[schema:protected] =>
[defaultPrefix:protected] => dr_
[prefixes:protected] => Array ( )

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x