This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

Exposing Thumbnails to Views

Hello all,

I saw a few (indirect) question about how to expose thumbnails to views. I didn't see any answers, tho, so I had to figure it out myself. Here are my results: I'm sure there's room for improvement, but it's a starting point.

Where is the profile image update in user module

Hi,

Where is the part of code that uploads the image to the selected directory/folder when a user uploads his profile picture. is it the user_validate_picture() function in the user.module, that does this work. Please help
thanks
drupal_india

Views module breaks userreference CCK field type

In drupal 4.7.3 I have a CCK-defined node type "Project" that uses a userreference field called "AssignedTo."
That all works swimmingly.

I use the Views module to allow a filter-by the userreference field so I can see everything that's assigned to specific users.
My select box for the userreference field is off by one.

Example.
My uid/username pairs from the database are:
1=admin
2=brian
3=von
4=josh

My select box in views says:
0=admin
1=brian
2=von
3=josh

trouble with session variables

Would be _extremely_ appreciative if someone could offer advice on this...

I am trying to create a very simple system to display different navigation menus based on preferred langauge. (I know there are a few modules for multilingual sites, but all are far more complex than what I need, and most seem fairly buggy. Also, I'm trying to improve my understanding of Drupal's inner workings with this project.)

The first part of the project requires setting an $interface_language variable. Most site visitors will not ever log in, so I thought I should set the variable based on URL (e.g. the variable will be set to "english" when a visitor goes to www.site.com/home/en) and use a session variable to store the value.

My first approach was to use sess_write and sess_read (code below). This code seemed to work at first. But it creates havoc for drupal's user authentication system.

cck and forms

ok i tried to post a msg earlier but i got logged an the msg probably hit the abyss :(...so here is another try..

I have standard form {personal details} and depending on the page it is called from i append the base form with other fields such as {travel details| reading and tv requirements| custom request}

what i want to do is create standard/base cck node which contains {personal detials} and 3 different cck nodes for {travel details| reading and tv requirements| custom request} which contain the additional info required for each form.

image.module deleting files through ftp

Cannot delete files from files/images folder through ftp client. The server is telling me i dont have the required permissions even though i logged in as root.

And i dont want to do it from the drupal interface.

is there anyway to do that?

thanks guys

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions