Saturday, January 18, 2014

Warning: ini_set() has been disabled for security reasons

Now a days security reason lots of Host disable  php function ini_set() . you can easily solve this issue with this method.


Create a file called “php.ini“.


Edit that file and type “disable_functions =“.


Save the file and upload  this file into  your root and administrator folder.


And now refresh your website :) Enjoy


Warning: ini_set() has been disabled for security reasons



Warning: ini_set() has been disabled for security reasons

Friday, January 10, 2014

responsive carousel for your website

A jQuery-based script for responsive carousels that work with mouse, touch, and keyboard


How To Use: 


In your web page:


<script src="jquery.js"></script>
<script src="dist/responsive-carousel.min.js"></script>
<link href="src/responsive-carousel.css" rel="stylesheet">

<div class="carousel">
<div>
<!-- carousel item content here -->
</div>
<div>
<!-- carousel item content here -->
</div>
</div>

 


The default build includes the slide/drag transition that you can apply by adding a data attribute and including some additional CSS.


<script src="jquery.js"></script>
<script src="dist/responsive-carousel.min.js"></script>
<link href="src/responsive-carousel.css" rel="stylesheet">
<link href="src/responsive-carousel.slide.css" rel="stylesheet">

<div class="carousel" data-transition="slide">
<div>
<!-- carousel item content here -->
</div>
<div>
<!-- carousel item content here -->
</div>
</div>

 


Extended features


There are other extensions in the src folder, such as flip and fade transitions, autoplay, keyboard handling, pagination, and more. If you’d like to create a build that includes certain extensions, just add them to the JS files listed under concat in the /grunt.js file, and run grunt from a command line.


DEMO:


Download: 


Download THIS responsive carousel for your website


Preventing Content Looping


The default carousel (responsive-carousel.js) returns to the initial active item(s) once it reaches the end of its list. This behavior can be disabled by annotating the carousel DOM element with data-loop='false' and including responsive-carousel.loop.js directly after the core carousel JS. For example:


...
<script src="path/to/responsive-carousel.js"></script>
<script src="path/to/responsive-carousel.loop.js"></script>
...

<div class="carousel" data-loop="false">
<div>
<img src="...">
</div>

...
</div>

 


Then, after both the carousel and plugin have loaded you can initialize as normal.


$( ".carousel" ).carousel();

 


When the carousel reaches the end or beginning of the list, the inserted navigation links (a.next anda.prev) will be decorated with an additional disabled class. This class receives no properties from the library by default.



responsive carousel for your website

responsive-nav

Responsive navigation plugin without library dependencies and with fast touch screen support.


a simple Responsive Nav is a tiny JavaScript plugin which weighs only ~1kb minified and Gzip’ed, and helps you to create a toggled navigation for small screens like smart phone, ipad and any mobile devices . It uses touch events and CSS3 transitions for the best possible performance your web site. It also contains a “clever” workaround that makes it possible to transition from height: 0 to height: auto, which isn’t normally possible with CSS3 transitions ;) .


Features:


  • Simple, semantic markup.

  • Weighs only ~1kb minified and Gzip’ed.

  • Doesn’t require any external library.

  • Uses CSS3 transitions and touch events.

  • Supports RequireJS and multiple instances.

  • Removes the 300ms delay between a physical tap and the click event.

  • Makes it possible to use CSS3 transitions with height: auto.

  • Built with accessibility in mind, meaning that everything works on screen readers and with JavaScript disabled, too.

  • Works in all major desktop and mobile browsers, including IE 6 and up.

  • Free to use under the MIT license.

Demos


download now


 


 


Usage instructions


Following the steps below you will be able to get the plugin up and running.


  1. Link files:

<!-- Put these into the <head> -->
<link rel="stylesheet" href="responsive-nav.css">
<script src="responsive-nav.js"></script>

 


  1. Add markup:

<nav class="nav-collapse">
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Projects</a></li>
<li><a href="#">Contact</a></li>
</ul>
</nav>

 


  1. Hook up the plugin:

