This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

Popular Search block - proposed method

Sorry guys if this is inappropriate here. But this is a little way we give back to the community here :) for newbies, you can make the Search block more attractive and directive

We believe the default Search.module could have the `Popular Search' tied to search log, and can also be added manually by admin whatever he/she wishes site visitors to search.

Being PHP-illiterate, the way we did it is just a manual way of copying the resulting HTML code of Search block, and adding that and links inside a custom block.

So the code:

Statistics - Internet access

Views example?

Hi! Is there any better documentation for the views module than http://drupal.org/node/42609 ? I'm dreadfully confused.

Cron Error with Duplicate entry

I am using Drupal: 4.4.1 on Linux2.4.20 . I customized the notify module.

Hacking fbu, and I'm stuck.

Hopefully someone can point me in the right direction. In essence, I ran fbu through form updater, which zeroed in on hook_settings, and got that bit loading under last night's CVS. What's got me flummoxed is this section:

	if (variable_get('fbu_files_backup_interval', 0)) {
		if (!file_check_directory($backup_path)) {
			form_set_error('fbu_auto_backup_path', t('The automatic backup path does not exist, or is not writeable.  Automatic backups will not begin until you fix this error.'));
               // else if and so on...

The module calls for the directory to be absolute, and I've tried every combination I can think of (its running in a win32 apache sandbox, so obvious choices were http://localhost/sandbox/files/fbu, G:\apache\htdocs\sandbox\files\fbu, etc.). Since form_set_error is preventing the values in the variable table from being set, I've manually deleted them before attempting to set a new path, but without any better result. My apache and PHP error logs aren't offering any useful diagnostic info, nor is watchdog; I'm pretty sure its not the forms api, because the rest of the form runs smoothly.

If it helps, these are the entries from the variable table:
fbu_email s:24:"maxbell@hostingthing.com";
fbu_files_backup_interval s:5:"86400";
fbu_auto_backup_path s:34:"http://localhost/sandbox/files/fbu";
fbu_archive_type s:3:"zip";
fbu_max_email s:1:"5";

Prevent displaing descendants

I switched of the "Display descendants" but still get it.

Sample:

- Portrait
- Products
- Pro1
- Pro2
- News

Adding a node to pro1 and pro2
clicking on products will display the teaser of pro1 and pro2 nodes

whats wrong?

Display random RSS feeds in a block?

I just wanted to know if there is anyone out there who built some function by which I can set a block to randomly display an RSS feed from a pool of feeds that I determine. Any ideas?

Thanks for the help, as always!

Sean

http://www.cctvcambridge.org

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions