Drupal is up and running but how do I ...?

Forms in Drupal

A beginners question regarding the quickest and easiet ways to implement simple forms in drupal.

I would like to have a form in a block that signs people up to a newsletter. All I want is their email address, either hit subscribe, unsubscribe and then submit, and have the values sent to a table in the database. I am not going to have any people creating user log-ins for this site (other than me as administrator), so this is the only way I am going to collect a list of people to mail to from my site.

Making PrivateMSG text box bigger

After banging my head on this for a few days, I figured it out.

If it's documented, gosh I feel dumb. If it isn't, well--

Look for:

  $form['privatemsgbody'] = array(
      ...
      '#rows' => 5

Change the "5" in "rows" to anything bigger. "20" is very nice.

Your non-techie users who don't see the resize arrow at the bottom of the box may complain about the non-exisitant or tiny box. Enlarging the box makes it more user-friendly.

Pathauto creating wrong URLs

I have installed the pathauto module for drupal 5 and am facing a small problem. My URL is composed of the date and the title of the post. The problem is that I'm getting the wrong date in the URL.

For eg a post with title "Drupal 5" posted on 21 Jan 2007 gets the url http://derek.profusehost.net/20_01_2007_drupal_5

Notice the 20_01_2007 instead of 21_01_2007? I don't know if this is a bug. Please help

Page not found - when not logged in

Hope someone can help. At my site www.superjacent.net/cms I get a Drupal generated page advising "Page not found". If I enter /index.php then everything is ok.

For what it's worth, I've moved my drupal installation from the root (superjacent.net) to a sub-folder (superjacent.net/cms).

Any clues please.

Steven Taylor
Melbourne Australia

Hostname in URL missing in the anchor/titles of nodes listed in views

Hello,

I have recently implemented views on an older site of mine and it works great, except the titles of the node objects listed in all of the views on the site are missing the hostname. For example instead of http://www.example.com/node/63 the title links to http://node/63 I set the URL in the settings.php file but this did not seem to help.

Any assistance appreciated,

Aaron

My whole site ruined because of a tiny error!

Seriously, I was just testing out aligns in the blocks and I made the mistake of closing the <Table align=”right”> with a </right> instead of a </table>

Then bam! The whole site got cut up into pieces, I tried to make out what was what and even managed to change the ‘right’ tag to ‘table’ but the whole site is ruined.

How can this distraction happen from such a little error?

Pages

Subscribe with RSS Subscribe to RSS - Post installation