Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Useful Extensions/Modules for Themers

Please find the below listing of some very useful module that will make the theme developer life easier Sweaver Make themes editable by anyone Chaos Tool Suit Provides a collection of APIs and tools to assist developers for example aj...

What is contents() method in jquery?

Hello Readers, .contents() method is the jquery method which is used to get the child or children of each element in the set of matched elements including text and comment nodes and its return value is the new jquery objects. .contents() me...

What is .andSelf() method in jquery ?

Hello Readers, .andSelf() is the jquery method and it is the alias of .addBack() method because it is deprecated in jquery version 1.8. So, it's replacement is .addBack() method. .addSelf() method is used to add the previous selection to the c...

cshtml file in MVC

In MVC projects you have to create views inside controller class for performing tasks.   While creating views you also have to create their HTML designs for separate views in a single controller or in different controllers.   ...

Joomla Menu manager

Menu manager contains list of all menu items of website and allows options such as add,edit,rebuild menus. First you need to login on Joomla administrator panel and navigate to Menus> Menu Manager from the menu across the top of the Joomla adm...

Joomla 3.0 favicon

You can easily change favicon in Joomla using the following steps. First Create your Favicon with the dimensions 16x16 pixels, once you create it save it by using the name "favicon.ico". We can easily generate favicon using the free on...

How to get file name from full path with PHP?

