How to move image previews below image upload input?

Does anyone know how to theme a file upload field so that the image previews are below, not above, the image file "choose" input.\?

something has disabled jquery or javascript in D7 Omega

I'm not a developer and having a hard time troubleshooting a problem with my website. I have a few jQuery effects on various navigation buttons, and it looks great. But as soon as I install a large feature by a developer, I lose the effects. Sometimes it appears to disable all javascipt, but right now it just appears to be the jQuery, as my dhtml menu is opening dynamically.

I don't know where to start troubleshooting.

The contents of my jq_cust.js file:
// from http://drupal.org/node/171213
// Using the closure to map jQuery to $.

(function ($) {
// Store our function as a property of Drupal.behaviors.
Drupal.behaviors.mytestfade = {
attach: function (context, settings) {
// Do something
$("#block-menu-block-8 .menu-block-8 > ul > li").hover(
function () {
$(this).addClass("hoverme");
},
function () {
$(this).removeClass("hoverme");
}
);

}
}

}(jQuery));

(function ($) {
// Store our function as a property of Drupal.behaviors.
Drupal.behaviors.animMenu = {
attach: function (context, settings) {
// Background color animation
$("li#dhtml_menu-436 a").hover(function() {
$(this).animate({ backgroundColor: "#993366" }, 400);
},function() {
$(this).animate({ backgroundColor: "#333333" }, "fast");
});

$("li#dhtml_menu-437 a").hover(function() {

How do I access extra arguments from the url within Rules conditions?

I have a rule that needs to test a condition such as if the path /node/%/edit/somethinghere has the extra argument somethinghere. I know I can use the arg() function to return an array of arguments. How can I get Rules to be aware of this array?

Content Access by Username

I have installed Content Access in Drupal 7.9 and am setting up a site to use as an Intranet site for my company. I have over a dozen users (salesmen) who need to have access to reports specifically for each of them. I am new to Drupal and struggling through as a non-developer.

Best way to integrate custom tables (including many to many relations) into views, forms (CRUD)?

I'm trying to setup an architecture (with D7 offcourse) for an application that imports large amounts of product information. Products typically have a various amount of attributes (like size, weight, color, etc...), a suitable solution is to have a table called products, and another table for attributes and a third (bridge) table called products_has_attributes with foreigh keys to both tables.

There is no problem in creating the schema using the schema API (have it generated using Schema) and when it comes to creating views, that can also be done programmatically using a custom-base icw joins. But i'm kind of stuck when it comes to entities... I'm having trouble in identifying the entities and projecting those against the existing tables and modules to be created to support all this.

I've been reading that integration with the Fields API is one of the main reasons for creating entities; but for the custom tables i rather stick to the schema-api and update from there.

I guess:
- Entities are helpful when i want to enable editing (updating) the existing entries using a form.
- And also i would like to use entities to define access permissions for view, update, etc...

How to apply a different layout to my view slideshow

Hello there, I would like to place the thumbnail views of my slideshow horizontally under the big image ... take a look at my slideshow here: UglySlideshow

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x