drupal

How to build a multilingual Drupal site?

I'd like to build a Drupal site with multiple languages. What modules will I be needing and how would I go about designing my content types, views and menus so that everytime these appear in the correct language? Thanks! ...

drupal how to refresh the page when the content is created in the popups

i have designed a panel where i have to used to popup links and automodal class for creation of content.... <a href ="/testviewprintpdf/<?php echo $object; ?> " class ="popups-form-noreload">view objects</a> now after saving the content , and closing the popup the panel page is to be refreshed how it is done..... it sounds simple ...

Add conditional stylesheet into the Drupal's Chameleon theme

This is really urgent. I need to add a conditional stylesheet for IE6. However, in the chameleon theme there isn't any page.tpl. I download the conditional stylesheet module but it doesn;t work. I'm using Drupal 6 btw. ...

How can I control the placement of the comments region in Drupal 6?

I'm developing a theme for a Drupal blog; the mock-up I created requires the post content, trackbacks block and comments block to appear in a central column, with borders running either side. I've got the CSS and HTML working correctly, so that's not the issue here. My problem is that the comments block as generated by Drupal is plac...

Drupal API: how to load a module dependency from another module

I am attempting to develop a Drupal module that defines the class MyFeedsSyndicationParser. This class extends the class FeedsSyndicationParser from the Feeds module. In my module's .info file the dependency on the Feeds module is identified. When I enable the module the php_error.log contains: PHP Fatal error: Class 'FeedsSyndication...

Drupal: How do I modify my menu items' classnames?

I need unique ids or classnames per each item to style them individually - I'm using Drupal 6.1x. ...

php pages integration in drupal

How can we create new php pages in drupal ? ...

Drupal: Enable search form globally?

My search component block has the default settings but for an anonymous user it shows a login area instead of the search component and only until you've logged in do you see it. "Show on every page except the listed pages" and no pages listed.. "Show block for specific roles" - unchecked so all.. ...

Sql Query to XML document inside Drupal

I need to be able to dump my user table inside Drupal to an XML document that I can hit from a path in a browser. e.g. mysite.com/users.php Looking for an easy way to do this, an existing module would be ideal. Not sure if QueryPath does this. Thanks. ...

GMAP & Location - Coordinates show but cannot show node information

I set up a view with a type of gmap. If I change it to grid, all of the field values output fine. When I switch to gmap, the coordinates show up on the map but I can't get any info on the coordinates/markers. I am very very stuck. I have gone at this several different ways. You can see the example here: http://speakitnow.com/immersi...

Drupal 6 preprocess blocks & nodes

I build a BLOCK that sits on a right side of the website and is available for whole site. Also I got a many CONTENT_TYPE NODES like (pages, news,gallery, files). How can I modify _preprocess_xxxxx and which one, so I can let my BLOCK know which CONTENT_TYPE is currently displaying. so then my BLOCK displays var $section = top 10 dow...

How to theme language translation links in Drupal?

In my Drupal 6 installation, using the standard Content Translation module, links to translated versions of a node is added below the content. How do I output those links another place in my theme? To be more precise, I would like to output the links (if there are any) in my right toolbar. Thanks, Egil. ...

Drupal image upload issues

When uploading images in Drupal I have continuously encounter an issue with the physical size of the image - not the size of the file. Let me explain further. An image could be a small file size (under the restrictions) but be larger than average on the screen. These images fail to upload in Drupal across all sites that I have built usi...

Drupal: using Rules, apply pathauto settings to node

I need to use Rules to create a rule that updates the path for the currently saved node according to the settings pathauto uses. The conditions for the rule are content type and that one of several fields have been modified. ...

Add another node display (like teaser, full node) to Drupal

I would like to have two different displays of a node teaser depending on where it is on the site. Changing the .tpl of the block alone is not good enough because I need to have a separate imagecache image displayed. Are there ways to have another display type added? Or change what fields a node display type recieves (ie: the imagecac...

Drupal: Duplicate search block?

I want to duplicate the default search box and put it between some blocks on my left sidebar: so it would show up on every page twice ( top where it already is and on the left mid-sidebar ). Is there an easy way to clone it and then make sure the IDs arent duplicates? ...

Drupal: Customize blog post "submission" area?

I created my own node-blog.tpl.php - I'm looking to modify this code: <?php if ( $submitted ):?> <span class="submitted"><?php echo $submitted;?></span> <?php endif; ?> I need to re-arrange the structure of the contents of the $submitted variable. ...

Drupal: Create a unique selector for admin styles?

I'd like to style some components differently in the admin. How could I generate a unique id/class on the body element so I could style admin elements separately? ...

Rearrange ordering of blog posts vs content block?

Right now, I have blog posts being generated as nodes in my main content area. In my content block there's only one block and that's for the blog navigation which needs to be on top of the blog posts and it has very custom markup - how could I reverse the order? I'm not sure where to move the posts down. Clarification: I need my block t...

What PHP framework to choose for a Senior Project

I am working on my senior project, and the topic that we agreed on was a CMS that similarly to Drupal would make things easier by providing robust administration capabilities Some of them include: Content type and data field creation (CCK) Views Creation complex user management (tasks and roles) the ability to add third party modules lat...