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

Clean url's again...

I never got clean url's to work with Apache 2.0.49 and php 4.3.4 with drupal 4.4.1 despite several tries reading different posts here and checking, rechecking my httpd.conf and .htaccess.

I upgraded php to 4.3.7 and now it works.

Very odd!

Has anybody else had this problem and the same solution?

Cheers

Inserting data into db: Path Templates, MySQL

I have written a bit of code that currently stores data in the "variables" table of the database. However I've come to realize that I want this data in a separate table.

Questions

  1. When using Drupal's forms (form_select, etc.) how do I save the data to a table other than "variables" (example: path_themes)?
  2. Is it possible to save part of the data to the "variables" table, and part of the data to a new table (see FULL code example)? I have placed some additional forms into an already existing "_settings" function, and I'm wondering if the "return $output" will be able to post content to two different tables.
  3. What is the proper syntax for creating a new table (see MySQL example)?

Code that I want to save in a separate table (path_themes)

$paths = mxtemplate_get_paths (); // Get list of paths (from function)<br>
  $num = count($paths); // Get number of path items (used in loop)<br>
  <br>
  $header = array(t(&quot;Path&quot;), t(&quot;Change Template&quot;));<br>
  for ($i=0; $i &lt; $num; $i++){<br>
  $rows[] = array($paths[$i], form_select(t(''), $paths[$i], variable_get($paths[$i], 'default'), $files));<br>
  }<br>
  <br>
  $group = theme(&quot;table&quot;, $header, $rows); // using theme function to display data<br>
  $output .= form_group(t('Path Templates'), $group);

Drupal and Slashcode

Is there anyone who has worked on migrating from Slashcode to Drupal? I'm most interested in moving the users over with their existing information, followed by their journals, and then the stories. I realize that it'll probably take a good bit of hacking, but if someone has already done it or has clues on making it easier, I'd really love to hear it.

Locale

Hey!
I've got Drupal 4.4.1, and installed the locale module.
Then i installed and enabled it. Fine.
At Administer -> Localization i'd first export an original .po file. That one i edits by hand in notepad. I just translates a few strings - for testing. Then i import that .po file to the given language. It gives me this message:
"PO file successfully uploaded and 4 translated strings loaded into database."
Fine. But. It doesn't seem like any of thoose four strings gets translated?

Blocks without styling?

Hi,

I am looking for a way to include a few blocks within my normal block layout, but without the usual css styling included. In other words, I want to keep the styling I have applied for normal blocks, but add a few blocks with no styling. My reasoning for doing this is to use them for simple images, ads, etc, without these entities being framed in a standard block and I want them embedded in my normal block layout.

How's the best way to do this?

Navigation list in alphabetical order

Hi

I want my navigation block to appear in alphabetical order. How do I do this? If it matters I am using the interlaced theme.

I know know php but I am capable of following instructions

Pages

Subscribe with RSS Subscribe to RSS - Post installation