drupal

How to reset radio buttons selections on postback?

This is a Drupal Forms question. I am working on a UI that dynamically creates rows of 3 radio buttons based on a selected date. The problem I am having is that if I make some selections of the radio buttons and choose another date to get another set of radio buttons, the radios that were in the first list maintain their selected status...

Finding the file path in drupal

Hi Iam a php developer, and iam new to drupal.I have installed a drupal site. For normal php sites. we can find the file name from the browser path, for modification for eg: browser url : www.mysite.com/test/upload.php File path :test/upload.php. for drupal:http://localhost/mydreamhouse/article/557 what is file path? for drupal :h...

hook_menu for sitename.com/content-title

I want to use sitename.com/content-title for one possibly two content types. I can’t seem to add the correct wild card/token the menu hook. $items['%'] = array( … ); Is this possible? ...

Help with potential trojan passed through site

So I'm pretty sure my site's been infected with some kind of trojan or virus that attached itself to the scripting within the site. Every time I try and update my Drupal-based site, I get a white screen with this stupid "i'mhere" message. Upon reload, the changes will take affect but I don't know what this is doing once changes are saved...

Imagecache with amfphp and flash multiple issues

Hello, I inherited a project with drupal and flash, and I'm pretty noobish on the topic so please don't bash me. What I'm stuck at is that I need to create multiple thumbnails for each uploaded image (5 version to be precise with different settings eg. 150w, 250w,..) I created the presets but I can't seem to understand how imagecache w...

Drupal 6 administer nodes permission is ignoring content type permissions

I'm needing to set different 'create content' permissions for different user roles. This only appears to work when a particular role has not been given the "administer node" permission. However, without this permission the role does not have permission to control whether or not the node is published (which I require) or to view the conte...

How can I disable DHTML menu on one of my drupal menus?

Hello all, I am new to drupal so forgive me. I made a menu and it was automatically created as a DHTML menu. I wanted to style the menu myself and just simply want the 'ul.menu' tree to be printed. Instead, it's doing some javascript and unnecessary CSS. can i disable DHTML menu for this particular menu? thanks! ...

hook_form_submit not being called

I'm trying to submit a form and use hook_form_submit. The problem is the form is displayed via ajax and this results in hook_form_submit not being called. $items['ajaxgetform/%'] = array( 'page callback' => 'ajaxgetform', 'access arguments' => array('access content'), 'type' => MENU_CALLBACK ); function ajaxgetform($f...

Search forms linking to actual search page

I have created a search page uising exposed filters and views module. The user can choose from different values in order to get a table with specific results (returning node fields). This page is located under mysite.com/search. The problem is that I would like to put a simplified version of the search form on my homepage (lets say just ...

how can I output the link or path with drupal views and customfield?

I have a view which lists some nodes and I want a custom output for the title of the node. Im using customfield which allows me to write PHP code but I cant find how to output the link to the node? It doesnt appear in the $data object. I can add the field, but still cant use it in the customfield code ...

how can I imlement muliple upload fields in drupal, each with its title and drop down category select box?

Basically I want to implement the FILE UPLOAD's box shown in this link http://laups.org/comp_2010/upload.php ...

Is it possible with Views module to create a search and results page?

I know Drupal has built in search module, but I want more flexibility and control. Is it possible using Views to create the search form and results pages? ...

Migration to new domain

I'm working on a drupal 6 site at mydomain.com/drupalsite, and the designer has put a lot of hardcoded image paths in there, for instance a custom img folder in mydomain.com/drupalsite/img. So a lot of the site uses links to /drupalsite/img/myimg1.png. Here's the problem -- the site is eventually moving to finaldomain.com, via pointing...

Implement Live Update into Views

Hi! Does anyone know how to implement the Live Update Module into Views? The module is found here: drupal.org/project/live_update (still too green to post more than one link) And a short example is provided here: Question and Answers: Using Drupal and the Live Update module. The module, and thereby live update, works out of the box o...

Email sent using contact form displays admins "from" address, and not the visitors email.

This page uses Drupals contact form to send emails: http://www.westlake.school.nz/contact Problem is, the school staff use outlook. When they recieve email from parents etc, the email comes in as "From: [email protected] On Behalf Of Westlake Boys High School" In Gmail it comes in correctly such as from Westlake Boys High ...

Drupal excessive menu parts

In a module development (webtv) I am providing a generic block that can be configured for its contents (playlists). On the configure form there is a list of added contents (playlists) along with links "add new playlist" and "edit" existing one placed next to each entry. As the block configuration path is: "admin/build/block/configure/[my...

How to specify alphabetical order of accented characters in Views?

In Finnish the alphabetical order is abc...xyzåäö. In German, the order is [aä]bc...n[oö]p...xyz. It seems that when Drupal views are sorted alphabetically, they follow the German order. Is there a way to change it? ...

View only populated when "administer content" is granted

So I created a content type "seminar" in Drupal with a bunch of CCK-fields. I then built a view for these seminars with no access restrictions. The view works fine for authenticated users. As the anonymous user with the permissions to "view content" and all CCK-fields for seminars I can access the page, but I cannot see any seminar-entri...

E-mail doesn't arrive! HELP

hi, I'm having an issue with sending an order e-mail from Drupal (Ubercart). I actually don't think the issue is in Drupal, because the e-mail is sent correctly to my e-mail address, but it doesn't arrive to the company e-mail address. What I've done so far to understand what's th issue: I received an e-mail from Drupal on my addres...

Email notifications sent by Drupal have broken links sometimes

I'm using the Subscriptions module of Drupal to send out subscribed emails on a regular basis and I've noticed that the links embedded in the email will break if the link is too long, but only for some users. The email client that user is using is Entourage. The crazy thing is that I use Entourage, also, but I don't have that problem wit...