Umesh Patil

Broken package and dependency errors on Ubuntu solved

To solve this error I wen to too many articles from number of websites but none solved my problem. 
Then I figured this out by my own, 
To solve this error you have to restart your machine first,
then after restart you will get bios menu list where you select your operating system.
In this list Select ubuntu with recovery mode,
Recovery menu will appear, from that menu select 
dpkg Repair broken packages and hit enter.
 

How to display a popup box containing webform using simple dialog module of Drupal 7

 
To display a webform first you need to create a webform, 
We will create a simple webform to demontrate this example,
 
Go to "Add Content" and create a webform containing a name field and an email field.
 
After doing this create a simple block and add following code to it,
 
<a href="/my-webform" class="simple-dialog" name="webform-client-form-562" title="My Webform Title" rel="width:900;position:[center,60];">Link TItle</a>

How to create root user for the first time in Ubuntu

 
In this article we will create the root user for the first time in newly installed Ubuntu.
First open terminal window (Terminal window is used to run commands it is also called CLI that is command line interface)
Now type “sudo passwd” and press enter.
It will ask you to write new UNIX password. Type in your password.
Once it done write “su” and Enter, then enter your password and you will be logged in as a root user.

 

 

Pages