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

template.php file

Are there any rules on using the template.php for including functions

I'm trying to place functions in there and call them later but the function dont seem to be recognise the additions in the template file

any material on the template file has the core to recognise the file

later

M

flexinode/max doesn't link the images external

Hello,

I have installed Drupal 4.6.6 with Flexinode/max. I have created an image field. My problem is, when I upload a picture, how can I externally Link this to another page?

If I click a pic in the teaser a new website (external link) should be open...

I have to change the code in the file modules/flexinode/field_image.inc

tinyMCE adding plugins problem

As a total newbie to drupal I was thrilled to find tinyMCE. I'm using version 4.6.0. All is going well, but I'm confused about how to add new plugins (I searched the forums for quite some tiem but had no luck). The README file of any plugin usually gives the following instructions:

Installation instructions:
* Copy the searchreplace directory to the plugins directory of TinyMCE (/jscripts/tiny_mce/plugins).
* Add plugin to TinyMCE plugin option list example: plugins : "searchreplace".
* Add buttons "search,replace" to the button list.

Promoted to front page in order that they;ve been made

I'm using this code with the front_page module:

How to add RTF as an acceptable file extension for file uploads

I need to be able to allow users to upload documents that are saved in the .rtf format. I tried adding "rtf" to the upload.module code as an addition to the list of file formats that are acceptable. Apparently that doesn't work as I am now getting the following error message:

The selected file test.rtf can not be attached to this post, because the disk quota of 1 MB has been reached.

How can I make profile date field optional?

Hello!!

I would like to configure profile module in a way that visitors to my website can put their date of birth. But since it is a private question, I want to make this field optional and not required.

So, I make sure that the "required" setting is checked off. But since it is not something like "--" by default, some date always shows up even if nothing was specified. So it is virtually a required field with false date inserted into it...

How can I make date field optional and maybe show only "--" or nothing at all?

Thank you all for your advice.

Pages

Subscribe with RSS Subscribe to RSS - Post installation