CKeditor does not produce wysiwyg

The CKeditor kills the linebreaks and images in the preview and also when I publish an article. Bold and italic are being preserved however, as are bullet lists. Anyone an idea?

Thanks in advance.

J

marinelli "Web page addresses and e-mail addresses turn into links automatically"

I like this feature, but on one page I have a small string of html that is showing as html so people can copy and past it to exchange links. The link inside this html string is automatically converting into a link. How could I make it so that it doesn't do this?
picture of what I'm talking about.
http://img696.imageshack.us/img696/6528/drplxam.png

best way to update jQuery

Hi everybody.

For a project I use some widgets from the jQuery UI (http://jqueryui.com/) which uses jQuery version 1.6.2. Currently a lower version of jQuery is installed on my Drupal 7 installation. I added a "scripts[]= js/path to js" to the .info file and it seems this solution works fine. Drupal overwrites the current jQuery version this way but, is this the right way to do it ?

Thanks,
Sven

javascript not fired

Hello
I'm trying to run some js in the node's body(php code enabled) :

<?php
<script type="text/javascript">
alert('toto');
</script>
?>

Not working...

<?php
drupal_add_js(
<script type="text/javascript">
alert('toto');
</script>
)
?>

not working either.
What should I do ?

Images URL issue!

I'm new to Drupal.

Have added a block in the footer region that contains a link to an image file, (My image folder is in my theme folder images/myimage.png)

I need the footer to be consistent throughout my website.

My footer image appears on the home page "http://mysiteurl/my image path"

but it does not appears on other pages.

As it prefix the "node" text before the image path "http://mysiteurl/node/my image path"

I dont know how to fix it.

how to add additional submit handler in drupal 7?

how to add additional submit handler in drupal 7? I have tried this but it did not work.

function c_coupon_form_alter(&$form, $form_state, $form_id) {
  switch($form_id) {
    case 'commerce_checkout_form_review':
      $form['actions']['submit']['#submit'][] = 'c_coupon_commerce_checkout_form_review_submit_handler';
  }
}

function c_coupon_commerce_checkout_form_review_submit_handler($form, &$form_state) {
  drupal_set_message('submitted');
  $form_state['redirect'] = 'node/1';
  
}

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x