drupal

Drupal sudden excessive memory usage

I'm running my drupal website on a VPS, the server suddenly stops responding and the stats shows a sudden excessive memory usage. I'm not sure if it's Drupal, but my database is hosted on another server. Can anybody help in this? ...

Drupal: Views cache and memcached

I'm using memcached with the page max set to 15 minutes. Does this mean that views cache is pointless? If I have a 5 minute views cache, it would be meanginless because the page itself wouldn't update for 15 minutes, is that how it goes? Thanks. ...

Drupal nested subform

I'm working on a directory service using Drupal where each place has more than one branch, I need to create the content type (branches) and be able to add branches using the same form of adding a directory item. Is there a module that helps me in doing is (if it's Ajax that would be excellent). ...

I need suggestions on C2C (Customer2Customer) PHP CMS

I need to build a website for customers advertising such as craiglist. I want to build it in PHP, and I 'm willing to use an open source CMS. I'm a very big fan of Drupal, but I don't now if stands well for this kind of sites. Could anyone suggest me a suitable CMS for my domain? Best, Demian ...

More required for Selling Videos, E-book, Softwares using Drupal 6x

Is there any module which can be used with Drupal 6.x for adding E-commerce especially to sell things like video, audio, e-books. There is one old module for Drupal 5.x called Quickfile. Is there anything new like this? Or what are modules required to achieve above stuffs. ...

How can I set a default value for the Location field of a location element in Drupal?

Hi, I am trying to set a default value for the location field of a location element in a Drupal form. I have figured out how to set default values for all of the other fields (address, additional address, city, state, zip, country) but can't figure out how to set the actual location default. My code: $settings = array( 'multiple' =...

Drupal 6 dynamic menu item

I need to create a menu item, which changes its title and link if a user has a certain condition, or not. Drupal caches all the menues, so i can't really think of a way to do that. For example, user has a node attached to his profile, menu item is "Create blabla" (link node/add/blabla) User doesn't have the node, menu item is "Create no...

Drupal WYSIWYG removing &nbsp automatically

When pasting content from WORD a lot of the markup is being cleared up by using "Force cleanup on standard paste" using TinyMCE and WYSIWYG module. It seems however to leave in the following code: <p>&nbsp;</p> Is there any way so that I can filter this out? ...

Display a node references' field as a table and not as a list in Drupal

I have a content types that has a field which holds a list of references to other nodes. By default I can display this as a list which holds titles or have the teasers. Is it possible to present these as a table instead? Is there a module for that or a trick in Views I could use? ...

How to paginate Views page display?

Hey Drupalites, So, Ive been making websites in Drupal for over 2 years now, but I'm profoundly stuck using Drupal Views module and paginating a page display. Basically I'm picking up a bunch of articles, sorting them by their date published and am limiting it to only 10 items per page, but I dont see a "More Link" and I have never trie...

drupal problem with creating word document files

i m newbie to drupal presently i m using drupal 6 version i have to generate the word document files for the selected nodes say (/node/166,node/21) we dont have any module to generate word documents or to generate pdf files with group of nodes we can generate pdf file for one object to generate word document file in php will be T...

Is there a good open source app for user profiles with custom fields, field grouping and good search?

I'm on a project to create a skills matrix for about 200 people and am hoping to not have to reinvent the wheel. Users will fill out and maintain their skill proficiencies using yes/no and radio or combo inputs. Skills are grouped by category (Technical, Web, Creative/Social). It needs to be easily searchable, and being relatively prett...

Help with ajax callback and drupal_process_form

I have a form that is added through the nodeapi displayed only on view mode. Users can select an item from a select menu and their choice will automatically get saved to the database with a hook_menu callback on change. If the user has javascript disabled, it'll submit normally with the form api. This is all working fine, but now for sec...

Drupal: content types URL?

Hi, I'm new to Drupal and I have a quick question: I've created a content type "news_section" for our site's news, but I have no idea how to access that. It says that I can access it by going to sitename.com/news_section, but that doesn't seem to work. Any idea how to do that? Appreciate your help ...

How to get the clicked menu item's $mlid in Drupal?

I'm trying to build a submenu based on $mlid. I've found a function that appears to do the job, but I just can't seem to figure out how to get the $mlid of the menu item that was just clicked. I found the function in a link on similar post here on SO (http://drupal.org/node/249257), but I can only find examples where the $mlid is set ma...

drupal indexing of uploaded documents (pdf, word, etc)

Hi there, is it possible to index uploaded documents in drupal and make them "searchable" via lucene or solr? ...

Drupal: Creating a simple blog?

Hi, I'm new to Drupal and trying get my head around it. I'd like to create a simple blog where I have a page that displays blog posts and the number of comments on each posts. Once the blog title or comment number is clicked, the user is taken to the post page. Simple as that. I'm using Views and CCK, and I was able to create the main ...

Drupal paths in themes

On certain pages drupal_get_path isn't working correctly (or it is and I've got the wrong function) The base path is wrong Example: Image is supposed to be at http://domain.com/sites/all/modules/pecapture/images/headline_dontmissout.jpg But when on http://domain.com/node/9 The URL is http://domain.com/node/sites/all/modules/pecaptur...

Extacting contents from excel in Drupal

hi! I want to extract the contents of a excel file and populate them in a new post( page) . I'd like to maintain the row-column relationship. Ex: sample.xls Name | Age | Sex A | 20 | M B | 30 | F C | 40 | M In Drupal (the one which i want) Name | Age | Sex A | 20 | M B | 30 | F C | 40 | M Is there any module in Drupal to d...

Module development tutorial in Drupal

hi! I'd like to learn how to create modules in drupal- modules which can interact with the user, database, assign permissions, views. Is there any good video tutorial or a simple sample module which covers these things? Thanks. ...