Webforms
Confirmation message or redirect URL can be:
1) redirect to another page, e.g. 'internal:annual-review'
2) a page with a dynamically constructed link to a file, e.g. Thank you
Your requested file can be downloaded from the following link:<?php$url = $_SESSION['_download_url'];echo l('download', $url);?>
Cron
( cd /usr/www/users/epcons/proto ; /usr/bin/nice /usr/local/bin/php /usr/www/users/epcons/proto/cron.php )
Dynamic content
Legal Briefing: Main page is a view, limited to six, with link to 2008 archive also view (argument: $offset = 6). Note that offset only works if paging not used and if nodes per view is set to a positive number. 2008 page is a view, but with one item being a link to most of the 2008 archive on a static page. 2007 archive is a static page.
Search Attachments
This module needs a helper path setting:
/usr/www/users/epcons/proto/xpdf-3.02pl2-linux/pdftotext %file% -
In sites/all/modules/search_attachments/search_attachments.module there are strange characters befor the <?php start tag which caused header error messages and have been removed. If this module is reinstalled, they will need to be removed again.
There was also an sql error message on the files search results page which Vitalie troubleshot to change line 1031 of the module file:
/**
* Change made to the line below. Date of change: 26 July 2008
* Before the change the line was:
* $allowed_nids_result = db_query(db_rewrite_sql("SELECT nid FROM {node}"));
*/
$allowed_nids_result = db_query(db_rewrite_sql("SELECT nid FROM {node} n"));
See also http:/drupal.org/node/233506
