drupal

Drupal, ImageCache module not scaling properly

hi, I've set on imagecache a fixed scale for my images (230 x 150). Upscaling option is unchecked. Successively, I've uploaded new images (original size 230 x 150) but for some reason they are resized: 80 x 52 Instead, if I check the "Allow upscaling" option, the size is correct, but the quality is very bad. So basically, it behaves ...

Drupal: can't add the taxonomy field to Views ?

hi, I've prepared a View for my nodes and I've selected which fields to display. I just realized that there is not the taxonomy field from Content:Taxonomy There is only Taxonomy:Term category and warning: "The content might be duplicated, use appropriate filters". Should I use this item ? What kind of filters should I use ? thanks ...

Styling individual radio buttons in drupal form

I have this group of radio buttons in which each of individual button has of its own position set through style attribute. I would like to how can I archive the same by using drupal form api. I found how to style as whole but, not as individual control within group. Here's how my html code look like - <input type="radio" name="base_loc...

Drupal and Login Toboggan -- infinite redirect loop

I'm getting a redirect loop when using Login Toboggan. It doesn't happen all of the time and I think I've narrowed it down to something with the session, specifically the active-tabs[last-active-href] value. Since it's intermittent, I was able to print out a session of a working copy and a non-working copy. Here are both: WORKS -- Arr...

custom url for taxonomy > vocabulary at Drupal 6

Hi friends, I'm new at Drupal. a question; I create a hotels directory site. I created Taxonomy>Vocabulary for locations like London, Liverpool, etc... For example the url below lists the London localhost/drupal/taxonomy/term/1 how can change that url to something like localhost/drupal/hotels/london is it possible? appreciate adv...

drupal adding onchange event to node form

hi i need to know how to add attribute onchange to a custom content_type field? For ex my content_type has 2 fields phone (name:field_phone[0][value], id:edit-field-phone-0-value),email (name:field_email[0][value], id:edit-field-email-0-value). i'm unable to add attribute as follows. function knpevents_form_event_node_form_alter(&$for...

Drupal: how to make select list show taxonomy terms in hierarchy?

Hi. I have a block generated by Finder module (simple search mechanism). The block contains a form with select lists of various taxonomy dictionaries. Their order, however seems quite random (neither, alphabetical, nor chronological) and lists regions in such an order with no hierarchy: Italy, France, Poland, Benelux, ..., Upper Austria...

checkbox for Drupal CCK

Hi friends, I'm new at Drupal. love it so far :) I'm creating a CCK custom content type. I need to make a amenities list in checkbox format. so I made; File Type: Text Widget Type: checkboxes/radiobuttons and Allowed values list: onsite_dining|Onsite Dining meeting_space|Meeting Space business_center|Business...

Drupal Migration Problem

After migrating my Drupal (6.16) installation from shared hosting to Linode VPS (Ubunto 10.04 32 bit). Whenever I click a URL it shows only the homepage. I put ?q=user at the end of the URL to login as an admin. When I logged in it is the same. I couldn't navigate to any URL. It shows only homepage. I forgot to clean Drupal cache before ...

Drupal: displaying warnings...

hi, how can I disable warnings for my users in Drupal (and keep them on only for the administrator) ? thanks ...

using custom CCK fields in node + Drupal 6

Hi friends, I'm new at drupal. I created custom content type with CCK. Added some Phone, Address, Fax fields... Now I'm editing the related node. but in the node it just says print $content How can I use the custom fields I've created? maybe something like print $field_name ? anything like that? appreciate helps!!!!! ...

Drupal Private Publishing

Is there a way to have a content type that is only viewable to admins AND the person who created it, including comments? I feel like I know the answer to this but its escaping me. ...

Drupal Views Question: Displaying results in two columns?

I'm new to drupal and I have a question about views: I'm building an employee directory and need to display the results in two columns, such as: Record 1 Record 2 Record 3 Record 4 Record 5 Record 6 . . . How can I accomplish this? To take it one step further, I want each record formatted as: IMAGE NAME TITLE I have no ide...

OO and Writing Drupal Modules

Preface: Yes, I've read: http://drupal.org/node/547518 I am writing 'foo' module for Drupal6, where I am organizing the code in an OO fashion. There's a class called Foo that has a bunch of setters and accessors, and it is working quite well at abstracting some pretty nasty code and SQL. The question is is it common practice to expose...

Drupal Navigation Conundrum

I'm attempting to set up navigation withing a Drupal site and am having a bit of trouble. I'm trying to have a series of pages that each have a set number of sub-pages. These pages will need to link to one another. All pages will contain similar content. For instance: Page 1 will have sub-pages a, b, c, d, e, and f all with content rel...

how to insert page view of a node in another page in drupal

I have a list of node ids and I want to display the 'page' view of each one. For various reasons, I don't want to do this with views, and don't think I should need a module. Just an API call to theme('node'). Something like: $nids = array(3,4,5); foreach ($nids as $nid) { $node = node_load($nid); $result .= theme('node', $node);...

Multiple sections on landing page only

Hi every one, I am very much new to Drupal but am loving it to start with. I got struck at a point with respect to theaming. I have a region called 'footer-teaser' just above footer. Its width is 800px. its been split into 3 equal size columns. Each column has the following. Image of size 120x120 Some teaser text Link to 'read more'...

feasibility of Joomla or Drupal

Hi, I would like to know how feasible is Joomla or Drupal towards a website development which has around 80 web pages? I'm a part time website designer who does a bit of server end development as well using PHP and Python/Django. However, i have never attempted developing a website of this scale. There is a lot of static content on this...

drupal: standard way for creating a slug from a string

Hi there, A slug on this context is a string that its safe to use as an identifier, on urls or css. For example, if you have this string: I'd like to eat at McRunchies! Its slug would be: i-d-like-to-eat-at-mcrunchies I want to know whether there's a standard way of building such strings on Drupal (or php functions available from ...

how to remove the publishing options in drupal

hi, I am using work flow module. I dont want the publishing options to be displayed while we are trying to create a page . How is it possible.. ...