Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I have been creating books to represent issues/volumes of a magazine. I now have 4 issues online and over 100 book node pages. The outline function of the book module is a bit overloaded. It might be nice to be able to have a meta outline feature or to hide the subnodes when using the outline tab. Any such feature out there?
This would make a more scalable navigaition system. Likewise the menu system is hard to use after about 20-25 items. Any one working on an elegant solution?
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 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
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
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.
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.