Accessing fully expanded menu tree in 6.x

From what I have seen, it is possible to access the entire menu tree in 5.x as menu_get_menu() returns the children in $menu['visible'][$pid]['children'].

Pasting images in clipboard while creating new content

Is there anyway to post an image in clipboard while creating a new content in Drupal?

Currently we can format text with web-text-editors like tinymce, but I can't find anything able to "auto-upload" an image when I press Ctrl+V, after a print screen...

This would be an awesome feature to add to tinymce, or drupal, but I can't think of a way to implement this... Could this be done with AJAX, or Java??

Automatic login to Drupal after external authentication (SSO?)

Hi,

I have an existing non-Drupal web app, with its own user repository and login process. I now need to deploy a Drupal site, for use by the same users, that will be automatically accessible to any users who have already logged-in to their original web app account.

The original web app provides a SOAP API, and some PHP includes which allow me to ask the main web app "is the current user logged in". This function will either return an array of the user details (username, real name, email etc) if the user is logged-in, or will redirect to the original web app login page otherwise.

I've been instructed to invoke the "is the current user logged in" function at the point that any page is requested from my Drupal app. Which hook should this call be placed in to ensure it is invoked for every page requested, before any content is sent back to the HTTP stream?

Drupal 6 function in Drupal 5

I'm a really big fan of the "Split summary at cursor"-function in drupal 6 dev. Is is possible to get is to work in Drupal 5? I tryied to use the theme_textarea in the HEAD API and including the js but it didnt work.

http://api.drupal.org/api/HEAD/function/theme_textarea

E-Mag - Online Maganize

Hi,

I am interested in making an online magazine website which will have articles of my friends about several topics.

I want to group the articles in both article category and magazine number.
I dont want to have a blog site but an online magazine website.

Is it possible ?
I think it is but the management part of the content makes me confused.

Any idea ?

One other thing is the serving the article content.
Is it possible to have 2 column article body with pictures and such ?

Thanks

$_SESSION or Drupal cache_set/cache_get?

I'm looking at multi-step forms with Drupal. I've had this working on Drupal 5, and am migrating my module to Drupal 6. I've noticed that core forms.inc now uses cache_set/cache_get for storing form information between requests, where it used to use $_SESSION. I also have need to store form information between requests, and actually need to get my data stored before the first form request (so I need to do it outside $form_state['storage']).

Pages

Subscribe with RSS Subscribe to RSS - Drupal 6.x