Posts

Showing posts from June, 2013

Simple Tabs Using Javascript and CSS

Image
For the content-crowded web sites tabs or tabbing can be very useful. Plenty of space can be saved by using tabs. I mean just by placing content block in tabs and displaying only one block at a time. Few days back I had a deal with tabbing. It would be better if I say not only tabbing but also very complex tabbing having awesome effects created using complex coding of jquery and nice look. Many hours were spent for its creation. After its completion, I realized that there should be a very simple demo that acts like a row material for such complex tabbing creation that i had created. So, i have created very simple tabbing using javascript and css. Download Demo Features of this Demo => Very easy to understand => Only simple Javascript used => Highly customizable => Easy to implement. Download the Demo ,implement it in your projects and customize it as per your requirements. If you find this post helpful then share it.Please have a look at other similar kind of post Here .

7 Tips for Joomla developers to improve their Joomla Skills

Developers working on Joomla need to know about updates and tools that are regularly launched. There are too many ways such as planning of content, SEO, queries and scripts that can lead Joomla developers to improve their skills. We have provided with 7 tips for Joomla developers to improve their Joomla skills. In having an expanded knowledge on the style sheets there will be better placement of footers, headers and background colors. Thoroughly knowing the templates will let one know about page setting and modifications in individual web pages. Here are the tips to follow : Optimization for a Website While handling CSS and knowing about securities in Joomla it is important to user statistics, visitor trends and other traffic related details. In order to know how to do optimization in Joomla one must learn about how to optimize images, know about GTMetrix.com, go deep inside Joomla to know all about it without opting for easier extensions and search for a good Joomla web host. Knowing

eCommerce Tips : Ensure Consumers & Online Shopping Experience

eCommerce is one of the most important sectors in the business and commerce world. In order to have success in eCommerce certain goals, strategies and policies must be followed. Consumers must feel wanted. Trust is important to excel in eCommerce. Keeping oneself updated with modern tools and utilities is important in ensuring good shopping experience for consumers. Getting inside the brain of buyers is important in understanding the needs of consumers. Payment Procedures Must be Easy Consumers look for eCommerce websites with easy to access payment options. Whether a payment is being made or received through a website, it must be easy. An eCommerce website must have all the modern day options such as PayPal account and credit card payments. However a buyer and a seller must both have PayPal accounts to comfortably carry out the payments. Payment procedures must also be secure. Online purchases must satisfy customers and not scare them away from your website. Consumers often complain o

How JQuery helps in improving Joomla component's functionality

Joomla is a high-quality content management system (CMS) that enables its user to create Web sites and powerful online applications. Moreover, including its ease-of-use and extensibility, have made Joomla the most demanded Web site software available. Joomla can be termed as an open source solution that is easily available to everyone. This plugin is meant to solve back and front end issues by using instances of jQuery alongside. The module is easy to configure with lot much functionality... It helps display images, videos as slideshow pages in the document. The following are the slideshow module of Jquery used in Joomla : 1. Avatar Slide Galleria Extensions is known as a slideshow module/plugin found in the Galleria library. It will be interesting with many more effects and options to configure. Here you are able to select images from Picasa, local folder or Flickr. The main aim is to make the process simple while creating professional image galleries compatible for the World Wide We

Block Visibility Conditions in Drupal

Image
While dealing with “Block” in Drupal, you have many choice regarding its display. Like, in simple words where to display,for which conditions,for which users,for which roles.etc..  So, in this post you will learn about such useful conditions.We called it as “Block Visibility Conditions”. General Way of providing block permissions If your block was created from a view (if not then you can create one) ,then the access settings can be set in the view edit mode: Now you can simply select the permissions to access the block.Users having the selected permission will be able to access this display. Click on the little 'cog-wheel' to the right of the 'Access' row under the view's basic settings in order to select the restriction you desire:  Attention :  Please see the comment below the 'Default Access Options' list as shown in the above image. If you want to remove 'access all views' for the anonymous user,you can do it from  '/admin/user/permissions&#

Methods of Increasing file upload size in PHP

It often becomes a major headache to continue file uploading in PHP due to limitations in maximum file upload size. Increasing memory limits in PHP and increasing PHP upload size are two completely different worlds of determinations. Default option allows PHP upload size be limited between 2MB to 10MB. Most servers are developed on PHP scripts which make it open to initiate changes in upload limits. Errors are common with developers finding it hard to select higher upload sizes. We have given a few steps which can help to ensure increasing file upload size in PHP. Configuration Options The following configurations need to be set in order to prepare the increase in upload limitation. ‘upload_max_filesize’ is a command that ensures increasing the upload file size. ‘memory_limit’ allow developers to set maximum limits within the script. This allows the desired file size to be allocated. This is a very important command that helps preventing poorly written scripts to

