force a standard text formatting?

What is the process to force a standard text format (i.e. certain width of paragraph) in a content type?

Drupal in WAMP (Windows 2008 64 bit server)

Hello!

I have moved the Drupal 7 from my development server [Linux] to my clients Windows server. It runs on a Windows 2008 64 bit O/s with WAMP.

Drupal was moved to the server without any issues but I found that the forms are not working in Drupal. I am not able to login as a normal or admin user, not able to register etc.

I read some where that Drupal 7 lacks support in WAMP as PHP version is 5.3. I tried installing thne PHP 5.2.11 also but then the WAMP server is stopped!

Can any one help me out?

Thank You for Your time

:)

hook_form_submit not being called

I've been working on creating a form that pulls stored values from a database and then when the form is saved, updates the database with all the current values of the fields. The method being used can be seen in the below code sample.

The problem I'm having is that I'm able to get this fully functioning, the form displays, pulling all requested data from the database. When the save button is clicked, hook_form_submit gets called, my debug trace displays and the database gets updated. This works up to a point. As I add additional #default_value assignments using the identical method, all of a sudden when I click the save button, hook_form_submit is no longer being called.

Any thoughts or ideas on what may be causing this or what I can do to figure out what is happening here?


function hook_form ($form, &$form_submit) {

$desireddata_recall = get_desired_data();

$form['fieldone']= array(
'#type' => 'textarea',
'#default_value' => $desireddata_recall[0]->desiredfield,
'#rows' => 5,
'#resizable' => FALSE,
'#maxlength' => 1056,
'#size' => 50,
'#required' => TRUE,
);
$form['submit'] = array(
'#type' => 'submit',
'#value' => 'Save',
);
$form['cancel'] = array(
'#type' => 'submit',
'#value' => 'Cancel',
);
return $form;

Rules to change node's CCK field value AFTER Ubercart checkout is complete

Hi everyone,

What I'm trying to do is that
1. after user has completed checkout
2.Rules will change one field value in a node by that user/customer.
And that particular field value is supposed to be
3.replaced by a product attribute value.

However, I cannot get anything to work out as planned. Especially Data selectors are always wrong and I cannot find any helpful information from google, documentation or Lynda.

Your assistance is more than welcome! Thanks!

Interior Design website for San Francisco designer drupal 7, galleria, and Omega 960

http://ruschmeyerandassociates.com/

Just posted this simple clean site for a San Francisco Bay Area Interior Design Firm, Ruschmeyer & Associates.

It uses the

Omega5 Theme
galleria - galleria
@font-your-face - webfonts

feedback is appreciated.. Just thought I'd put this out there.
thanks

Jack

Android browser says "The site is malicious and is blocked"

I don't think there is anything malicious on my site. FF and IE work fine but I have this problem with an Andrioid (Galaxy) tablet.

Any help?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x