Drupal 7

Recently we have found a serious issue one of our project with browser caching. Here is the actual scenario

 

    1.       From website, Login as a member

    2.       Browse same page multiple times, Suddenly browser will show you are not logged in

    3.       If you press CRTL+F5, you will find yourself as a logged in user

 

We often take steps to increase server side performance of Drupal sites. Ever wondered how to help fast loading of pages into browser? Here a few tips on browser side performance enhancement. Since we are talking about browser side performance enhancement, so we’ll not be covering Varnish, Memcache, APC, etc.

Factors that generally affect overall page loading time in browser:

In one of our recent project we have needed Faceted Search Block by taxonomy vacabulary in search result page. This might have been straight forward but it was not due to some reason. It was my first time working on Faceted block and I am now discussing my findings here.

The requirement was:

We have some taxonomy vocabulary(Figure 1). We need to create 4 faceted block and place right sidebar of search result page. This requirement was not in the specification. We get this in our Feedback phase.

In one of our recent project I have used CiViCRM with Drupal. I have to build a CRM profile edit page inside Drupal. In past we had created similar functionality in one another project but that was implemented by direct CiViCRM database read/write operation. But in this project I've implement this using the CiViCRM API. I faced some problem and it was taking much time to figure out the right way to do this in some case. So I'm sharing this experience with all hoping that it may save some time if in case you need the same functionality.

MongoDB:

  •  MongoDB is schema free document oriented database.
  • The basic unit of storage is JSON, Python dictionaries, Ruby hashes, etc.
  • MongoDB is a high performance NoSQL database that is significantly faster than mysql for reads and writes.

 

Druapl & MongoDB:

A hidden region is a new feature in drupal 7. I was modifying a drupal 7 theme. In the .info file I found two regions - 'page_top' and 'page_bottom'. I wanted to assign some blocks to those regions. But surprisingly I couldn’t find them in block administration area. After some searching I came to know about the feature – hidden region.  It's a way to define regions that are available for modules but are not available in the blocks administration area.

Step 1:

First you need to install Drush on you server. You can get the installation on Windows Platform here.

Then you need to download and enable the following modules

1. Migrate 7.x-2.x-dev or 7.x-2.3-rc1 or Later - 7.x-2.2 will not work

After installing CiviCRM 4.0 with Drupal 7, I was looking for CiviCRM menu into Drupal top navigation menu. I got upset while CiviCRM menu was not found to the expected location. I have spent some more time to find the location of the CiviCRM home page menu and it seems they have changed menu location for Drupal 7. CiviCRM home page menu is appearing under Navigation menu.

 

Subscribe to RSS - Drupal 7