
Search In
JavaScript String indexOf() method : The indexOf() method is used to return the index value of specified string. It will give the index of string comes first from the start. We can also start searching by skipping the number of characters. If value i
JavaScript string search() method : The search() method is used to search a specific string within a given string. It returns the index of the searched string and if no string matched then it returns the -1.
Syntax of the search() method :
strin
JavaScript String substr() method : The substr() method is used to extract the sub-string from a string. It counts the index from 0. It returns the number of characters starts from the first parameter upto second parameter if passed. It doesn't modif
Hello Guys
Here, We find all layouts with the specific JournalArticle in AssetPublisher portlets.
With easy requirements someone publish a JournalArticle with specific Tags i.e TagA, TagB. On the other pages (Layouts) of the liferay portal, we hav
Setting up a local development server installing plugins and modules you might need to develop Drupal theme
Firt we need to setup the local sever where we gonna run our Drupal site
1. First we need a server, XAMPP is very popular AMP stack pr
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
Can se
Hello Guys
I configured office365 email in liferay to send email via smtp by using below properties :
mail.session.mail.transport.protocol=smtp
mail.session.mail.smtp.user=admin@domain.com
mail.session.mail.smtp.password=m8Kw
mail.session.m
The error is any mistake that we make while writing a program which hampers the proper functioning of the program. While creating and running any application we encounter different types of errors. An error produces undesired output or other behavio
In object oriented programming Association and Aggregation shows the relationship between the classes. Relationship in OOPS defines the connection between the objects. It basically shows how objects are attached to each other and how they will operat
In the below code layout I have created floting action button layout. Here I have used CoordinatorLayout, LinearLayout, TextView and FloatingActionButton. FloatingActionButton move left or right when we changes layout_anchorGravity. In this layout Fl
