Blocks are shown under content area

I am using the default theme bartik for my drupal 7.9 website.But all the blocks placed at the right side of the page are seen under the left side of the main content area on internet explorer 6. I have noticed no problems with any other browsers.
Any help would be most appreciated..

Access Denied, on every stinkin page

I have been working on my site for most of the day with no real issues until now. I was mostly filling out the content for the FAQ.

And then when I hit save the last time, for no apparent reason it said Access Denied. So I tried to go back to the main page, access denied. I tried to log back in, access denied. I can't get anything to show other than access denied now. My whole site is gone. Is there a way to fix this or should I just go find some dynamite?

Theming forms on alter with Drupal 7

I'm having issues customizing a radio button for a specific form using hook_theme. Below is the piece of code I have on my module; see my comments elaborating the issue I encounter:

<?php
// Implementation of hook_form_alter().
function mymodule_form_alter(&$form, $form_state, $form_id){
// e.g form id: commerce_cart_add_to_cart_form_u6onPJSgS7pOgw0Tlo7zHy42LTQzbV913taANkYQKTo
if (strpos($form_id, 'commerce_cart_add_to_cart_form') !== FALSE) {
// Alter add to cart form
mymodule_commerce_cart_add_to_cart_form_alter($form, $form_state, $form_id);
}
}

function mymodule_commerce_cart_add_to_cart_form_alter(&$form, $form_state, $form_id) {
// Change the field type to radios.
$form['attributes']['field_artwork_ref']['#type'] = 'radios';
// Apply my custom theme for radios.
$form['attributes']['field_artwork_ref']['#theme'] = array('custom_radios');
}

// Implementation of hook_theme().
function mymodule_theme() {
return array(
'custom_radios' => array(
'variables' => array('element' => NULL),
),
);
}

function theme_custom_radios($variables) {
// Custom theme should go here.
// However, $variables are empty, print_r gives me "Array ( [element] => )."

Creating Content Type to display image on left and text on right

Hi All,

I am using the default Bartik theme in Drupal 7. I am trying to create a new custom content type which enable user to display images of preferred size on the left and corresponding text on the right. Shouldn't be a problem if the text wrap around at the bottom of the image if the text exceeds the image height.

The content type I created always display the image bottom or on the top of the text. If i use Colorbox module, I am able to display the images in between the texts but it is no way displaying to the images and text side by side.

Mass add files to database.

Hi All,

I have over a 1000 albums with 10 to 20 tracks each. The folders are by Artist and then album with the tracks and cover artwork. I am running drupal 7.8 and php 5.3. I have the files uploaded per FTP to my sites/default/files/audios folder.

My question is: Is there a module to parse the folders and write the file data to the database.?????

Currently I have uploaded a few, which are put in the default sites/default/files folder and shown in the database table as //public/filename. I can delete the files because they are already in the folders I described above, and then edit each database path url entry to the correct path and Views will display the jPlayer with the correct album playlist. I can't do this for 10,000 tracks.

Am I going about this the wrong way????? Currently I create a new view for each album and populate with filter path = album name to get the correct files to list in the player.

I also have a page with each album cover and title as links to the album view in views. It all works fine, but would take months to upload and correct the paths and other information.

Any sugestion would be welcome. If views could just read the folders would be great, not database necessary, but the database info will be useful to construct other search functions and page or view designs.

Overwriting the files-folder (local -> online)

With every project I stumble upon the same issue, which seems not to be overwhelmingly documented.

In some cases the client wants to see to progress of the website, so I upload the local installation to the online server (shared), which works fine, same goes for the database. There's only one problem: there's no way the files-directory (sites/default/files) can be overwritten.

No matter what I try with changing the permissions: acces denied. The only alternative is: uploading the files manually through the Drupal CMS, as the client would do...

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x