submit buttons CSS not saving

My website is http://www.globi.ro running on Drupal 7.
I have a few issues with in CSS. I'm using Danland theme and I'm trying to personalize search and login buttons.
I've managed to configure them via CSS and it shows properly, except for the case I will press on Login button (top right of the page).
When I press to Login button, it will take me to the login page and... on that particular page, the search button and login doesn't show properly, like the CSS is missing.
Anyone knows what could be the problem here?

entity_id accessing fields

Ive been playing around with some of the new api in particular fields in Drupal 7

Its appears as if entity_id is the same as nid within the database - are there any examples of SQL snippets extracting some of the fields (entity_id) based on the the node information for examples fields that are attached to an article node

In short Im trying to join SQL queries - I hope this makes some sense

tks
M

Embed a .flv video file?

Hi,

I have an FLV video file that I would like to embed into the page on my Drupal 7 site.. I can't seem to find and "easy" way to do this..

Anyone got any advise how I can do this?

Thanks..

Help with new install of D7 with CiviCRM, Domain Access, Views, OG

I'm looking for someone to get CiviCRM, Domain Access, Views, and OG all talking nicely to each other on a new installation of D7. (I've tried it, and I'm getting error messages I don't know how to fix.) I can install D7 and create the associated databases; you would install all required modules and get them to work together.

If you think a multi-site approach might work better than Domain Access, I'm interested in hearing more.

Due date: June or early July
Please let me know how much you would charge for this service, and your expected start date and finish date.

display tags in one line

Hi
I am using drupal 7.2 and taxonomy in tags. it is showing line by line. But I want to show this in one line. What can I do

saveing new entity

Hi all

I am creating a new module for this i have created a new database.
I can load from this database but when i try to save to it it does not do what i expected.
I have the following code :


$stn = 1;
$storesection = storesection_load($stn);
print_r ($storesection);
$storesection[1]->caption = 'No body nows';
print_r ($storesection);
$check = storesection_save($storesection[1]);
print $check;

==== functions =====

function storesection_load($id, $reset = FALSE) {
return storesection_load_multiple(array($id), $reset);
}

/**
* Load multiple records.
*/
function storesection_load_multiple($ids = array(), $conditions = array(), $reset = FALSE) {
return entity_load('storesection', $ids, $conditions, $reset);
}

function storesection_save($storesection) {

$result=db_query("SELECT aid FROM storesection WHERE sectionid=:proid",array( ':proid' => $storesection->sectionid,));
$sid = $result->fetchField(0);
print '
';
print '
';
print_r ($sid);
if(empty($sid )){
// Adds the data to the entity table, and returns the new $storesection_id:
$aid = db_insert('storesection')
->useDefaults(array('aid'))
->fields(array(
'created' => REQUEST_TIME,
// Any other DB columns that you want to provide defaults for.
))
->execute();

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x