Drupal form api ap usually used to build the custom form to extended the functionality of drupal according to your need.
We can change the year range in date element of form api using following method:
Drupal form api ap usually used to build the custom form to extended the functionality of drupal according to your need.
We can change the year range in date element of form api using following method:
Steps to create sub theme and mutilevel dropdown :-
1. Download the Bootstrap theme from the drupal sites here.
2. Create the subtheme using cdn folder (/bootsrap/starterkits/cdn) , Copy the cdn folder and place the same level folder as main bootstarp folder (sites/all/themes/cdn).
Open the template.php file in your theme for editing.
Look for a function called yourthemename_preprocess_page (replace the yourthemename with your theme’s name).
If this function already exists, you will need to add the if statement to the end of the function just before the closing bracket. Otherwise, you’ll need to create a new function to look like this:
##Drush is your friend
I had used Drush previously so I knew it can be a real time saver. For anyone reading this who is not familiar with Drush, it is a command line tool used to manage a Drupal installation and run all kinds of Drupal commands. Such as: run cron, clear caches, make backups, install modules etc. If you do Drupal development and are not using Drush, you really should. It saves you time and makes working with Drupal more enjoyable by not having to click around the Drupal admin interface that much. Drush is your friend.
Copy folder from one location to another by excluding specified folder .
- rsync -av --progress sourcefolder /destinationfolder --exclude thefoldertoexclude
To extract a ZIP file, you can use:
-unzip archive.zip
To extract a Tar file, you can use:
-tar -xvf archive.tar
To extract a Tar.Gz file, you can use:
-tar -zxvf archive.tar.gz
To extract a Rar file, you can use:
-rar x archive.rar
To create tar.gz
tar -zcf archive-name.tar.gz foldername/
Heys,
Steps to installing drush using composer on server
- login to putty
- check the composer is install and working by "composer --version"
- For installing drush type - composer global require drush/drush:7.* (a process is running up wait until complete-see below)
Changed current directory to /home/fsinnw1evfmi/.composer
./composer.json has been created
Loading composer repositories with package information
Updating dependencies (including require-dev)
- Installing symfony/yaml (v2.8.36)
Here is some links will helps to create a multisite of drupal 7
1. https://www.ostraining.com/blog/drupal/drupal-multi-sites/
Hello Guys,
We can easily connect the Nodejs with xampp by follow simple steps -
Nodejs required a specfic port to run on system and defaluts port is 8080, So let's starts
Here is the GitHub Link that helps me to get the list of countries at once
May it helps to you also
https://gist.github.com/Keeguon/2310008
Thanks
Following Links will Helps you to do same.
https://www.drupal.org/node/534548
http://tylerfrankenstein.com/user/4/code/create-apply-patch-drupal-module