<!-- Put this right before the </body> closing tag -->
<script>
var nav = responsiveNav(".nav-collapse");
</script>

 


  1. Customizable options:

var nav = responsiveNav(".nav-collapse", // Selector
animate: true, // Boolean: Use CSS3 transitions, true or false
transition: 250, // Integer: Speed of the transition, in milliseconds
label: "Menu", // String: Label for the navigation toggle
insert: "after", // String: Insert the toggle before or after the navigation
customToggle: "", // Selector: Specify the ID of a custom toggle
openPos: "relative", // String: Position of the opened nav, relative or static
navClass: "nav-collapse", // String: Default CSS class. If changed, you need to edit the CSS too!
jsClass: "js", // String: 'JS enabled' class which is added to <html> element
init: function(), // Function: Init callback
open: function(), // Function: Open callback
close: function() // Function: Close callback
);

 


Public methods


nav.toggle();


nav.destroy();


nav.resize();


Tested on the following platforms


  • iOS 4.2.1+

  • Android 1.6+

  • Windows Phone 7.5 & 7.8

  • Blackberry 7.0+

  • Blackberry Tablet 2.0+

  • Kindle 3.3+

  • Maemo 5.0+

  • Meego 1.2+

  • Symbian 3

  • Symbian Belle

  • Symbian S40 Asha

  • webOS 2.0+

  • Windows XP

  • Windows 7

  • Mac OS X


responsive-nav

responsive-nav

Responsive navigation plugin without library dependencies and with fast touch screen support.


a simple Responsive Nav is a tiny JavaScript plugin which weighs only ~1kb minified and Gzip’ed, and helps you to create a toggled navigation for small screens like smart phone, ipad and any mobile devices . It uses touch events and CSS3 transitions for the best possible performance your web site. It also contains a “clever” workaround that makes it possible to transition from height: 0 to height: auto, which isn’t normally possible with CSS3 transitions ;) .


Features:


  • Simple, semantic markup.

  • Weighs only ~1kb minified and Gzip’ed.

  • Doesn’t require any external library.

  • Uses CSS3 transitions and touch events.

  • Supports RequireJS and multiple instances.

  • Removes the 300ms delay between a physical tap and the click event.

  • Makes it possible to use CSS3 transitions with height: auto.

  • Built with accessibility in mind, meaning that everything works on screen readers and with JavaScript disabled, too.

  • Works in all major desktop and mobile browsers, including IE 6 and up.

  • Free to use under the MIT license.

Demos


download now


 


 


Usage instructions


Following the steps below you will be able to get the plugin up and running.


  1. Link files:

<!-- Put these into the <head> -->
<link rel="stylesheet" href="responsive-nav.css">
<script src="responsive-nav.js"></script>

 


  1. Add markup:

<nav class="nav-collapse">
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Projects</a></li>
<li><a href="#">Contact</a></li>
</ul>
</nav>

 


  1. Hook up the plugin:

<!-- Put this right before the </body> closing tag -->
<script>
var nav = responsiveNav(".nav-collapse");
</script>

 


  1. Customizable options:

var nav = responsiveNav(".nav-collapse", // Selector
animate: true, // Boolean: Use CSS3 transitions, true or false
transition: 250, // Integer: Speed of the transition, in milliseconds
label: "Menu", // String: Label for the navigation toggle
insert: "after", // String: Insert the toggle before or after the navigation
customToggle: "", // Selector: Specify the ID of a custom toggle
openPos: "relative", // String: Position of the opened nav, relative or static
navClass: "nav-collapse", // String: Default CSS class. If changed, you need to edit the CSS too!
jsClass: "js", // String: 'JS enabled' class which is added to <html> element
init: function(), // Function: Init callback
open: function(), // Function: Open callback
close: function() // Function: Close callback
);

 


Public methods


nav.toggle();


nav.destroy();


nav.resize();


