drupal

Drupal Poll and Boost and XSS injection

Hello, I'm having problem on adding more options to Drupal Poll without disabling the Jsvascript of my browser. I also received this error when I try to clear the Boost Cache and I received this error - FormAPI Bug Encountered; trying to work around the bug. Given: 0 Wanted: 4. Also, I can see several xxxx in our watchdog. Any help from...

Drupal: ajax pager not working with views exposed filters

I have several views (block displays) on my site and I've noticed that the ones without exposed filters have working ajax pagers. For some reason the views with exposed filters seem to keep the ajax pager from working for that view. The option is set to "yes" in the view so it's not just a simple oversight. My question would be: Does aj...

.htaccess rewrite with drupal and clean urls only partially works?

Hey all, I am having an unusual access problem with Drupal running on a MAMP (Mac OSX, Apache, MySQL, Php) stack. The Drupal install is working fine, so I know it's not a Drupal issue. "Clean URLs" are working fine for anything with a single-level url, but nothing with 2+ path levels. For example: example.com/foo, example.com/bar, etc....

Drupal Taxonomy Block, Vocabulary Listing

I looking for the best way to implement a block that lists all terms of a certain vocabulary. Each term should link to page that lists all nodes associated with that term. Any help would be greatly appreciated. Thanks! ...

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

how to name the folders for multisite in drupal locally?

i am creating multisite in drupal 6 in my local xampp server,could anyone help me to name the subfolders? ...

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

can't change options of a select element in a drupal web form

Hi, Im new to drupal. I had created web form with few elements and two select boxes. All went well. that was last week. Now, I want to change the values, and strangely I can't see list of Values anywhere in the form component page. I can't even see how to create a new selectbox and give new options. I think I kill some module responsib...

Django or Drupal for 10gb entries

What would be better option, drupal or django if there was data of 10gb of entries to be imported from MSSQL darabase One of requirements is to have editors access so they can update content at anytime. ...

pros and cons for multi-site drupal setup

What would be pros and cons for multi-site drupal setup with over 10gb entries to either use "domains module" vs using different installations ...

Broken view in drupal - there is empty white area

Hi, I'm newbie and I'm trying to solve my problem for 2 days already! Im desperate! I've got a Content Type let's say X. I don't want to see this X on my website by default, only if someone searches for it. I added a filter to Views not to display content type X. It works ... it is not displayed, but instead there are empty white blank...

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

Drupal multi-language websites examples

Please let me know if you have knowledge about some important sites that use Drupal CMS and have multi-language support. I know this is a job done using some google research but I really need a quick turnaround. I appreciate all the answers. ...

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

Android, Drupal & DrupalCloud or Android-xmlrpc tutorial?

Does anyone know of a good tutorial for any of the above? I need to send data to Drupal from and Android phone. Data is stored in XML but can be converted to JSON easily. Then it needs to be stored in a user's profile. thanks ...