Different view page based on taxonomy depth?

Different view page based on taxonomy depth?

I’m wondering if there is a way to show a different view (or view part) based on the current depth of the term level? Example I have a bunch of categories and subcategories. For the categories I want to show a page that is just the name of the category, once I... read more
Different view page based on taxonomy depth?

NFS Directories between 2 Servers

I have 2 parallel Drupal Web Servers running (serving for one Drupal Instance together) and now i need to install NFS. My experience in multi Drupal Servers is, each Drupal Instance (Server) uses their own Aggregated JS + CSS files (storing in: sites/default/files/js... read more
Different view page based on taxonomy depth?

Dynamically Theme Boolean Fields

I am trying to dynamically display boolean fields into columns based on their value. So for instance these 10 boolean fields on my node, if marked 1, I want it to theme it so that they show up in a column to the left titled Completed, and if marked 0, a column to the... read more
Different view page based on taxonomy depth?

Ubercart Ajax change attributes on checkout

I want to change the Product Attributes on checkout page by ajax. But when I save it by uc_order_product_save() in my ajax request and go to the preview step the attributes are gone. It seems that preview step retrives the $order from form storage but not mine saved... read more
Different view page based on taxonomy depth?

Webform Localization does not work

I have downloaded the Webform Localization module from Drupal.org, but it is not working to translate form, and I want to keep a single webform across all nodes. How can I do that? read more
Different view page based on taxonomy depth?

URL aliases and Entity Translation (menu name replacement pattern)

I am using entity translation (Field translation) for my nodes, and set the menu name on each ‘page’. The menu itself is arrange to basically have a duplicate tree in the same menu each with a different language, for example: main-menu -item 1 english... read more
Different view page based on taxonomy depth?

Alternative to .htaccess compression with Boost

My hosting provider doesn’t support mod_deflate directives in .htaccess to provide compressed HTTP responses. I am using Drupal 7 with Boost and wish to compress HTML, CSS and JS responses. Is there another alternative to doing this with .htaccess? read more
Different view page based on taxonomy depth?

Contextual links for node blocks

I have the Nodeblock and the Contextual links modules installed. They work fine, but I want to add the “Edit node” link in the contextual links for node blocks. For views, there is a “Edit view” link, but not for nodes. Is there a way to do... read more
Different view page based on taxonomy depth?

Location’s Distance/Proximity exposed filter without Node Location Submodule but with Location CCK Submodule instead

I would like to stay a little bit more flexible and use Location CCK fields (from Location CCK Submodule) instead of Node Locations (from Node Locations submodule) on my nodes. However, in my view of nodes the “distance/proximity” exposed filter (distance... read more
Different view page based on taxonomy depth?

Views result sorting using arguments

Is there any option available in Drupal views to sort views result using the arguments provided (contextual filters) I am trying to integrate a search functionality using views. My problem is that contextual filter will list only matching results, I need all the... read more
Different view page based on taxonomy depth?

Preserve database relationships

We’re in the process of figuring out quite how much work upgrading to Drupal 7 is going to be. The thing that is really worrying me, is that we currently have our main content as Nodes: Equipment Person Company Address Contract Timesheet Now, these are linked... read more
Different view page based on taxonomy depth?

How to stop spam in comments

I’ve installed reCAPTCHA module but spam still bypass my security and leave nasty comments. What should I do? How to block them? read more
Different view page based on taxonomy depth?

Calendar From Multiple Content Types

I have a 4 seperate calendars created on drupal; each with their own content type. Each of these need to be able to be viewed on their own but I’d also like to be able to combine all of these calendars into one master view and can’t seem to figure it out.... read more
Different view page based on taxonomy depth?

Adding some new custom variables to page.tpl.php

I want to add some variables to page.tpl.php via template.php so i guess i need to use my_theme_preprocess_page. But my variables does not seem to be passing through. I am using something like this 🙂 In template.php function my_theme_preprocess_page(&$vars) {... read more
Different view page based on taxonomy depth?

What could be causing drupal to want to reinstall itself after I clear cache?

I am trying to update Drupal from 7.17 to 7.18. I uploaded a copy of my site from a test server to my production server. Everything installs fine, I actually see the site working, and I can navigate it. Then, as soon as I perform updates on modules and core, I run... read more
Different view page based on taxonomy depth?

Is the lower version update required?

When I upgrade a site from Drupal 6 to Drupal 7, is it necessary to upgrade version by version, or can we directly upgrade to Drupal 7? read more
Different view page based on taxonomy depth?

Drupal6 sidebar code?

I got this Drupal 7 code from a theme and I am trying to convert it to Drupal 6. .info file regions[sidebar_a] = ‘Sidebar A’ regions[sidebar_b] = ‘Sidebar B’ Template file <?php if(isset($variables) &&... read more
Different view page based on taxonomy depth?

Rewrite URL not working

In Drupal 6 I used the following snippet of code in my .htaccess file to extract information from a non-existent URL and pass it to an existing URL in a GET form. However, it isn’t rewriting the URL with my Drupal 7 installation and when I visit a URL the should... read more
Different view page based on taxonomy depth?

Sending webpage through email

I’ve implemented hook_menu and in page callback there is a function in my module which retrieves some records randomly and theme them with theme_table. Now I want a button on the page for sending this page exactly as it is to a predefined email address without... read more