User login

Needs Improvement

Workable solution needs improvement

Drupal 6 wigs out if you delete or move (as in rename to settings.php) its default.settings.php

This right here? Really, really lame.

Warning: fopen(./sites/default/default.settings.php) [function.fopen]: failed to open stream: No such file or directory in /sites/example/www/includes/install.inc on line 187

Warning: Cannot modify header information - headers already sent by (output started at /sites/example/www/includes/install.inc:187) in /sites/example/www/includes/install.inc on line 617

SSH over the Web

Facebook comment left by high school friend and genius Jonathan Craven:

I know you're more of a PHP guy, but there's a nice Java webapp called SshWebProxy that lets you use ssh within a web browser when you're not allowed to use port 22. The interface is pretty primitive but it can really be useful in a jam.

Hmm, so a smartphone would be all I need?

Resolution

Ask Agaric: Putting e-mail addresses on a site?

My spam filter is now catching close to 300 messages a day.Since my email is the only one on the website, I’m wondering if these spams are coming via the website? And is there something that can be done to stop this?

We’d like to load all the staffs emails but I won’t do it if it increases their possibility for this much spam.

Thanks.

If we didn't write this already, as a rule one should not have any e-mail addresses listed on a site. There are ways to obfuscate e-mails, but it's better use the contact form.

Figuring out the HTML code to generate and the CSS to use for placing CCK fields in the corners of a textfield

Text outputs as:

<div class="field field-type-text field-field-featured-product-desc"><div class="field-items"><div class="field-item"><p>win win win</p>
</div></div>

Image outputs as:

Drupal theming tip: theme_ functions you should NOT override

Theme functions are designed so that they can be overridden, but the building block theme functions provided by Drupal core should be left alone.

In discussion with a colleague, who provided all the insight paraphrased below, talking about some of the Drupal gotcha's we've seen get talented people not sufficiently indoctrinated into the Drupal way.

With one site, the designer overrode a ton of theme functions.

Like lists. So now menu_list is no longer an ordered list but a gathering of content

Search PDF attachments on a Drupal site

There's A Module For That!TM

Way back like 3 Boston drupal meetups ago, moshe mentioned a module that would scrape thru PDF attachments and allow drupal to search them...

Got any idea what that module is called?

Found it? Maybe here?

http://groups.drupal.org/pdf

Ahh, found it direct-- here:

.htaccess workaround for local development, files not in web root

Another reason for setting up your local dev environment with "domain names" on localhost.

(I think this was the error)
Not Found

The requested URL /index.php was not found on this server.

(anyhow, this is the solution)

http://localhost/example/www/node/7
(did not work-- home page did though?)

(Not the problem)

Sidebar graphics with links ("promotional badges") the Agaric Drupal way

A note of warning about the length of notes to follow: This is site configuration at the point where it verges on developer documentation, such is the power of Drupal, and there's some outright theming in here too. This article is a reaction to doing sidebar graphics the painfully non-Drupal way.

Theming CCK Views the Agaric Way (with background)

Note that Views and CCK's imagefield module have excellent imagecache integration and you only need these steps if you want very fine-grained control-- in our case, automatically populating the ALT text of the image with the node title.

/admin/build/views/wizard

and

http://agaricdesign.com/note/how-theme-lots-views-agaric-way

and then a little

Syndicate content