Search This Blog

Wednesday, January 9, 2013

Creating an Active Directory Forest Covered

This article shows how to create an Active Directory forest covered in the article.   You could have another domain name, we used SteveSchofield.local as the test forest.  To start your forest, load your first VPC called DC1, login as Administrator and type DCPromo.  This will start the process.

Step1:

Type DC Promo in Search



Step2:

Type DC Promo in Search


















After the box reboots, you'll have a working AD forest.  You would follow the process on DC2, instead of creating a new forest, you'll add an domain controller to an existing forest.    After both DC's are up and going, you can adjust the ip settings to fit the architecture listed article.   Once the forest is up and going, you can create two additional member servers and add them to the forest.  You just need to make sure the primary DNS settings on member servers are pointed to one of the DCs.   This will help resolve the domain, in our example it's SteveSchofield.local.



How to deploy wsp File in Visual Studio 2010 & 2013

Welcome to Designers Dairy blog here i have posted How to deploy wsp File in Visual Studio


SharePoint 2010 it is easy to create a .wsp file using visual studio 2010



Step:1

Go to Solution Explorer -> Select the Project (example: office 365)


Step2:

Click F4  Project Properties window will be open in the bottom


Step 3:


Select : Change 

          Sand boxed Solution  : True

           Site Url : office 365 Demo  link  or Central Admin port Url



Step4:

          
  Select the Project (example: office 365) Right click


Step5:

Select Build -> If Build is Success it will show Build is succeeded.


Step6:

Select Package -> If Package is Sucess it will show package is succeeded.


Step7:

Select Deploy  -> If Deploy is Sucess it will show Deploy is succeeded.









        

Monday, December 3, 2012

How to make Support Html 5 Tags in all Browsers

Welcome to Designers Dairy blog here i have posted how to make Support HTML 5 Tags in all  major

Browsers IE7, IE8.IE9,IE10.


Add this script into your head tag of your HTML File

<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>


or Copy this code  make Html5.js

/*! HTML5 Shiv vpre3.6 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed
  Uncompressed source: https://github.com/aFarkas/html5shiv  */
