drupal 7 theme builder?

I just wonder what drupal 7 theme builder is gonna look like. Are there any news?

I was hoping that there will be a way to adjust the sidebars from browser. Sometimes when your picture in the content section is too big, it overlaps with the sidebar, it would really be nice if the sidebars adjust themselves, or if you can adjust it from browser.

module for field level permissions

Hi all!

A few days ago i started considering how to solve the following UseCase in Drupal:
- Have a node with some information and some downloads
- only participants can view and access the downloads

Thoughts:
- use new node-type module and add all functionality
- use cck for new node-type
- use userreference module for the participants
- use download-module from drupal (and node and file hooks)
- use cck download field and hook_field_access() from cck

I have done:
- Created new ContentType including the UserReference and the FileField
- wrote the following code for fieldaccess_userreference

Problems:
- I cannot access the $nid - is there an other way to access the current node??
- Does the download-link work if a field is inaccessible? (first tests seem so - with dl method set to private)
- How far is the integration (iin the upper mentioned case) inn Drupal7 or how will i solve this in the upcoming version of drupal (might be an option ^^)


/**
* Implementation of hook_field_access().
*
* @see content_access().
*/
function fieldaccess_userreference_field_access($op, $field, $account) {
//TODO: read the configured fields - current version shows/hides all fields
global $user; //current user
global $nid; //current node
$node = node_load($nid);
$access = FALSE; //later: get default access permission

Timeline Drupal 7.x

We are searching the planned timeline for drupal 7 release. This url
http://buytaert.net/drupal-7-timeline
looks promising, but it gives "acces denied". I´ve read that is expected for 3Q this year but also that is expected for July. Looking at the number of pending bugs & critical issues the latter looks optimistic, but is the planned schedule plubished somewhere? Accuracy is not important, just to have an approximate idea.

Change style of Menu

I have Drupal set up and running with a template that I applied to the system. I created a menu under the Admin menu and it shows up fine. The admin menu shows up when I log in to the backend. The Admin menu is colored blue and I like the way it looks but the menu I created is black and I don't like the look of it. Can someone tell me where I would start looking to change the menu I created so that it looks like the Admin menu.

Thanks,

Jason

Thingking of migrating to Drupal and Ubercart for www.premiumslings.com project

Hello folks,

I created a website for Neneng - owner of http://www.premiumslings.com/babysling. They sell baby slings and
baby wraps.

The project hisrtory:
I initially built the website using plain html and manually coding php/mysql. About a month ago she decided to go with Joomla! and OScommerce! I didn't like the idea mainly because I didn't want to loose those hard work I have put up for her initial website. But, in the end - I didn't really care since she is paying me hourly anyway. So I went ahead with the project. I am getting too burned out of Joomla for various reasons. Oscommerce sucks big time so I convinced her to go with Magento! it went flawlessly but then when I came to integrate her Paypal and Google checkout, it won't work in Magento! You can see the example of how messed up it is when you go to www.premiumslings.com/babysling then try putting something in the cart and click checkout. You can see the google check out link smaller than a snut! I have spent countless hours researching on how to fix this and get it going so I could get her off my back with no such luck!

The question:
Is it worthwhile migrating to using drupal and ubercart as a pair?
Will ubercart be as pain in the rear as magento?
Will I have the same problem?

update a field with ajax

i wrote this module to update an existing form with a field that indicate the time with ajax

this is my "test.module"


function test_form_alter(&$form, $form_state, $form_id) 
{

if ($form_id=="webform_client_form_9")
{

    $form['time'] = array(
    '#type' => 'textfield',
    '#title' => t('time'),
    );

	}

drupal_add_js(drupal_get_path('module', 'test') .'/test.js');
	
	
	
	}

this is my "test.js"

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x