Tested on the following platforms


  • iOS 4.2.1+

  • Android 1.6+

  • Windows Phone 7.5 & 7.8

  • Blackberry 7.0+

  • Blackberry Tablet 2.0+

  • Kindle 3.3+

  • Maemo 5.0+

  • Meego 1.2+

  • Symbian 3

  • Symbian Belle

  • Symbian S40 Asha

  • webOS 2.0+

  • Windows XP

  • Windows 7

  • Mac OS X


responsive-nav

Thursday, January 2, 2014

How to manage social networks icons in prestashop

This module is regularly referred to as TM Social and may also be found on your admin panel in Modules > TM Social


undefined


undefined


you may also edit existing icons, links and their description or add your personal social icons by way of clicking “Add a brand new item” at the bottom. After that you simply wish to click on store button.



This module additionally can also be known as “TM Banner” in some templates. allow us to test every other instance.


undefined


You wish to find the module referred to as “TM Banner block #2″ in your admin panel


undefined


you can also edit it in similar way because the previous “tmsocial” module


undefined



How to manage social networks icons in prestashop

Wednesday, January 1, 2014

How to work with TM NivoSlider in prestashop

1) Login to your admin panel and navigate to the Modules tab.


undefined


2) to find the TM Nivo Slider module and press Configure.



three) upload the Slide picture and fill all the needed data fields under.



4) with a purpose to create a slide URL, find any product on your retailer web page and copy all of the text that comes after your web site URL



5) Paste it to the Slide URL container




How to work with TM NivoSlider in prestashop

How to create a downloadable product in prestashop

1. Go to Catalog and add new product. Specify product identify and description.



2. choose virtual Product possibility.


undefined


three. Specify if product has associated file. in the event that your product has associated file you will have to specify its file name and different choices like choice of downloads, Expiration date and collection of days.



4. Assign product to the correct class. shop product. you can add product picture best while you save product first.


5. add product image


undefined


6. Set product worth.


undefined


7. retailer adjustments and check how your product appears to be like.



How to create a downloadable product in prestashop

How to add K2 item in joomla

This tutorial shows easy methods to add new K2 item in Joomla. In Joomla 2.5 templates provided by using our company we replaced default Joomla content material part with K2 part because of it’s advantages and advantages. now not all content material can also be accessed thru Joomla admin panel in element > K2 section. Please observe which you can nonetheless use default content material section of store your web page content material.


Let’s see how one can add new content material to K2.


1. to begin with open Joomla admin panel and go to components > K2 > gadgets.



2. click New within the prime proper corner to add new merchandise



at the regarded reveal that you may outline item small print: title, merchandise category, merchandise tags and many others.



in the content material area which you could input item content.


the usage of the tabs above the content material house you need to use such K2 options as item picture, images gallery, further fields, attachments etc.


In the right column that you would be able to outline item settings. we do not recommend to outline merchandise view choices for the precise item and define them within the class settings.


when you are carried out modifying the article click shop button within the prime right nook to keep your modifications.



How to add K2 item in joomla

How to use special characters in menu titles in joomla

the following tutorial will exhibit you how one can add different characters to the Joomla menu titles.


occasionally while you add a different persona to the menu title in Joomla, it is mirrored like it’s predefined code in your web site


Special_characters_in_joomla_menu_01



in an effort to resolve the difficulty you want to open the next file to your server:


modules/mod_menu/helper.php


And find the road:


$item->title = htmlspecialchars($item->title);

You want to add the following code before this line:


 $merchandise->title = str_replace(
array('&lt;','&gt;','&amp;'),
array('<','>','&'), $item->title);

where the first array consists the checklist of the predefined character codes, the second array reflects the symbols of the predefined code.


undefined


Please, note that such symbols as ‘, ” on the second array must start from backslash \ e.g.


array('<','>','&','\'','\"'), $item->title);

you may to find extra special symbols and their predefined codes on the next page: http://www.degraeve.com/reference/specialcharacters.php


experience your up to date website:


undefined



How to use special characters in menu titles in joomla