Notice: Undefined index: priority in node_access_acquire_grants() with image uploading

Hello, I'm new with drupal. My problem is that after installing ckfinder the image uploading (when creating contents) doesn't work. CKfinder does not upload images, but neither does the normal upload button. Instead of the expected behavior, i find this message:

Notice: Undefined index: priority in node_access_acquire_grants() (line 3277 of /Applications/MAMP/htdocs/drupal/modules/node/node.module)

And -of course- the photo is not shown in the (e.g.) article's body.

Does anyone have this same problem?

Invoking Janrain Social Share Widget in a Drupal Form

I want to invoke the Janrain Social share widget on submission of a form that I have created in Drupal. I have tried the following options - Created a function around the social share javascript widget and tried invoking this function on an onclick event on the Submit button, as well as calling the function through the standard myform_submit function. But none of these invokes the widget, which is a pop up..following is the code..any help is welcome

......
......

$form['submit'] = array('#type' => 'submit', '#value' => t('Submit'), '#attributes' => array(
'onclick' => 'callshare();'),
);
  return $form;
}

OR

function myform_submit($form, &$form_state) {
callshare();
}






JAvascript 1 var rpxJsHost = (("https:" == document.location.protocol) ? "https://" : "http://static."); document.write(unescape("%3Cscript src='" + rpxJsHost + "rpxnow.com/js/lib/rpx.js' type='text/javascript'%3E%3C/script%3E")); Javascript 2 RPXNOW.init({appId: 'myappid', xdReceiver: '/rpx_xdcomm.html'}); Javascript 3 ( below widget to be invoked) function callshare(){ RPXNOW.loadAndRun(['Social'], function () {

News archive, I want show only the tile...

(views related) Hi i have successfully create an archive for my news! But when I click on given month i see all news with full body. I want to display their TITLES only. How to achieve that ? Any ideas are welcome.

Views - translation problem

Hi. I got problem with translating views TITLE, PATCH, SUFFIX and PREFIX. How to translate them ? I have installed i18n and almost everything is in 2 languages, but there isn't (!?) or i can see option to translate views. Any advices are welcome.

Manually assigning block to a region in drupal 7

Hi,

Can you please tell me manually how can i assign a block to a specific region at runtime.

For example - how can I change the home page banner block with different blcok if i click some button.

regards,
DPMALLIA

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x