Technical Solution
| 4
min read
1. hook_init()
It gets called at the beginning of a page request (but after the modules and themes are loaded into memory) and it?s typically used to set global parameters that may be needed in the request. One thing to note about it is that it is not run on cached pages.
2. hook_views_api()
hook_views_api() is not a Drupal core hook but one from the Views module .It is used to register Views API information (including the necessary files for Views) usually for implementing hook_views_default_views().
Drupal Technical
| 2
min read
Cascading Style Sheets (CSS) is a style sheet language, used for describing the formatting of a document written in any markup language. The idea of CSS is all about to enable the separation of document from its presentation which includes the elements such as the layout, colors, fonts and so on.
Drupal Technical
| 3
min read
A comma-separated values (CSV) file stores tabular data (numbers and text) in plain-text form. A CSV file have of number of records, separated by line breaks; fields in each record separated by some other character or string, usually a comma or tab. All records have an identical sequence of fields.
Drupal Technical
| 3
min read
Leaflet is a modern open-source JavaScript library. It can be used for building mobile friendly interactive maps.The following steps should be added before writing any code for the map.
Drupal Technical
| 3
min read
The first thing to get started is a theme folder. In this case, we’ll call it “base_theme.” The only file actually required to create base_theme is an .info text file which is saved as base_theme.info
Technical Solution
| 3
min read
The preventDefault() method is used to stop any element form behaving its default behaviour. For example, if we have a hyperlink linked to a particular location. Using preventDefault() function we can restrict it from navigating to it the by a custom location in our javascript. You can use the method isDefaultPrevented to know whether this method was ever called (on that event object).
Drupal Technical
| 1
min read
This is a common question among Drupal beginners, when do not want the login block to display in our site. In most of these cases the login block would be turned off in the administration. We can get access to the login screen simply through the following URL.
Drupal Technical
| 4
min read
Universal Analytics is a set of technological innovations that is aimed at improving the way data is collected and processed in Google Analytics.The Universal Analytics Upgrade is a process which is used to upgrade all your classic Google Analytics properties into Universal Analytics properties without losing any data or changing your account settings.All Google Analytics properties will soon be required to use Universal Analytics. Any properties that don’t follow the upgrade process will be auto-transferred to Universal Analytics in the future.