drupal

How can I automatically run cron without pauses?

I need to index 80.000 nodes. The max amount of nodes I can index per each cron run is 500. I need to run crone 80.000 / 500 times to index the entire website. How can I automatically schedule these runs (when a run is finished, the next run automatically should start)? I don't have SSH access so I cannot use drush. Thanks ...

Drupal Views an NodeReferences: Linking to URL in referenced node

Hi there, I have a cck-node with some node-references like PDF-files, videos and so on. Now I want to build a view that lists all those files, which i already have. Yet I can only get the links linking to the referenced node. I'd like to have them link to the file in the referenced node. Hope a generic example makes it clearer: -- A...

Update warnings

1) Can I automatically receive an email from my Drupal website when new updates are available ? 2) Can Drupal automatically update itself ? Is this risky ? ...

View not working with url alias!

Hi My view is working with www.localhost/drupal/node/13 but not with www.localhost/drupal/challenge/13 I have changed the node/13 to challenge/13 using URL alias. Even my page path settings are: challenge/% It is just linking to its node rather than displaying the view. Can someone please help? Thanks Kanwal ...

Drupal create a page that outputs JSON

Hello, I would like to ask can one create a page that outputs JSON data as a response to Jquery Ajax request? In a non-drupal way, I would just create a php file, for example mypage.php and then I would use http://mysite.com/mypage.php?foo=bar as the URL for my AJAX request. This page will then output JSON data using json_encode(). Ho...

Drupal - different images for different languages

Hi all, I have to "i18n" an existing drupal installation and add a second language. I have an image on the homepage that is defined as a 'background-image' in a CSS file. The image contains text, thus I need to show different images depending if the URL is: http://mysite.com/en/ or http://mysite.com/es/ How can I show a different ...

When I upload term image to new Forum topic, it doesn't show

Hi, When I upload term image when creating new forum topic, it doesn't show on website. Instead there is some random image from exact foolder ... it is changed by another programmer in forum-list.tpl.php file. There is this: <div class="forum-item"> <a href="<?php print $forum->link; ?>"> THIS img-> <img src="/sites/all/the...

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 ? ...

Drupal - mixed taxonomy and keyword search

Hi all, I'm sure I found a similar question on here the other day with no definite answer - now I can't find it to reference it. A simplistic version of what I'm trying to achieve would be a couple of selects in the form: color: red, blue or green flavor: apple, pear, banana and a keyword text box. That's it, but I can't work out how ...

Drupal Secondary Links Front Page Issue

I'm trying to get my secondary links (which are using primary links as the source, so the children of the primary links) to display as a dropdown on every page. However, since (im guessing) there is no active trail on the front page, the secondary links aren't displayed. How do I set them so that I can display the secondary links on th...

Drupal - Security check all site paths by role

I'm writing this in the forlorn hope that someone has already done something similar. I would have posted on drupal.org - but that site is about as user-friendly as a kick in the tomatoes. I don't know about you, but when I develop I leave all my Drupal paths with open access, and then think about locking them down with access permissio...

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 ! ...

enable tinyMce on all the node except one.

node/* user/* comment/* This is what i am using to enable tinyMCE drupal on particular pages. Now what i am looking for is to apply on all the NODES except the one having id (eg 100). How can i do that. ...

Drupal and View module - Defined fields are displayed only if user is logged in

hello, Working on site development using Drupal. Using View module also. I did defined severar node's fields I need to show on View layout. My problem is that all those are displayed if visitor logged in, but if he's not logged in, is shows only one node field.... Fields are displayed as html table. Can you help me how to solve this?...

Drupal View Output

First let me start by saying that Im trying to find the best practices in themeing views and it has been torture, its seems theres a million ways to do anything in Drupal and none better than the other... but heres the issue. Im developing a site. Each "area" of the site will have its own content type. Each content type will have its ow...

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 ...

Changing a standard text input into a jquery calendar popup using webform module in Drupal?

I have a simple booking form in Drupal created using the webform module. I wanted to change the date / time fields from texboxes to a Calendar popup. Can this be done? ...

Keep Drupal updated

Hi, I am trying to keep a couple of Drupal sites updated and I tired of the whole process. I recently find out about Drush and I was wondering if there is a module or a CRON command I can setup to keep the sites updated for me. Thank you. ...

Drupal's Taxonomy access permissions - setup help needed

trying to setup drupal's taxonomy module (http://drupal.org/project/taxonomy_access) to administer access to specific categories. i have two categories of users (two kind of roles). all i'm trying to do is to setup that one have access to some category, and other not. i did made proper(?) changes in admin/user/taxonomy_access and (ie.)...

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...