drupal-6

How to theme the ctools modal window

Does anybody know how I can theme the ctools modal window. I've tried putting the css that it comes with in my own theme to over-ride it, but that is not working for me. Thanks! ...

How do I add items in Primary Links automatically as soon as some user publish new content.

I am building a website www.etutornetwork.com, in top menu I have included a link to a new content type [services]. I want to add a link in dropdown menu as soon as I publish new content in services. Please Help, Thanks in advance. and one more question, I dont want to give any name to one of the menu in the site. I tried using or leav...

Urgent Help Drupal Module Write to Database Using FAPI

does anyone know of a tutorial that shows creating a form and writing that data to a database? This is what i am trying to accomplish or can anyone put together the simple code so that I can understand how it works? It would be greatly appreciated! ...

How to disable personal contact form option in drupal user account creation.

I am a drupal beginner. When a user creates his account he/she has the option to have a personal contact form. Where do I go to disable that? It's not in permissions. It's not a bad option but I know it will confuse the hell out of my site's users. It may even scare some away! ...

importing content into drupal.

I have a wordpress site with 5k post and each post has average 25 comments. so 125k total nodes have to be added. I need import those posts and comments into drupal 6 . I have written a script to import those post/comments into drupal by drupal's cron service. but the cron service keeps time out. because import 125k nodes one by one i...

limit by taxonomy in view

I use view to show node and i set filters to taxonomy:vocabulary (select 3 taxonomy). I want set limit by vocabulary (1 vocabulary show 3 node). Anyone know how to do this? Please help me. Thanks ...

combine 2 view into 1 view

Is there a way to "merge" 2 different views into one view? i need to control how many of each content type are displayed ...

Front page Featured Section

I have a website where users register their projects for a certain event. I'd like to highlight certain projects on certain days on the front page. What's the easiest way to add a "Featured Section" that accomplishes this? I know I can go through and make the post sticky but that seems tedious. Is it possible to use Views to do this or ...

How to turn off authoring information for a drupal page

Is there a way to hide date and user info from a page post in drual? ...

Drupal advanced ACLs for "untrusted" administrators

I have a multi-site Drupal-6 installation containing websites of different customers. On each site, there is an "administrator" role that includes mainly the customer's account. We want to give as many permissions as possible to this privileged user, but this could bring to security leaks using just the Drupal Core permissions managemen...

Embedding inline advertisement in nodes in Drupal 6.x ?

Hi, I am struggling to insert inline advertisements on the fly in node content same as done by "Adsense Injector" module but with a different network, any suggestions ? Thanks ...

Is there a customizable form in drupal similar to the contact form?

I need a form to enable user to enter event info in three fields (what, where, and when). Then I would like to be able to present the events in tabular form. I don't know PHP. Does drupal have a module for this purpose? ...

Best Website Statistics tool for Drupal

What is the best free Website statistics setup I can have for Drupal 6 on Apache? Particularities: 1. Multisite install. Might want to look over several sites. Should be able to restrict view for clients to their own site. Some hits are bypassing Drupal. Some urls are not public. Some sites have little traffic, it would be nice to b...

What is the correct way to bootstrap Drupal with Kohana 3?

Hi, I am trying to implement single sign on between an existing Drupal site a Kohana 3 based webapp. Ideally I would like to load Drupal's session information into $GLOBALS using the bootstap: require_once('../includes/bootstrap.inc'); drupal_bootstrap(DRUPAL_BOOTSTRAP_SESSION); A post on the Kohana forum suggested that this should b...

Drupal adding JS

I know this is not a Drupal forum but this forum is quick at responding so I thought I should give it a shot. Here's my problem. I'm trying to insert reference to the javascript file in the header by using drupal_add_js function. I placed this line inside template preprocess function of template.php. The result....is not working at all. ...

How do you promote blogs to a page other than the home page in drupal?

I really like the promote to home page feature of drupal. But what if I want some content promoted to a page other than the home page. Is that possible? ...

Drupal View with Taxonomy Argument Display

I have a view with an argument based on Taxonomy Term and a page display. I get a nice summary list on the display, but I'd like to show an image and the taxonomy term. Any way to do this non-programatically? Currently the page looks like this: I'd like something like this: (just an idea, exact layout is irrelevant at this point) ...

Drupal Views: Display recent nodes created by user on profile page

I'm wondering how I can display the recently created nodes by a user on their profile page. I've created a new page for a user at /user/%user and I want to be able to display the latest nodes created by that user. ...

Debugging Drupal 6

OK, I've read and attempted all of the tutorials I can find on being able to debug a locally installed Drupal 6 instance. I'm on Windows, 32-bit. I have access to Eclipse (obviously) as well as Visual Studio 2005/2008. I've yet to be able to get any of the Eclipse options (XDebug, Zend, etc.) working to be able to step through code, i...

Combine two views into one view

I have two views that I would like to combine into one. The first view shows all items of X where company ID = Y. This is to give preferential sort to the client first, and then everyone else. So I created a second view, all items of X, where company ID != Y. I created it as an Attachment to attach to the first view, but I don't think...