Message after file_transfer

I'm developing a small db access module. In the admin pages, I allow the export of a table as CSV (through clicking a link). I use file_transfer after having gzencoded the export. I'd like to be able to display a message after the transfer but so far I haven't figured out how. I have tried adding the "Location:" header as a last header argument in the file_transfer command, in order to reload the referring page, but that voids the file transfer.
Thanks in advance.

Possible to make a secondary template?

I'm using CCK and ConTemplate to have nice templates of certain content types.

However, for a couple content types, I want to make an additional template to use for sending email versions (similar to a "print version" but rather an "email version")

Would this require custom template development, or is there some module / other existing way to make this work?

inTERRAgate - Drupal based project launched

Hi Drupal community,

We recently launched a drupal based project - inTERRAgate - and thought we'd drop you a line and let you know - it has the potential to get quite big so could provide some nice publicity for drupal. Site suggestions, critisms, praise are all welcome!

The website is freely accessible at http://www.interragate.info, and provides a framework for uploading natural hazard and risk data at a national level, together with in-country contact details for disaster first-responders. InTERRAgate was launched in March 2007, with introductory information on natural hazard threats in ten of the world’s most vulnerable nations (Azerbaijan, Bangladesh, Cameroon, Chile, El Salvador, Indonesia, Iran, Jamaica, Mexico and the Philippines). Like the online encyclopaedia, Wikipedia, inTERRAgate is designed to be ‘owned’ by data suppliers and users, who are able to upload information and influence content. Its ultimate success will, therefore, depend upon registered data suppliers from around the world uploading textual and graphical information to supplement initial data and to expand the country portfolio.

tweaking htaccess for mod rewrite and clean urls with Donhost

Hi Guys,

I got stuck with trying to get clean urls working with a DONHOST server account recently and thought I would post up here in case it helps others with a similar problem.

For reference, the donhost account I had problems with was Apache (Version 2.0.55), PHP Interface CGI with PHP Version 5.1.2.

The out-of-the-box .htaccess that comes with Drupal has always got Clean Urls working for me without any modification in the past, but, on the DONHOST server it returned an "Internal server error" when trying to run the Clean Urls test on the Admin -> Settings page.

To compound the problem MOD_REWRITE (the apache module that automatically catches links and returns clean urls) wasn't showing up using a simple PHPINFO.PHP file. The host was insisting mod_rewrite was installed and enabled and because it wasn't showing in phpinfo, I assumed it wasn't.

Anyways. I'm not a server/apache expert but the way I got around it was to un comment the rewrite base line in the .htaccess file:

# Modify the RewriteBase if you are using Drupal in a subdirectory and
# the rewrite rules are not working properly.
# RewriteBase /drupal 

So I ended up with this:

PHP block appearance : react to $node->body

Hi experts,

I've tried to influence on the appearance of a block, inserting PHP Code in the appearance rules with the block admin interface. I want the block to appear, if a regular expression finds distinct words in the content part of the website ($node->body). My problem, neither $content nor $node are available in the functions, that let the blocks appear.

Need help with forms! (new to drupal and php)

Hello all!

my situation:

I have "events" that people will be creating with a link to a registration form. now i want to only create one form but don't want the user to have to select the event, I want it to be automatic.

is there a way of either:

Pages

Subscribe with RSS Subscribe to RSS - Drupal 4.7.x