Category Covered

Show-hide or Read more-less article using javascript  

 Here I have given the sample code .   CSS   .less.active .button-read-more {     display: none; } .button-read-less {     display: none; } .less.active .button-read-less {     display: block; } .more {     margin-top: 10px; } .more p {     margin: 0;     padding: 0; }   Scripts   jQuery(function ($) {     $(".more").hi
 
By: mimosa  |   Total Read: 22  |   Read more..

Extreamly Cruelty  

  (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.3"; fjs.parentNode.insertBefore(js, fjs);}(document, 'script', 'facebook-jssdk')); Secretos de la industria de la piel Olivia Munn explica los horrores de la indust
 
By: Tech writer  |   Total Read: 78  |   Read more..

cakephp bake on ubuntu  

How to setup cakephp bake on ubuntu? Don’t worry just follow the instruction.   sudo apt-get install cakephp-scripts   Before doing that please make sure that your tmp directory in app is writable   1. sudo gedit /etc/environment   File will be opened with a text editor and with a content similar below for cakephp baking environment settings. PATH=”/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:
 
By: Tech writer  |   Total Read: 87  |   Read more..

CakePHP bake Command  

 Cakephp bake setup on windows. Follow the image for setting up the environment variable for cake bake.   Environment variable path setup on cakephp bake is very important   My pc Environment variable is like that so be careful about it. You will be needed to set the bold path for the baking.   Dont use any space after or before comma(,)   %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\
 
By: Tech writer  |   Total Read: 662  |   Read more..

মানুষের বিপদে মানুষকে সাহায্য করা উচিত তার বিপদে তাকে আরেকটা বিপদে ফেলা ঠিক না  

  একদিন একটা চোর মই লাগিয়ে ডাব গাছে ডাব চুরি করছিলো হটাত মই টা গাছ থেকে পরে গেলো তখন চোর ডাব ধরে গাছে ঝুলে গেলো । ঠিক ওই সময় উটের পিঠে চরে একটা লোক যাচ্ছিলো তখন চোর অনুরোধ ক
 
By: Tech writer  |   Total Read: 162  |   Read more..

Integrating CakePHP with Twillio  

How you will integrate twillio on cakephp? Here i am going to write step by step. Step1: Download the twillio from the below link and extract it to projectName/app/vendor Directly you may download from the given links https://github.com/twilio/twilio-php/archive/master.zip or https://github.com/twilio/twilio-php<
 
By: Tech writer  |   Total Read: 649  |   Read more..

web server run automatically when computer boot  

 I have a network on my office and there is a server computer where we have all the projects. Normally we used to SVN but one attendance application run on that server that need to access by everyone but server is restricted to everyone. But everyone can switch on the computer only.   The project runs on WAMP server. So what I have changed to run the WAMP server at the time of boot.  Here are the instructions to start WAMP servi
 
By: Tech writer  |   Total Read: 171  |   Read more..

পৃথিবীর মানুষ আমরা কি শান্তি চাই  

  হে​ মানব জাতি আমরা কি আসলেই শান্তি চাই নাকি শুধু এইটা একটা তাত্ত্বিক শব্দ যা কাগজে আর মানুষের মুখের বুলি হয়ে ভেসে বেড়াবে ?

আমরা দেয়া ছবিটার দিকে একটু নজর দেন । আমর
 
By: Tech writer  |   Total Read: 312  |   Read more..

How to change date format of database output in php  

MySQL stores the date in any database (by default) as 'YYYY-MM-DD' .To change date format in any type you can use DATE_FORMAT function in your sql query.
As for example:
$mytest  = “SELECT  yearday as selected_date from balm_yearday   where DATE_FORMAT(yearday,"%d-%m-%y") '';
echo $mytest;
output : 20-01-2015.
Here you can give any type date format such as d/m/y or d-m-y o
 
By: mimosa  |   Total Read: 234  |   Read more..

How to show-hide or Read more-less article using a simple javascript  

How to show/hide or Read more/less article using a simple javascript
 
 Here I have given a simple example of read more text using simple javascript code.
    <div class="text">
        Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an un
 
By: mimosa  |   Total Read: 158  |   Read more..
Top 15 Posts
Google+