Boggle Find word Game using HTML5 Canvas

This is my very first attempt to make a game using HTML5 Canvas API. Please share in comments, your true score obtained in first attempt (I want to know scoring patterns). Also any feedback is appreciated (thoughts, error or even any praise ;-) Works in Chrome and Firefox. HOW TO PLAY? Just like any other Find-A-Word game, You've to find words. Click and Drag to select "car" in proper order (selecting "rac" is invalid). Unlike other Find-A-Word games, You've to find the same word in the Grid. There are 19 occurrences of "car" in the grid. Seconds Left:    CARs Left: startGame CanvasLeft: CanvasTop: X: Y: CurrentCell: Draw line from till Quadrant Angle

Top Five Innovative ideas to improve eCommerce Business

With the advancement of technology, business has become technology oriented and ecommerce has gained huge popularity globally. You can run your ecommerce business quite easily and communicate with your customers worldwide in an efficient manner if you maintain some strategies. 1. Provide every detail and give scope for assessment If you provide with precise information regarding size, shape, color and other features along with image of the product, this would attract your customers even more. The information should be written in a succinct but appealing manner. The product description and content should be written in SEO friendly way so that a customer may easily find your product in the site when he searches for his demanded criteria. You can offer product demonstration videos to your customers to provide with a better understanding of the product. Providing opportunity for giving feedback for your product would increase your products standing. Positive feedbacks would definitely add

5 Things Every WordPress Developer Should Be Aware Of

Every good thing has a bad side to it, and so is WordPress. Though it is something which comes with a number of advantages and is pretty easy to work on, there are a number of things which might boggle you from time to time and might not prove to be the best decisions you made related to work. WordPress is also liked and preferred by people as there is a huge amount of helpful data available online for developers and they can get access to it quite easily. For every developer working on a WordPress theme and other related aspects is very important these days, and in this article we will talk about a few mistakes which have been committed quite often in the past and tips which they should make use of, to avoid these shortcomings. Say No To query_posts() Query_posts are something you really should not use as it just slows down the whole process as you will have to take time out to clean up the mess which has been caused by the number of applications which are running in the background du

All About CSS3 Selectors

CSS is a style sheet language that helps developing and defining designs, look and formats for HTML pages. Content presentation is taken to a high level with the help of CSS. Document color, fonts and layouts are implemented with the help of CSS. A document is properly segregated and made more flexible and structured with the help of CSS. A CSS3 Selector helps in selecting an element to include style in it. It is important to understand how efficiently CSS codes can be written. Being different is what is wanted by most people. In order to present different CSS styles, it is very important to write efficient selectors. Styling elements without limitations would require an in-depth knowledge in CSS Selectors. Pseudo-Class in CSS3 Selectors In order to understand and implement CSS3 Selectors it is important to know that there are basic syntaxes that come with selector types and patterns. Every element has their separate attributes. Pseudo-classes in CSS are used to target elements that a

How Android Development has Taken Over Mobile Market?

Change is the only thing that is constant in this dynamic, fast moving world. But we can say a change is a better one when adapting ourselves to the change is easy and painless.One such change for the better is the introduction of Android application into the mobile platform. It is not an exaggeration to say that most of the dominant market players in the mobile market have lost share rapidly over the world saw the swift developments in the Android smart phones. Reports from IDC and other top mobile market research companies declare that Android phones have lured more than half the mobile market within a very short span of time. What is most fascinating about these innovative android phones is that the fragmented versions that are available paves way for its developers to customize each version in some style. The main reason behind the rapid advancements in Android apps is attractive perks this niche provides to its developers. Since it is an open platform where it is easy to gain a c

Date validation in PHP

Image
In this post we will see how to validate date in PHP. Date that you want to test may have various Formats Like… => YYYY-MM-DD => DD/MM/YYYY => MM-DD-YYYY => DD-MM-YYYY => YYYY-MM-DD and so on.. We will see mostly used formats. Date in the other format  can easily be validated by making small changes in the existing code. So, let’s have look at them. YYYY-MM-DD Format $date = '2013-05-14'; //Date that needs to be tested goes here  function isItValidDate($date) {  if(preg_match("/^(\d{4})-(\d{2})-(\d{2})$/", $date, $matches))    {    if(checkdate($matches[2], $matches[3], $matches[1]))     {       return true;     }   }  }  if(isItValidDate($date))  {    echo 'It’s a valid Date. ';   }   else  {   echo 'Entered Date is invalid..!!';   } DD/MM/YYYY Format $date = '14/05/2013';  //Date that needs to be tested goes here  function isItValidDate($date) {   if(preg_match("/^(\d{2})\/(\d{2})\/(\d{4})$/", $date, $matches))    {

