
Search In
In the below code I have created ContactUs page. Here first I have added images in drawable folder, created Scrollview, ImageView, TextView in activity_contactus.xml layout. And I have used OnClickListener method for using phone no, tweeter and mail.
Hi Reader's,
Welcome to FindNerd, today we are going to discuss how to find Unix timestamp in PHP?
If you want to get current Unix timestamp then you should use getTimestamp() function which returns Unix timestamp that represents the date. This
Hello guys
To retrieve a record form DDLRecord in liferay 6.2 please follow the below given code.
Here in below code I am retrieving records from DDLRecord according recordId.
here recordId = 11207.
List<DDLRecord> ddlRecords = null;
Following are some steps to increase page loading speed:
Step 1: HTML Design
Use Div based html design for your website. Table based design will take more loading time as compare to div based design.
Step 2: Use External JavaScript and CSS Files
Java applications are not unknown to the world and it has completely transformed the way how business enterprises interact with their potential customers. Java Apps are quite user-friendly and interesting to use. Further, the amazing user interface i
Hello Reader's!,If you want to change User Active / inactive status on click or dropdown change,Then I wrote this blog for you.
first you need to create dropdown box which contain user status 0 for Suspend 1 for active.
Example:
<?php $opti
Hash Conditions in Active Records (Rails)
Active records allows us to to pass in array conditions to our query to fetch a single record or all the records matching
the key value pair. In these hash conditions we pass the key as the name of th
In this tutorial we will see how we can use pluck and select in rails active record queries.
Select is used to fetch records with specific attributes. It returns ActiveRecord::Relation object.
Project.select(:id)
Project Load (41.5m
In below example I have written Python script to configure barcode. It will print one barcode on each page based on quantity available of selected products. Like below python code in .py file :
import logging
from openerp.osv import fields, orm
Magento: Remove Product Images in Magento through programming:
There is a case when we need to create our own extensions or we have to customize the module, then in that case we need to write custom code for deleting images. Following code will dele
