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

Flexinode - accessing values of select boxes

Hi all. I have managed to have a great deal of success creating custom content types using a combination of flexinode, cck and contemplate but am stumped on one point. The custom content type has two select boxes and I want to display the selected values in fields above the content, not inside the body.

Here is an extract from the current template:

Date: print date('d M Y', $flexinode_29);

Author: print $flexinode_30;

Sorting taxonomy output

Hi all,

I was wondering if I could sort the output of a taxonomy? The default output appears to be creation time (with new items at the top). However, I want to sort via node title (A to Z).

I could do this easily with the views module, but then if I click on the taxonomy links at the bottom of the node, I get the taxonomy view...sorted by time!

New field when creating a node

Hi,

I would like to add a new field when a user is creating a node. The field data will then be shown on the published node wherever I decide to put it. Can anyone point me in the right direction to do this and where I should begin.

In theory it seems relatively straight forward but as i'm not a programmer I may struggle (if it is a difficult please say so!).

Thanks for any help.

Best way to obtain the current active language (when using i18n module)?

Hello,

I found there are 2 ways to determine what the current active language is:

  • i18n_get_lang()
  • global $i18n_langpath;

Both methods rely on the i18n.module and they both return the current active language as a two-letter code (en, fr, es...). But the first method is a function and the second method is a global variable.

Any idea which should be used? What's the best practice here?

Thanks.

SERVER_RESPONSE_CLOSE error in Admin with new modules

Hi,

I get the following error in < mysite.com/admin > when I try to activate a new module:

[code=SERVER_RESPONSE_CLOSE] The server closed the connection while reading the response.

The rest of the site appears to be functioning well. I'm using Drupal 5 RC1

I read somewhere this could be due to the PHP memory limit, but I just paid for an increase from 8 mb to 16 mb and I still get this error.

Is there any way I can check that it has indeed been upgraded? And what else could the problem be?

Pages

Subscribe with RSS Subscribe to RSS - Post installation