Need to access the MySQL database for your application on Windows Azure Websites , set up phpmyAdmin with the help of this article
Hey all now days Drupal community are very hard at work in developing Drupal 8 . If you are passionate about Drupal and want to contribute to Drupal 8 and not finding any source to start then this is blog can help you.
What we will cover in this blog :-
- How to take Drupal 8 stable core to your local machine and start developing with it .
- What’s new in Drupal 8 ?
- Some explanation of changes with code.
Below are the steps to setup Drupal 8 stable core to local machine . I am hoping you have GIT installed in your machine .
git clone --branch 7.x http://git.drupal.org/project/drupal.git
git checkout 8.x
If you want to go back to your D7 version just do ” git checkout 7.x ” . For updating your Drupal 8 core do “git pull ” . It will update your Drupal…
View original post 291 more words
Couple of days back I was working with Openlayers in one of my project in D7. I got stuck with some functionality which forced me to make custom behavior which should work with Openlayer module in Drupal 7. I found Openlayers has very less documentation so I thought to write this blog. I will make some introduction about how to start with creating custom behavior which work with Openlayers. I am not focusing on some particular functionality but on giving base to your functionality.
I am assuming you know how to configure Openlayers and display map in Drupal 7. So , here’s the situation you faced that you need to achieve some functionality which Openlayers don’t provide and then you have to create some module which should work with Openlayers.
Next step is to make a custom module . Go to sites/all/modules/ and create your module directory containing files
View original post 379 more words
Today for a customer I had to use a special plugin for jQuery that needs a jQuery version equal or major than 1.6.1.
As you know Drupal 7 is shipped with jQuery 1.4.4 and so is not ready for the plugin I need to use, there is a plugin that update jQuery and jQuery UI but where is the fun?
The procedure is pretty quick:
- Download the jQuery version you need from from the official source.
- Place the jQuery version you downloaded in your theme js’s folder (like
- Create/Modify your theme’s
template.phpfile as described below.
Now for the
template.php, you need to use the hook_js_alter to replace the native jQuery:
After we clear the cache we will have the new jQuery version.
Keep in mind that changing the jQuery version may create some incompatibility issues with the other Drupal core scripts.
I’m working for a customer to create a Bootstrap 3 theme from scratch, since I’ve to create a kind of portfolio-like page with some thumbnails I needed to apply the Bootstrap’s CSS class
img-thumbnail to all the images.
It took some time but the action is possible and take few steps, it assume that you are using a custom image style type to display your image(s):
1. In your
template.php file you need to define a new override function like this:
This is PART – I of creating module in Drupal8.
As we all know Drupal community are working very hard in development of Drupal8. So, I thought of writing about converting Drupal 7.x module to Drupal 8.x. Obviously porting to D7 module to D8 module will start when D8 core will get stable. But I was just curious to understand the changes made by community in D8 so I thought to take a dive in developing modules in D8 and along with that learn the changes with some coding , which probably will help at the time of module contribution for D8.
If you are not familiar with setting up D8 instance in your local machine then probably you should go through my earlier blog on Drupal8.
So, we will create one custom module in D8. Our module name is “alien”.
Steps to follow:-
View original post 175 more words