(function(a,b){function h(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x<style>"+b+"</style>",d.insertBefore(c.lastChild,d.firstChild)}function i(){var a=l.elements;return typeof a=="string"?a.split(" "):a}function j(a){var b={},c=a.createElement,f=a.createDocumentFragment,g=f();a.createElement=function(a){if(!l.shivMethods)return c(a);var f;return b[a]?f=b[a].cloneNode():e.test(a)?f=(b[a]=c(a)).cloneNode():f=c(a),f.canHaveChildren&&!d.test(a)?g.appendChild(f):f},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+i().join().replace(/\w+/g,function(a){return c(a),g.createElement(a),'c("'+a+'")'})+");return n}")(l,g)}function k(a){var b;return a.documentShived?a:(l.shivCSS&&!f&&(b=!!h(a,"article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio{display:none}canvas,video{display:inline-block;*display:inline;*zoom:1}[hidden]{display:none}audio[controls]{display:inline-block;*display:inline;*zoom:1}mark{background:#FF0;color:#000}")),g||(b=!j(a)),b&&(a.documentShived=b),a)}var c=a.html5||{},d=/^<|^(?:button|form|map|select|textarea|object|iframe|option|optgroup)$/i,e=/^<|^(?:a|b|button|code|div|fieldset|form|h1|h2|h3|h4|h5|h6|i|iframe|img|input|label|li|link|ol|option|p|param|q|script|select|span|strong|style|table|tbody|td|textarea|tfoot|th|thead|tr|ul)$/i,f,g;(function(){var c=b.createElement("a");c.innerHTML="<xyz></xyz>",f="hidden"in c,f&&typeof injectElementWithStyles=="function"&&injectElementWithStyles("#modernizr{}",function(b){b.hidden=!0,f=(a.getComputedStyle?getComputedStyle(b,null):b.currentStyle).display=="none"}),g=c.childNodes.length==1||function(){try{b.createElement("a")}catch(a){return!0}var c=b.createDocumentFragment();return typeof c.cloneNode=="undefined"||typeof c.createDocumentFragment=="undefined"||typeof c.createElement=="undefined"}()})();var l={elements:c.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:c.shivCSS!==!1,shivMethods:c.shivMethods!==!1,type:"default",shivDocument:k};a.html5=l,k(b)})(this,document)

What Is HTML 5

What is HTML5 ?

                     Its a  new standard for HTML.

HTML5 is still a work in progress. However, the major browsers support many of the new HTML5

elements and APIs.
 
The previous version of HTML, HTML 4.01, came in 1999. The web has changed a lot since then.


Tuesday, November 20, 2012

WAMP Server Installation Guide for Windows 7 32/64 Bits

Welcome to designers blog here i have posted how to use wamp server in window 7

By default WampServer is installed to port 80 which is already used by IIS. To set WampServer to use an open port, left click on the WampServer icon in the system tray and go to Apache > httpd.conf
Open the httpd.conf in Notepad. press ctrl+f and search for 

"Listen 80", change this line to "Listen 8080"

  (u can change this port as what you want), and then close and save the httpd.conf file.

Open a web browser and enter  this will open the WampServer configuration page where you can configure

Apache, MySQL, and PHP.and some times this problem may occur because of skype also use 80 as default


Now you can see WampServer icon on the taskbar. WampServer icon has three states.
  • Red
  • Yellow
  • Green
Red:





Yellow






Green:





When Green Symbol comes your Wamp Server in Active .






Tuesday, November 6, 2012

Page Visitor Count

Welcome to designers blog here i have posted how to integrate e visitor count to websites

Step1:

Go to : http://www.e-zeeinternet.com/required.php?message=1&page_name=&style_selected=&number_digits=&refresh_value=&adult_site=&special_type=&referer=

Step2:

Enter the counter details:

Step3 :

Select the Counter style

Step4:

Press Get Counter Code

Screenshot:




Creating PHP contact form using html pages

Welcome to designers blog here i have posted how to send email from php and redirect page using

header('Location: register.html'); function

Contact us.html Page:


 <form action="contactus.php" method="post" onsubmit="MM_validateForm('fname','','R','lname','','R','email','','RisEmail','ccode','','RisNum','acode','','R','number','','RisNum','msg','','R');return document.MM_returnValue">
                <ul>
                 
                  <li><br />
  <span class="star_link">*</span> Salutation</li>
                  <li>
  <input type="radio"  Value="Mr" name="salutation" size="40"/>
                    Mr
                    <input type="radio" value="Mrs" name="salutation" size="40"/>
                    Mrs
                    <input type="radio" value="Miss" name="salutation" size="40"/>
                    Miss
                    <input type="radio" value="Ms" name="salutation" size="40"/>
                    Ms         </li>
                  <li>
                    <span class="star_link">*</span> First name:<br />
                    <br />
                    <input name="fname" type="text" id="fname" size="40"/>
                    <br />
                    </li>
                  <li>
                  Last Name:  <span class="star_link">*</span> <br />
                  <br />
                    <input name="lname" type="text" id="lname"  size="40"/>
                    <br />
                    </li>
                   
                        <li>
                       
                  E-mail Address: <span class="star_link">*</span> <br />
                    <br />
                    <input name="email" type="text" id="email" size="40"/>
                    <br />
                    </li>
                  <li>Phone Number <span class="star_link">*</span></li>
                  <li>
                   
                    <input name="ccode" type="text" id="ccode" onblur="if(this.value==''){this.value='Country Code'}"
                   
                   onclick="if(this.value=='Country Code'){this.value=''}" value="Country Code" size="20" maxlength="20" >
                    <input name="acode" type="text" id="acode" onblur="if(this.value==''){this.value='Area Code'}"
                   
                   onclick="if(this.value=='Area Code'){this.value=''}" value="Area Code" size="20" maxlength="20" />
                    <input name="number" type="text" id="number" onblur="if(this.value==''){this.value='Number'}"
                   
                   onclick="if(this.value=='Number'){this.value=''}" value="Number" size="20" maxlength="20">
                    <br />
                    <br />
                  </li>
                  <li >
          How can we help you? <span class="star_link">*</span>
                   <textarea name="msg" cols="34" rows="10" id="msg" style="margin:0px 0px 0px 10px;"> </textarea>
                    </li>
                  <li>The following information is required for regulatory purpose </li>
                  <li></li>
                  <li><strong>I am a resident of <span class="star_link">*</span></strong>
                   <select name="resi">
                   <option>Asia</option>
                       <option></option>
                           <option></option>
                  
                   </select>
                  
                    <select name="resia">
                   <option> Asia link 1</option>
                       <option></option>
                           <option></option>
                  
                   </select>
                 
                  
                  
                   </li>
                  <li></li>
                   <li><strong>I am a citizen of <span class="star_link">*</span>  </strong> &nbsp;&nbsp;
                     <select name="region">
                   <option selected="selected">Select a region</option>
                       <option>link1</option>
                           <option>link2</option>
                  
                   </select>
                  
                    <select name="regions">
                      <option>link3</option>
                           <option>link4</option>
</select>
                
                   </li>
                   <li></li>
                   <li><input type="checkbox" />
                    <span class="star_link">*</span> Required a Filed</li>
                  <li>

                  </li>
                  <li>
                    <input type="submit" />
                    <input type="reset" />
                    </li>
                  </ul>
                </form>


contactus.php page:

 <?php
           

            $to="xxx@gmail.com";
            $subject="Enquiry Form";
            $subjects = "New A/C";
            $kumar= "M3MoneyManager";
             $salutations=$_POST['salutation'];
            $fname=$_POST['fname'];
            $lname=$_POST['lname'];
            $email=$_POST['email'];
            $ccode=$_POST['ccode'];
            $acode=$_POST['acode'];
            $number=$_POST['number'];
            $msg=$_POST['msg'];
            $resi=$_POST['resi'];
            $resia=$_POST['resia'];
            $region=$_POST['region'];
            $regions=$_POST['regions'];
            $headerss="From:".$kumar;
            $headers="From:".$fname;
            mail($to,$subject,"Salutation:$salutations\nFirst name:$fname\nLast name: $lname\nEmail:$email\n Phone number:$ccode\n Area Code:$acode\n Number: $number \nHow can we help you :$msg\n I am a resident of: $resi $resia\n I am a citizen of :$region $regions",$headers) && mail($email,$subjects,"$fname.We are pleased to confirm that you have been registered for the Opening the account.\n we will get back you soon",$headerss);
            header('Location: register.html');
         
   ?>       


 Register.Html page

Thank you For opening the A/c . A confirmation email has been sent to the email address that you   have provided during registration.






Validating to select in sequencial order using angular

    < input type = "checkbox" (change) = "handleSelectTaskItem($event, taskItem)" [checked] = " taskItem . i...