Postings by Salvatore De Paolis

[development] Theme subscription's links from notifications

Hi,
i'd like to theme the links created by the notifications module, like subscribe
to content, type, author, ecc.
For doing that i'm try to hook the link_alter and overwrite the link in the way:

global $user;
$options = notifications_ui_subscribe_options($user, 'node', $user);
$i = 0;
foreach ($options as $index => $option) {
$notify = 'notifications_' .

[support] Create content image return a connection interrupted

Hi all,

I'm not sure it's an image, filefield or imagefield module issue but
while trying to upload anything more than ~60kb i get this error.

Connection Interrupted
The document contains no data.
The network link was interrupted while negotiating a connection. Please try
again.

These are my options in php.ini

file_uploads On On
upload_max_filesize 2M 2M
upload_tmp_dir no value no value
post_max_size 8M 8M

Any help? I've tried it on two different installations and i get the same issue.

[development] Add data to Drupal session

Hi,

I'm new to this mailing list, I hope is the right place to ask for such
questions.
I'm writing a module for drupal which implements a jabber client and hooks in
the appbar module.
The issue i'm having now is regarding the data used for jabber communication.
I'm using a jabber class and I need to store this object somewhere so that the
_init code is just executed one time.
I thought about sessions and I found a couple of ways, both don't works
properly for me.

First is using the global $user:

function jwclient_jabberclass_init() {
global $user;
if (!isset($user->jabclient) && $user