To get the file name from full path in PHP function basename() is used. It contains two parameters one is path(the path to from which you rquired a filename) and suffix(it specify the file extension. If the filename has this extension then it dis...

MyISAM vs INNODB in mysql

Difference between MYISAM and INNODB are given below. MYISAM: 1 MyISAM does not support foreign keys. 2 MyISAM stores its indexes,data and tables in disk space using separate three different files 3 MYISAM not supports transaction ...

basename() Function

The basename() function is used to extract the filename from a path. In other words, the function returns the filename from a path. It contains two parameters: path(Required): it specify the path to check suffix(Optional): It is a optional ...

Custom HTML module in joomla

We can create custom HTML module in joomla using the administrative area. Go to Extensions -> Module Manager.Then click New icon and select Custom HTML as a module type. A new page will open where user need to enter the title of th...

FIND_IN_SET(str,strlist) function in mysql

FIND_IN_SET(str,strlist) FIND_IN_SET function returns a value between 1 to N if the string str is in the string list strlist consisting of N substrings. If the first argument is a constant string and the second is a column of type SET, the F...

joomla insert,update and delete

WE can easily manipulate our data from database in Joomla by using the below code. First need to call jfactory::getDBO$db = &JFactory::getDBO(); returns a reference for the database object in joomla. For INSERT query in Joomla structure ...

How to update an extension in Joomla?

To update an extensions in Joomla you need to follow the steps given below: Login to the back-end of the Joomla i.e., Admin section Now click Extensions-> Extension Manager Extension Manager page will appear. Now click Update. This pag...

Portability Testing And Few Checklist

Portability Testing:- Portability testing is an approach of the software testing in which we verify that the application or the software may be shifted from one atmosphere to other atmosphere or environment. It is calculated in form of maximu...

How to Concatenate two or more string in MySQL

This article explains the MySQL string functions which are used to concatenate two or more strings. 1. CONCAT : CONCAT() function is used to generate a string by concatenating two or more strings. The function take one or more strings as argu...

How to create User in MDM Hub?

Below are the steps to create a user in MDM Hub and assign ORS to user: Step 1: Launch the jnlp file. Step 2: Enter you credential, select the ORS. Step 3: Under Workbench, select Users. Step 4: Connect to Master Database. Step 5: Acquire Lo...

FIELD string function mysql

FIELD(str,str1,str2,str3,...) FIELD function is used to get the index (position) of str in the str1, str2, str3, ... list and it returns 0 if str is not found. In the field list if all arguments are strings then all arguments are compared as...

How to use Order By in Zend Framework

Hello Friends, If you are looking to use order by clause in Zend Framework. Please use the below code for the same:: $dbObj = Zend_Db_Table::getDefaultAdapter(); $selectObj = $this->select(); $selectObj->from(array('tbl_users'),arra...

How to count the number of words in any text?

We can count the number of words by using split method of javascript. What split method does: split() - Splits a string into an array of substrings Below is an example:- <form name=countingWords> <textarea rows="12" name...

SQL Tutorial -> Sql Where

<-- Chapter 4: SQL Distinct Chapter 5 SQL Where SQL Where : SQL Where clause extract or filters those records which matches the specified condition. Syntax for Where clause is used below SELECT * FROM tablename WHERE condition ...

Joomla 2.5 vs 3.0

1. Bootstrap: Joomla 3.0 is Bootstrap. With basic CSS already integrated into Joomla 3.0,while Joomla 2.5 is without bootstrap. 2. Less: LESS is a dynamic stylesheet language which has been integrated into Joomla 3.0. Template development has ...

How to find count and last element of array using Javascript

Hello Reader's If you are working on Javascript and want to get the count of array then you can use the syntax as below:- var car = ["mode1", "model2", "model4", "model5"]; car.length; output: 4 And if you want to get last elemen...

pathinfo() Function

pathinfo() function basically contains the information of the file path. It will take two parameters: path(required) : path whose information is needed. options(optional) :tells which elements to return. Values are PATHINFO_DIRNAME(returns ...

ELT function mysql

ELT(N,str1,str2,str3,...) The MySQL ELT function is used for get the Nth element of all listed arguments in the function. The first argument is used for which number of element you want to get. In the argument list the if N = 1 then return str...

How to print dates monthly between two given dates

Hello Reader's if you want to make ajax html form that takes two dates from user and print then daily or yearly or monthly then you can my code as below:- Lets say the html form, the code will go like this. <div class="form-group clearf...

Theming the views, Drupal 7

Views is the most popular module among the Drupal developer as it provides the visual query builder. views have lots of supportive module which enhance the functionality of views modules. Some basic works you can do by using views ...

Authentication Check each time the Page reloads using laravel 4.x

In every project we have minimum 2 sections. First is User Section and second is Admin Section and In our routes we want to put authentication check each time when page is loaded. I can easily explain this by using simple example. Route::gr...

CONCAT_WS function in MySQL

CONCAT_WS(separator,str1,str2,...) The full form of CONCAT_WS is concatenate with Separator which is a special form of CONCAT(). The first argument in CONCAT_WS is used as a separator for concatenate all other arguments. The separator is adde...

How to register an ORS in MDM Hub?

Below are the steps to register an ORS in MDM Hub: Step 1: Launch the jnlp file. Step 2: Enter you credential, select the ORS. Step 3: Under Workbench, select Database. Step 4: Connect to Master Database. Step 5: Acquire Lock, click on Regis...

Error Messages of File Array

Whenever you upload a file using PHP script it will return a error code with file array. This code you will find in the error section of the file array i.e., $_FILES['filename']['error']. Code are as follows: UPLOAD_ERR_OK: Value '0' Th...

How to insert data in Wordpress

Hello Friends, If you are looking to insert data in wordpress database. Please follow the below code for the same:: global $wpdb; //define db object in Wordpress $data['first_name'] = $_REQUEST['fname']; $data['last_name'] = $_REQUEST['l...

CONCAT string function mysql

CONCAT(str1,str2,...) CONCAT() string function in mysql returns the string that results from concatenating the all input arguments. CONCAT may have one or more arguments. If all arguments are nonbinary strings then their result will be a non...

Remove duplicate items from ArrayList.

I am removing duplication from arraylist. To do this, first add all the items of arraylist to a HashSet. HashSet takes only unique items. Finally, take HashSet items to the arraylist. List arrayList = new ArrayList<>(); arrayList.a...

Category List vs Category Blog in joomla

A Category List is used to show the articles which belongs to specific category. It is a menu items which links to a Specific page that is simply "lists" all of the articles belonging to that category. We can create a new list category menu item ...

How to assign an atricle to menu in joomla

We can easily add article menu type to menu in Joomla first Log into your Joomla administrator panel Dashboard. Go to Menus which is appearing at the top menus hover over the menu link and then click AddNewMenuItem. Then click select which is n...

How to check login status in Wordpress

Hello Friends, Generally in the website you can see lots pages are restricted to have access before login. If you want to add this feature in your Wordpress website. Please follow the below code in your in page. if(is_user_logged_in()) { /...

shift() method of the JavaScript Array

JavaScript Array shift() method : The shift() method is used to remove the first element of the array. The shift() method will return the first element which will be removed. The shift() method will change the length of the array. Syntax of th...

Helper function in codeigniter

Helpers in codeigniter According to the Name suggested "Helper" are the files which help us with tasks. Helpers are the collection of same category methods in a file. Each helper file is simply a collection of functions in a particular categor...

How to Promote the changes from one ORS to another in MDM Hub?

Below are the steps to promote the changes from one ORS to another: Step 1: Launch the jnlp file. Step 2: Enter you credential, select the ORS. Step 3: Under Workbench, select Repository Manager. Step 4: Connect to Master Database. Step 5: U...

How to calcuate distance between 2 place with the help of zip code in Php

Hello Everyone, today I am here to guide you "How to calcuate distance between 2 place with the help of zip code in Php". $point and $point are two places, you can pass these values into total_distance() function $radius is earth radius in mi...

Theming the maintenance page and Database offline Page

Maintenance page overriding Though Drupal provide very elegant page for the maintenance. What if you want to customize it. Yes this could be done by overwriting the page The system includes a default maintenance template, which is loca...

How to dismiss the keyboard in appium using Java?

When we enter any text in textbox through sendKeys() then after entering the text also the keyboard is not dismissed. If we want to locate the element on the screen then the element could not be located, so to locate the element on screen, the ke...

How to Add followers linked to new partner in Odoo9 ?

In followers linked to new partner fields first we have to go in .py file (Python file) After that we have to decide where we want followers linked to new partner fields and then write start to end python code to that field.Use below .py code in ...

How to inherit and add new fields in account module in openerp

In openerp first install account module and inherit the views of account module and pass the id of account module views form xml file then give reference in your own module and add your new fields in xml file. Use this code in your own module in...

Routing rule in codeigniter

In codeigniter, normally the routing is in the manner "host.com/controller/method/id" means, typically there is a one-to-one relationship between a URL string and its corresponding controller class/method. But some time developer or client want ...

How to import an ORS in MDM Hub?

Below are the steps to Import an ORS: Step 1: Launch the jnlp file. Step 2: Enter you credential, select the ORS. Step 3: Under Workbench, select Repository Manager. Step 4: Connect to Master Database. Step 5: Under Validate tab, validate th...

Types of Activity launch mode

Basically activity have a default launch mode that is Standard launch mode but we can change launch mode according to our need. There are four types of launch mode avaiable that are : 1.Standard 2.SingleTop 3.SingleTask 4.SingleInstance...

How to export an ORS in MDM Hub?

Below are the steps to Export an ORS: Step 1: Launch the jnlp file. Step 2: Enter you credential, select the ORS. Step 3: Under Workbench, select Repository Manager. Step 4: Connect to Master Database. Step 5: Under Validate tab, validate th...

Difference between INNER JOIN, LEFT JOIN, RIGHT JOIN and FULL JOIN in MySQL

In MySQL join is used to combine records from 2 or more tables based on a common column between them. INNER JOIN: It returns all rows when there is a match in both tables. LEFT JOIN: It returns all rows from the left table and matched rows ...

reverse() method of JavaScript Array

JavaScript Array reverse() method : The reverse() method is used to reverse the order of the array elements. Syntax of Array reverse() method : array.reverse() Example of Array reverse() method : Here in the following example I wi...
1 146 269
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: