Graphic generator with links

Hi,
I'm very interested in migrating our corporate intranet to Drupal. I need a module to generate on the fly graphical procedures such as this: http://img52.imageshack.us/img52/1553/proc.png . It also would be create if each independent element could be a link to separated pages. I also need to be able to generate a hierarchy graph such as this one: http://img52.imageshack.us/img52/6787/hierarchy.png

show Adsense-Ads after the first paragraph in Content depending on the node-type and user-role

Drupal 7: How can I automtically show Adsense-Ads in Content after the first paragraph (or after a certain word-nr.) and depending on the node-type (i.e. blog: show ads; page: no ads) and user-role (authenticated user: show ads, guests: show ads; admin: no ads)?
Thank you!

Editing and checking upload_max_filesize

Hi,

When I add these lines to settings.php (at beginging of ini_set approximately line 220):
ini_set(‘memory_limit’, ‘60M’);
ini_set(‘post_max_size’, ‘40M’);
ini_set(‘upload_max_filesize’, ‘40M’);

and these lines in .htacces (below approximately line 33)
php_value memory_limit 60M
php_value post_max_size 40M
php_value upload_max_filesize 40M

To try increasing the upload_max_filesize I get this annoying messege:
Notice: in include_once() (line 270 of D:\NetBeans\addons\xAMPP\htdocs\drupal7\sites\default\settings.php).
Notice: in include_once() (line 270 of D:\NetBeans\addons\xAMPP\htdocs\drupal7\sites\default\settings.php).
Notice: in include_once() (line 271 of D:\NetBeans\addons\xAMPP\htdocs\drupal7\sites\default\settings.php).
Notice: in include_once() (line 271 of D:\NetBeans\addons\xAMPP\htdocs\drupal7\sites\default\settings.php).
Notice: in include_once() (line 272 of D:\NetBeans\addons\xAMPP\htdocs\drupal7\sites\default\settings.php).
Notice: in include_once() (line 272 of D:\NetBeans\addons\xAMPP\htdocs\drupal7\sites\default\settings.php).

As you can tell I'm running it localy under xAMPP.
How can I check if the upload_max_filesize has changed ? (I yet don't know how to set the upload dialog to a node in drupal7)
If it had changed how can I get rid of this annoying messege ?

How To Use Amazon s3 + s3fs + .htaccess as secure and private file system - No Modules Needed!

Ok, I'm super pumped right now. After a day of trial and error with a dozen different modules that try to integrate Amazon S3 as a way to store files and serve them through drupal, I THINK I FOUND THE DREAM SETUP!!!

Right now I have a completely seamless integration with my s3 bucket as a private file system for my Drupal Video Website. Files are upload straight to Amazon and then served straight from Amazon just like files on the local server.

Prerequisites:

- Dedicated or cloud (VPS) server. I am using 1and1.com Cloud Server $50/month and I host a bunch of sites on it. www.1and1.com?k_id=13279938

- An Amazon s3 account. Super cheap and awesome. Leave you settings on s3 to private so that your files are not accessible without authentication.

Then do this...

1) For private file system I use .htaccess. This one line that makes sites/default/files/private/* authenticate through drupal...

RewriteRule ^sites\/default\/files\/(private\/.*)$ index.php?q=system/files/$1 [L,QSA]

2) On my server I setup s3fs. Instructions here http://code.google.com/p/s3fs/wiki/FuseOverAmazon

Where is the Full HTML text format?

I have searched all over and found no documentation on the removal of the Full HTML text format in Drupal 7. Yet I can't find it anywhere or implement it as the administrator. Anyone have this working?

Example of changes to make hook_block() work with Drupal 7 (from Drupal 6)

I have just completed the upgrade of the User Role Summary (URS) module to Drupal 7. I had a job to find any documentation in a single place clearly explaining what changes I had to make to get the hook_block() working with Drupal 7.

Here is the code updated to Drupal 7, with comments showing what I had to change from Drupal 6. Hoping it helps someone.


<?php

/**
* @file
* The User Role Summary module
*
* The User Role Summary module provides a block which gives a summary
* of each of the users roles which exist, and which when clicked go directly
* to the user admin page filtered for users of that role type.
*
* The block will be enabled on the http://example.com/admin/build/block page
* and has the title "User Role Summary".
*
* For example, the block might contain something like the following:
* - Administrator (1)
* - Basic member (328)
* - Full member (7251)
* - On-hold user (114)
* - Suspended user (504)
*
* You will see that in brackets is the number of users who have that role.
*
* If, for example, you click on "Full member" you will go to the
* people page http://example.com/admin/people/user with the user filter set
* to "Full member".
*/

/**
* Implement hook_permission()
*
* Valid permissions for this module

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x