
Search In
Hello Readers ,
The following code demonstrate how you would accomplish common tasks with the Facebook SDK for PHP.
This SDK can be use in facebook login , Retrieve a user's profile , Post a link to a user's feed.
window.fbAsyncInit = function(
Workflows can be moved along by sending them signals. Instead of using the top-level execute_kw, signals are sent using exec_workflow. For example code is like below.
client = models.execute_kw(
db, uid, password,
'res.partner', 'search_read
At times we need to change the message that is displayed after a node is saved.Follwing code helps to customize using form_alter.
function mymodule_form_alter(&$form, &$form_state, $form_id)
{
if($form['form_id']['#value'] =='formvalue'
Hello readers !
Few days back I was facing issue to make public profile page in cakephp. And want to hide controller and action name from url for this I used the below code in routes.php and its work fine.
Router::connect(
'/:username', arra
From my previous blog,we all know that what prefabs are. Now,I want to explain how we instantiate prefabs and what are its advantages.
public class preafabDemo : MonoBehaviour
{
var ball:GameObject;
// Use this for initializati
Hello Guys,
There are different issues while uploading a video to a server.
-videoSize video Quality.
Now uploading depends on internet speed and file sizes and it can take almost a minute to upload a video.
Developers use Activity Indicator but
JavaScript Pagination
Here i am going to describe how we would add JavaScript pagination to the table.
We'll focus on displaying a particular page of data.
$(document).ready(function() {
$('table.paginated').each(function() {
var currentPage = 0;
At times, we make apps which use camera feature but that app can also be used on non camera devices for other features. There we have to apply a check on using the camera feature, that is as follows:
PackageManager packageManager = activity.getPacka
The following code should be used to automate the slider:
WebDriver driver = new FirefoxDriver();
driver.get("http://jqueryui.com/resources/demos/slider/default.html");
driver.manage().timeouts().implicitlyWait(20L, TimeUnit.SECONDS);
WebElement sli
The following code prints an image stored in a file:
-(void)print:(id)sender
{
NSImage *image = [[NSImage alloc]initWithContentsOfFile:[imageEdWindowController getImageLocation]];
[image scalesWhenResized];
NSImageView *_imageVie
