jQuery not loading in none admin pages

Hey Guys, I would like to ask if why does my jquery not loading on none admin pages. I'm editing my tpl file in my theme folder and all my jquery codes are working fine when I'm logged in as the administrator but if i'm not, my jquery doesn't load. Please help me with my problem. Thank you.

Huge security question: user become logged in without effectively login (just opening the site)

I'd like to know if someone have ever experienced this behaviour: opening the site a user finds himself logged in as a privileged user as if a login action has been performed, but it's not the case! This is a huge security problem, obviously!

I would like some advices on what to check and, mainly, how to debug it... a big problem is that I'm not able to reproduce it, so I don't have access to the client device experiencing it, and this is why I need to put some code around to have exhaustive logs of the phenomenon.

Setting file destination to form upload file example code.

function form_example_tutorial_1($form_state) {
// This is required to upload files.
// enctype="multipart/form-data" required by browsers to handle files.
$form = array(
'#attributes' => array('enctype' => "multipart/form-data"),
);

$form['file'] = array(
'#type' => 'file',
'#title' => t('Document'),
'#description' => t('Upload a file, allowed extensions: pdf xls'),
);

$form['submit'] = array(
'#type' => 'submit',
'#value' => t('Submit'),
);

return $form;
}
// Wysiwyg API bridge & IMCE
/**
* Validate handler for form_example_tutorial_11().
* Verify the valid extensions, and verify content is an image also.
*/
function form_example_tutorial_1_validate($form, &$form_state) {
// $file_directory_path = $file_directory_path.'/test';
$file = file_save_upload('file', array(
'file_validate_extensions' => array('pdf xls html doc txt'),
// 'file_validate_is_image' => array(),
));

// If the file passed validation:
if (isset($file->filename)) {
// Move the file, into the Drupal file system
// $newpath = variable_get('file_directory_path');
if (file_move($file, $file->filename)) {
// Update the new file location in the database.
drupal_write_record('files', $file, 'fid');
// Save the file for use in the submit handler.

Is there any module that is integrating the d3.js library

Hi all,

Is there any module that is integrating the d3.js library. i.e using this http://d3js.org/ we need to implement the visualization to the data.

How to List Users' Blogs with Blog Post Count in Drupal 6?

I want to create a view that lists all users' blogs with the number of blog posts in each blog post next to the username.

It should have usernames that link to blogs, and the number of blog posts.

I know how to list all users, but not how to list all blogs or the number of blog posts in each blog. Does anyone know how to do this?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 6.x