Home

Image
Welcome to the Techs By Me. Here, I am presenting the topics which are rare to find on the internet, and my self have searched them in vein. The tutorials are such that I had a difficult to find, so I collect such and present it to you in a single place called Techs By Me or Techs searched by me. Also you can request for things that you don't easily find on internet.         Mail  me, and I will be responsible to search you your content and produce them under your request Always at your service As a product of SJPN and SandalBlack19

Practical PHP Tutorial - Master Page I

Chapter 4 Master Page, what is master page? We always here this term whenever we come to server side programming, but what is it? what is the use of it? how and when do we use it? Well, lets come to our project. We have a structure here so far. Let me give the content of the html of the page's body. <div class="center-it" id="main-container"> <table style="width:100%; margin-bottom: 50px;" id="page-holder"> <tr style="vertical-align: top"> <td style="width: 250px"> <div id="div-header"></div> <div id="div-category"></div> </td> <td> <div id="div-cpanel"></div> <div id="div-menu"></div> <div id="div-page"> ::::::::::::::::::::::::::::::::::::::::::::::::: </div> </td> </tr> </table&

Pending AJAX terminating on window.location.href issue

Consider following 2 lines executed together: $.ajax('url',options) window.location.href= 'some url'; Many browsers (Chrome for example) terminate Ajax request when they encounter redirect call. Q. Why would I need ajax and redirect together? A. There can be many reasons. Most important being tracking scripts which does analytic on page visits. Q. Can't I solve that by making async as false for Ajax? A. Definitely Yes! $.ajax('url',{async:false}) would resolve the problem. But what if AJAX call is wrapped deep inside some third party plugin you're using where you've no control over ajax attributes? In this case you won't have the flexibility to apply async:false. To resolve this, you can make use of $.active property in JQuery. This property (damn useful) gives a count of number of open xmlHttpRequests on a page. So, coming back to our problem, you can do following to ensure plugin's ajax executes before redirect: SomPluginCalledHavingAja

Six Amazing New Joomla Template frameworks for Joomla experts

When it is Joomla we are talking about we need to thoroughly understand the need for updates and developments in Joomla that would make for appropriate customization. There are only a few Joomla template frameworks available for selection. Criteria that need to be followed before making the right selection are easy usability, easy update option, stable usage, compatibility with other extensions, fast loading, clean and crispy layout, rich features and detailed documentation along with a customization guide. Warp framework - Yootheme German developers have created this Joomla template framework which contains more than 50 templates. Loading speed is excellent in this framework. There are a total of 4 values in compression parameter which comfortably suits itself with various server configurations. Warp is neatly organized and this enhances usability comfort. Parameters are clubbed in 3 general panels such as tracking code, default profile and others. Profile panel comprises of layout,

PHP: Unable to load dynamic library suhosin.so in Debian sid

When you install php5 in Debian sid, you'll get following warning after updating. PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525/ suhosin.so' - /usr/lib/php5/20100525/ suhosin.so: cannot open shared object file: No such file or directory in Unknown on line 0 And you will get a punch of   annoying  system mail. Orz After searching on google, I got the answer from Debian bug mailing list. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=668739 The problem is the suhosin was obsoleted in Debian sid and it will be remove after system upgrading. But its configuration still exist in /etc/php5/conf.d. shawn:/usr/lib/php5$ dpkg --list | grep php5 | more ii  libapache2-mod-php5                5.4.4-14                  amd64        server-side, HTML-embedded scripting language (Apache 2 module) ii  php5                               5.4.4-14                  all          server-side, HTML-embedded scripting language (metapackage) ii  php5-cli      

Is PHP the best option for Application development?

When the question is about developing application PHP is best option for its fast performance, secure and professional platform. PHP is regarded as one of the best flexible web languages that make dynamic scripting easier and smarter. This is rightly suited for application development. In order to work in secure databases, PHP is the best option. Its open source and free availability makes it a popular choice in web related applications. It is easy to learn PHP. Established in 1994, PHP has become a hot favourite for coders around the world. A lot can be added and developed on PHP. Websites become light and smooth with PHP scripts running them. PHP is also compatible with most form of applications which make it a vital choice for web development uses. Why is PHP the best option for Application development? PHP works very well with HTML. This is a great advantage as most websites use HTML for designs and applications. In building high-end website applications it is important to have a f