Installation using socket

Hi there,

I'm trying to install drupal 7.4 but I'm kind of lost. On the server two MySQL versions are running. I got the following information from my hosting provider:

Hostname :localhost:/tmp/mysql5.sock
Socket :/tmp/mysql5.sock

Unfortunately, the install.php script fails when using this hostname in advanced options:

Failed to connect to your database server. The server reports the following message: SQLSTATE[HY000] [2005] Unknown MySQL server host 'localhost:/tmp/mysql5.sock' (1).

After upgrade to 7.4, updating modules gives error "Interface 'ArchiverInterface' not found in system.archiver.inc on line 11"

An AJAX HTTP error occurred. HTTP Result Code: 200 Debugging information follows. Path: /batch?id=361&op=do StatusText: OK ResponseText: Fatal error: Interface 'ArchiverInterface' not found in /modules/system/system.archiver.inc on line 11

Thanks in advance for any suggestions on fixes.

About multilingual views with menu links

Hello folks,

I have created a multilingual site in Drupal 7. I'm using Views in my site with a filter for the content user's language, so I can have the view in English and Spanish. However the menu link and the header of the view can only be display in a language. Do you know how I can translate it?

Thanks!

How to associate different CSS classes to a cck select field according to its values.

Hello everyone.
I am developing my personal site and i was trying to style a certain cck field with a specific class.
Let me explain better.
What i have is a content type called "Piece of Work" and a field called "Status". The "Status" field is a select list and can have 3 different values "Developing/Testing/Production Phase"
What i am trying to accomplish is to show the "Status" field in teaser and as well as full node view in 3 different colors and styles (given by my already made css classes) depending on the select list value.

Developing Phase: red style
Testing Phase: yellow
Production Phase: green style

Here is a screenshot to let you better understand my environment: http://dl.dropbox.com/u/9706192/worksection.png

Obviously the first one that has "Development Phase" as value should be red instead of yellow. The present CSS class i used is this:

.field-name-field-status .field-items{
margin-left:10px;
margin-top: 2px;
width: 85%;
background-color:#ffb73b;
border-width:5px;
border-color:#000000;
-moz-border-radius:50px;
-webkit-border-radius:50px;
border-radius:50px;
/*IE 7 AND 8 DO NOT SUPPORT BORDER RADIUS*/
-moz-box-shadow:0px 0px 10px #000000;
-webkit-box-shadow:0px 0px 10px #000000;
box-shadow:0px 0px 10px #000000;
/*IE 7 AND 8 DO NOT SUPPORT BLUR PROPERTY OF SHADOWS*/
}
.field-name-field-status .field-items .even{

Display several fields in one line

Hi again,

I'm still using Drupal 7.4 and Bartik theme.
I created a content type to publish game reports. I created two additional fields, one for the home team and the other one for the opponent. My problem now is that I want to display both team names in one line (maybe seperated with a dash) and not one below the other.
How do i do this?

Cheers,
Rainer

iphones dates in nodes are 01.01.70

I believe this is a known problem with iPads and iPhones.

Is there any way to rectify it?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x