drupal-6

Drupal taxonomy url alias in advanced taxonomy block

Hello It seems that Advanced Taxonomy Block doesn't use a PathAuto url's. Default setting of url is taxonomy/term/%tid. Could somebody tell me replacement for term name?, instead of id I want to use taxonomy name. Regards. ...

Drupal: if I enable CSS files optimization my website layout changes

So, this is funny. If I Enable to Optimize CSS files, my website is stuck to the left of the browser window. If I disable it, it is in the middle. What's the reason of this behavior ? Are some CSS files badly merged or what ? Update: /* safari only */ @media screen and (-webkit-min-device-pixel-ratio:0){ .list-add-to-cart { line...

Is there a way to determine which view created a block?

Is there a way to determine which view created a block by looking at the block source? ...

Get a specific section of the a given menu.

in drupal 6, i've been experimenting with menu_tree('menu-name'); but i can't seem to figure out a way to get only a certain section of the tree, say the 3rd tier from the root... one tier deep. i don't want to use another module, and would be prefer to use drupal api. as always, any help would be greatly appreciated! ...

drupal installation using two databases

can anyone help me to install drupal using two databases ,so that the home page dispalys data from two databases ...

Drupal: cannot unset js file and use new js in theme directory

I want to copy a js file in my theme folder instead of hacking the module. This is my code: /*update js files */ $scripts = drupal_add_js(); unset($scripts['module']['sites/all/modules/imagefield_crop/imagefield_crop.js']); $scripts['module']['sites/all/themes/zen/zen/js/imagefield_crop.js'] = array('preprocess' => 1, 'cache' =>...

need to pipe between menu items in drupal (non-css)

Hi, (Newbie) How can I locate the PHP code which generates html for the menu in drupal 6? Is there a hook that I could customize? I wish to add pipe symbol between the items. I can add this using CSS but that is not what I want. Please suggest. Thanks, Vikas ...

Drupal get database configuration

Is there any function preserved to extract database configuration inside of my code, something like $db_user = drupal_get_dbuser(); $db_pass = drupal_get_dbpass(); ... ... ...

How to display a list of files in drupal?

I am very green at Drupal and I would like to recreate a list of files like the table that is shown at any module page in drupal.org [example]: it shows a table with the recommended releases and development releases. Each entry has a link to the file and some release notes. What I would like is to clarify how this should be done, since ...

Drupal: CCK/Views problem

Hi, The problem is the next: I have a recipe with images, and I have a video with node reference to the recipe (so I can hav a one to many). (see here) When there is a video, it should not show an image, when there is no video, it should show the image. I created a block for displaysuite, and attached the video to it.(see here), in 2...

Add String to Drupal Translation Server without Resetting

I need to add some strings to my Drupal translation server but I don't want to reset the current translations. Is there any way I can do this? ...

drupal exposed filter with jquery datepicker popup

Hello, I have a view that I created based upon a content type in my drupal instance. I have then went and added some exposed filters. Two of these filters are date fields that use the jquery ui datepicker popup. Functionally, everything is working fine. Aesthetically, everything is not fine.... With the date picker, The label is sho...

Drupal. Two question from newbie.

Hello Could somebody give an answers for my question? How to count clicks on outside URL to another webpage. I have content type that can have one category (taxonomy). In node view I want to add block below with listing of links to nodes from current node category. How can I accomplish this? Regards ...

Drupal multisite setup

Hello, I am trying to setup drupal to host multiple sites which will not effect each other. My pages are hosted on a shared hosting service and I only have access to cPanel. Following the instructions on the web that I found using google, I have done the following. 1 - Installed Drupal. 2 - Make a directory in sites and name it demo.s...

Drupal Webform Validation (webform_form_alter)

Hey all, I'm doing some webform validation using webform_form_alter. I'm using webform_form_alter because I switch certain content on a "select" field. In my webform-form-317.tpl.php I defined new fieldsets I set my fields into this new fieldset and unset the original from the webform. $form['submitted']['ContactInfo'] = array( '#type...

drupal database backup

could any one help me out,how to backup a drupal website by the admin of the website ...

Custom sort in Drupal Views

I have a View that uses fields from the Biblio module and those are unfortunately all defined as text fields. I need to sort my view according to the accession number, but if define the sorting in the View it sorts the numbers wrong like 1, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 2, 20 ... instead of 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11...

Drupal: is Devel module safe for online websites ?

is Devel module safe for online websites ? Can I leave it enabled ? ...

Drupal: how can I avoid this form item being collapsed !?

I really don't get why this is not working. I want to avoid a specific form item being collapsed. This is my element I want to modify (after the change with the code below): [taxonomy] => Array ( [tags] => Array ( [1] => Array ( ...

Where do these <em> elements are coming from in my HTML code ?

For some reason elements are added to my html code and the text is rendered as italic. http://109.72.95.174/astudio/sites/lancelmaat/performanceinstallation?tid=22(see bottom lines, or content of menu "Contact") I'm using CKEditor in Drupal for the input of some text areas. But it is strange, because the elements are added only for ...