drupal-6

Drag Drop Portlets in Drupal

I want to create a portal interface in Drupal, with drag drop portlets. I should also be able to create my own portlets. I came across the following link http://aymanh.com/drag-drop-portal-interface-with-scriptaculous, but that is only compatible with Drupal 4. Any other way to implement the required functionality ? ...

How to display image into each recent post in drupal front page

I am very new to drupal. As I have seen many of drupal free theme can show image in the recent post on the first page of drupal (i.e. --http://yfrog.com/13drupalj) I tried searching some ways to do but seem my keyword search was mismatched so I would be greatly appreciated if anyone can help !!! Many Thanks ! ...

Duration field is not listed in sort criteria.

Hi I am working on a website which has a list of challenges and when a person click on a challenge it displays list of all the participants and their timings. I have added cck field duration to get the timings. But i want to sort the view according to the duration field but duration field is not coming into the sort criteria. Can anyone...

Facebook share and tweetmeme not working

Hi I am using face book share module and tweetmeme module and also enabled them and selected the content types on which i should show. But it is not displaying on either of the pages.I have checked with different browsers. Any suggestions please. Kanwal ...

What is the easiest way to index (for the search index) 70,000 nodes?

What's the easiest way to index (for the search index) 70.000 nodes in Drupal ? I'm running cron every 3 minutes (500 nodes per run) but it doesn't seem to be that fast. Thanks ...

Check author of referenced node if the same as acting author in Drupal Rules module

Hi, I have a node type (A) that is referenced by another node type (B). I want it so that every time node type B is created, the author of node type A is notified. I can set up a rule with Rules module with this setting: DO action Load a referenced node action Load the author of the node action Send a mail to a user But now I also wa...

Drupal, 80.000 nodes View: what search engine to enable ?

hi, I've a view with 80.000 nodes. I need to add a search field and 1) I was wondering if I can enable the "Search filter" directly inside the view. Is it going to an endless search ? 2) Should I enable the main drupal search. Is it going to be an endless indexing ? thanks ...

some query statement not working with db_query(Drupal)

Why does some query that works in mysql doesn't work with db_query? For instance - " SELECT * FROM {tb1},{tb2}WHERE {tb1}.vid=%d " (Of course I substitute %d with actual vid value while I'm testing in mysql environment) "SELECT f1,f2,...,f10 FROM {tb1} INNER JOIN {tb2} ON {tb1}.vid = {tb2}.vid WHERE {tb1}.vid = %d AND {tb2}.vid = %d A...

Drupal, broken view, need help

Hello I am getting strange problem. When I am listing some content type, intead of data I am getting 'n/a' string. I listed views, and on one view I have 'Warning - Broken view!' message. I can't edit / delete this view because it always redirect to front page. I checked my logs and all I see is repeating: # warning: Invalid argument...

Drupal: CCK Integer field type length?

What's the maximum length for the CCK Integer field type in Drupal? Thank you! ...

Drupal jquery submit form without submit button

Hi, I have a drupal form which i post using jquery when you select an option from a selectlist (a sort of quicksearch selectlist). The porblem is that when i submit by clicking the button, it works. When I use jquery, and the button is in the form (hidden or not), it works. When I use jquery and I rmove the button, the post is done, bu...

Drupal DB Query

Hi, I have a problem with a custom query in drupal: $brief = db_query("SELECT * FROMdr_wiwe_profile_valuesWHEREfid= 16 ANDuid= 266"); This query returns resource(286) of type (mysql result) resource(562) of type (mysql result) . What is wrong with my query? ...

Adding items on top of others with ajax, in view (or block)

Hello fellow drupalers, I have a question about ajax loaded views. Lets say i have 15 items, and i have the pager to show 5. Now i want to have a button that says show "more". when the button is pressed i want the view to load an additional 5 items in the view. So if i have lets say animals. cat,dog,panda,snake,worm,zebra,lion if the pa...

SQL injection in Drupal

Is this all to stop SQL injection in Drupal? db_query('INSERT INTO {tablename} (field1, field2) VALUES ("%s", "%s")', $field1, $field2); ...

How do I create a standard content template for Book pages in Drupal 6?

I am working on a Drupal 6 site and need to create a Book where each book page has the same basic structure. I'd like to use a shared template. Is there a Drupal module that allows me to create book pages from a shared template? ...

How KDE website changed drupal path

When you go to http://akademy.kde.org/ the register link is http://akademy.kde.org/register - no user in path It goes to http://akademy.kde.org/user/register with user This is a drupal website. How you think they did this? and how to make it stay at this path http://akademy.kde.org/register no user in path? ...

Secondary Links in Blocks in Drupal 6

Is there any way by which secondary links/primary links can be printed in a block ? In block-my_module.tpl.php i have this piece of code <?php if (isset($secondary_links)) { ?><?php print theme('links', $secondary_links, array('class' => 'links', 'id' => 'subnavlist')) ?><?php } ?> Which i took from a sys theme , i can print this in...

Saving drupal webform data to a database

Hello, Im using Drupal version 6.19 and the webform module in Drupal to create forms.I have two forms on my site.When the user submits the form, where in the drupal database are the entries saved for each form ? Please help Thank You ...

Drupal: Token for date CCK field as plain text

I'm using the Rules module to send a mail and I'm inserting a token that represents a CCK Date field. This token contains HTML formatting which should not be present in a plain text mail. So when I insert the token I get <span class="date-display-single">06.09.2010 - 15:52</span> Instead of 06.09.2010 - 15:52 which is what I want...

how to hide gmap header

I have an map on jBox on my drupal 6.x site. Now what I want to do is hide/remove the address bar that shows url to kml file and the links at top right and corner as shown in the image below. My issue is I can't seem to override the google map css because apart from few data everything else comes from google map/google. I have attached s...