
Search In
syntax :
t($string, array $args = array(), array $options = array())
Every string that may be displayed to a user should be wrapped in the t() function actually it takes the responsibility for translating strings from one language into other not
There are two ways to use global variables:
1.$rootscope
2.service
1- We can use rootscope which is the parent of all scopes. Values exposed there will be used in all controllers and templates. We can use this in a simple way by just injecting it
Hi Readers,
To make the tableView cell animate from a particular point to its position, you just have to add the lines below in the “willDisplayCell:” delegate function of the table view as shown below.
-(void)tableView:(UITableView *)tableView wi
Whenever we submit a form or do some task, we usually display a success message, but sometimes it is required to hide this message automatically after some time period.
We can do this by two ways:
By using setTimeout method:
<html>

Here is the function that tells how to write text on any sample video:-
function videoConversion($videoId, $batchId){
$font_path = "/var/www/html/james/LeagueGothic-Regular.otf";//path of the fonts
$ffmpeg_path = "/usr/local
To create a custom spinner create a custom view with the following initialization method
- (id)initWithFrame:(CGRect)frame superViewFrame:(CGRect)superViewFrame
{
self = [super initWithFrame:frame];
if (self) {
// Initialization code
What is Meta tags
Before knowing about Meta Tags, you should also know what is Metadata?
Metadata is data about data or data which gives information about data. In webpages Metadata are used with HTML codes called meta tags, it provides the inform
Hi all,
To configure the setup in OPENERP, i have provided the method/solution below, you just need to follow the steps one by one.
SOLUTION
Go to Settings-> Configuration-> Human Resources (this will Install your country’s payroll.)
Swift is a new programming language for iOS and OS X apps that builds on the best of C and Objective-C, without the constraints of C compatibility. Swift adopts safe programming patterns and adds modern features to make programming easier, more flexi
If you want to validate the dynamically generated form using javascript:
You can use this code :
HTML :
<div id="example">
<form id="newForm">
<input type="text" name="email" id="email" value="mail" />
