Hi,
My server (ubuntu 8.04) LAMP running drupal 6, when there is high traffic, it stops serving pages. A restart of apache2 will not work, so I have to restart the service.
I found this message in the apache2 error.log
[notice] caught SIGWINCH, shutting
down gracefully
Also I notice that the process id of the apache2, was aroun...
I'm making a custom list of nodes and their comments. I'd like to be able to both constrain the number of nodes (easy: Items per page refers to nodes in this case) but also constrain the number of comments displayed per node (e.g. the 5 most recent):
Node number one
Comment 1-3
Comment 1-2
Comment 1-1
Node number two
Comment 2-7
Com...
What do I call my override function in template.php?
themename_user_login_block() ???
I need to alter this line:
$output .= drupal_get_form('user_login_block');
to something like this:
$output .= drupal_get_form('themename_user_login_block');
Thx,
John
...
Hi,
I have been trying to enable jquery UI module and have been unable to to do. I realised that the documentation is crappy but even following the community from
http://drupal.org/node/434424
doesnot seem to work. Any pointers???
...
Is there a module in Drupal that allows me to put link at the end of a page?
I tried to use menu and put it as a block at the footer, but the menu items are arranged vertically, instead of horizontally.
Is there anyway to do it without ( preferably) touching the CSS and HTML?
...
I'm trying to generate unique id's on the 'a' tag of the menu item so that I can implement Popups API.
This is what my function in template.php looks like:
function phptemplate_menu_item_link($link) {
if (empty($link['options'])) {
$link['options'] = array();
}
// If an item is a LOCAL TASK, render it as a tab
if ($link['t...
I am finding a suitable Drupal theme for news. My requirements are:
the ability to put the login block, and the user information menu at the top of the screen.
the ability to put a menu constructed using nice menu mode, at the content top area.
supports both 2 and 3 column layout
I don't mind shelling out my credit card to buy on...
I am building a niche community site, the initial choice of software is Drupal. is it good for social networking application?
...
Hi there,
I've been using a drupal 4.7 installation for many years, and have had a recent problem crop up. That is, the rewritten URLs are now displaying these characters: ?q= in every drupal generated URL as follows: http://sitename.com/?q=path/alias , where before it would be: http://sitename.com/path/alias .
My best guess as to why...
I have tried using Drupal 5 and 6 and can't find a solution...
I have been trying for months to get this seemingly simple functionality. a simple example would be this:
you create a book (parent) with 10 pages (children). If you delete or un-publish the book the children remain. to me, this makes no sense at all.
So my question is ho...
I'm writing a security module to allow enabling of certain modules for a multisite Drupal setup. Right now, we can disable the Modules form easily using the following snippet.
We would like to set the form elements to readonly and then enable the ability to enable/disable only a subset.
function disable_form_fields_form_alter(&$form, $...
I am evaluating open-source CMS systems to see which one(s) would be the best option to deliver rich mobile web based applications for mobile handhelds.
So far I am leaning towards Drupal because it seems to be the most extensible, flexible, best performance (cache & compression, etc) and has a good user management system.
The CMS mu...
My designer noticed that in the source for a drupal site, all the .css files were getting appended a ?1 that he was concerned would break things. Why is it doing this?
<link type="text/css" rel="stylesheet" media="all" href="/modules/modules/node/node.css?l" />
<link type="text/css" rel="stylesheet" media="all" href="/modules/modules/sy...
Drupal has a gmail contact importer module that's been oh-so-close to working for about 7 months now. I don't have the chops to debug the problem, the maintainer vanished, and I think this is an important piece to have working. So I turn to StackOverflow for help.
The Problem: When you fill in your credentials and tell the script to b...
I am building a product review site, is there a catalog manager module or third party catalog manager that works for Drupal?
...
Let's suppose I have created a view that shows some kind of stories.
But I want to show this view in a left bar - not link to view, but the view itself.
How can I connect my new view with a fixed block position?
I want to be able to show real view data in various places on my page.
Is it possible or I am limited only to central area and...
Can anyone suggest a better place than drupal.org to find quality themes?
...
I can't for the life of me figure out where the hook_search function in drupal is located. Is it something I need to add to a file to access?
...
Im getting T_String error on this code, its saying more accuratly on the 2nd line ($form['com...) and i simply cant see why.
function _maxlength_comment_type_form_alter(&$form, $form_state, $form_id) {
$form['comment']['comment_max_length'] = array(
'#type' => 'select',
'#title' => t('Maximum comment length'),
'#defau...
Doing node/%/lightbox2 would do it, but I can't figure out how to make a dynamic link to the node!
Ideally, each node will have a thumbnail, and that thumbnail will trigger the lightbox2-viewed node
...