Drupal is up and running but how do I ...?

Attach images that are pasted into TinyMCE

When you copy text/images from a webpage and paste it into tinymce, it keeps formatting and everything is cool. However the images are linked externally. Is there any module that will automatically attach all images in the body of a node? If not, can anyone give me some tips on how best to implement this sort of function?

Thanks

using node_load with a url alias instead of an NID?

This seems like something that should be real easy, but i'm not sure how to do it. currently i'm using node_load with an nid from an array of nodes (at least i think that's what it does).

Is there any way to use node_load with an alias instead? This would just mean one less area to maintain. i.e. (node_load(latestblog) or something like that?

Any help is appreciated.

Weighted tag cloud in blocks !

Hello,

I have a problem displaying tag clouds in a block. I using tagadelic module to display the tag cloud. The block is not displaying weighted tags (i.e more often a tag is used, the larger its font size). The tag cloud page at www.mysite.com/tagadelic is displaying a weighted tag cloud. But the tag cloud in the block is displaying all tags with the same size.

Does anybody know how to fix the weighted tag cloud block ?

Thanks
Jay

Default page when bogus query string entered

I'm trying to find out how to set a default page for when the query string doesn't match any useful action.

For example, when someone manually enters a URL such as http://mydrupalsite.com/?q=blahblahblahblah.

I'd like this request to forward to the front page but currently it seems to be forwarding to one of the other pages on my site and I am having difficulty determining why that particular page is chosen.

Thanks.

Block Admin Form Not Pulling Current Setting from DB

In admin/block/configure, I'm having intermittent problems with the "pages" field under "page specific visability settings."

When editing an existing block the form is not pre-populating the field with the current value from the database. The field on the form is empty, even though the there is a value for that field residing in the database.

The fact that the problem is intermittent makes it just that much tougher to solve.

Any ideas?

Shai

unable to change password from "My Account -> edit " page

Hi,

When I try to request new password from the drupal using automated email, it works fine.
However when I try to go to "My account -> Edit account information" and change the password by typing the new password twice in the boxes, and hit submit button,
I get this error:

"warning: Cannot modify header information - headers already sent by (output started at /app/www/html/drupal-4.6.3/modules/user.module:213) in /app/www/html/drupal-4.6.3/includes/common.inc on line 192."

Lines 213 in user.module is this function:
function user_validate_name($name) {
print $name;
if (!strlen($name)) return t('You must enter a username.');
if (substr($name, 0, 1) == ' ') return t('The username cannot begin with a space.');
if (substr($name, -1) == ' ') return t('The username cannot end with a space.');
if (ereg(' ', $name)) return t('The username cannot contain multiple spaces in a row.');
if (ereg("[^\x80-\xF7 [:alnum:]@_.-]", $name)) return t('The username contains an illegal character.');
if (ereg('@', $name) && !eregi('@([0-9a-z](-?[0-9a-z])*.)+[a-z]{2}([zmuvtg]|fo|me)?$', $name)) return t('The username is not a valid authentication ID.');
if (strlen($name) > 56) return t('The username %name is too long: it must be less than 56 characters.', array('%name' => theme('placeholder', $name)));
}

Lines 192 is:

header('Location: '. $url);

Pages

Subscribe with RSS Subscribe to RSS - Post installation