SA-CONTRIB-2011-059 - Meta tags quick - Cross Site Scripting (XSS)

  • Advisory ID: DRUPAL-SA-CONTRIB-2011-059
  • Project: Meta tags quick (third-party module)
  • Version: 7.x
  • Date: 2011-December-14
  • Security risk: Less critical
  • Exploitable from: Remote
  • Vulnerability: Cross Site Scripting

Problem with IE and my Drupal 7.9 site that uses Ubercart 7.x-3.0-rc2 - JavaScript error's!!!

In IE only am I seeing these errors. Please visit my site using IE to see what the problem is

http://calouacollection.com/2011/ - upon first entry to my site you'll see a webpage error warning if your debugging in enabled. Something like

Line: 65
Error: 'jQuery' is undefined

Any help would be greatly appreciated.

I thank you in advance for any advice.

P.S. and this is occurring in all versions of IE, the site works fine in all other browsers and platforms.

Comment form on frontpage

Hi,

I would like to add a quick reply box under each node of my front page.
So i want to click a link that displays a 'quick reply' form and then the user can add his comment from the front page.

I'm quite noob to drupal and have been looking for this answer but i don't find anything.
Any hint on how to display a form to add comment from the front page?

Thx

Lx

Creating Widget with Selectlist

Hello,
I want to show a Select Field where the content author can select a user with a specific Role (In my case role id = 4)
I'm trying to do this with a Widget. My select field works and also my database query but i don't know how to put the received uid and username as options into the select field as id and value.
It should looks like:

<select class="form-select">
<option value="_none">None</option>
<option value="0">Anonymous</option>
<option value="1">admin</option>
<option value="22">Bob</option>
<option value="45">Marry</option>
</select>

This is my Code:

<?php

/**
* Implements hook_field_widget_info().
*/

function selectuserbyrole_field_widget_info(){
return array(
'selectuserbyrole_selectfield' => array(
'label' => t('Select user by Role'),
'field types' => array('entityreference',),
),
);

}

/**
* Implements hook_field_widget_form().
*/
function selectuserbyrole_field_widget_form(&$form, &$form_state, $field, $instance, $langcode, $items, $delta, $element){
$element = array(
'#type' => 'select',
'#default_value' => '0',
'#value_callback' => 'selectuserbyrole_field_widget_value',
);
return $element;
}

function selectuserbyrole_field_widget_value($element){
$result = db_query("SELECT u.uid, u.name, ur.uid, ur.rid

Parse error?

I just created a new content type using the core image field for my homepage banner. I created new, uploaded my image, then hit save and received this error:

Parse error: syntax error, unexpected '{', expecting '(' in /home/content/87/8673987/html/dev/sites/all/themes/new960/page.tpl.php on line 26

Any help?

error in joomla to dupal mod

I am new to dupal.I have 7.9 installed. I have been using joomla 1.5 for a few years now. I attempted to use the joomla to dupal mod to move story from my joomla site to the dupal site and got this error. I can't make heads or tails out of the error statement, as I am not moving any user account from the joomla site only stories.Hopefully you will be able to tell where I have made my error.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x