Recent Posts

The danger of iframe clickjacking and how to deal with it

Clickjacking It involves tricking a user into clicking something different from what they think it is. Let’s create a straightforward example with it. index.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>A malicious website</title> <link rel="stylesheet" href="style.css"> </head> <body> <button>Just a button</button> <iframe id="banking-site-iframe" src="https://your-bank.com"></iframe> </body> </html> Above, we have …

Read More »

Leo Elements show content for each Product

Edit file tpl in ROOT\themes\THEME_NAME\templates\layouts\layout-both-columns.tpl Add code {if $page.page_name == ‘category’} {hook h=’displayContentTopCategory’} {/if} {if $page.page_name == ‘product’} {hook h=’displayContentTopProduct’} {/if}   Product Edit Product Preview   Category Edit Category Preview      

Read More »

[Solver] Slideshow loading error

slider-error-loading

Hi Everyone. If you got error with Slideshow loading same picture     Please copy css code and add it in file .ApSlideShow .slide_config , .LeoSlideshow .slide_config{ display: none; }   Path file css themes/nametemplate/assets/css/custom.css then clear cache and try again

Read More »