Extending Basic ‘Page type’ in the Silvestripe CMS

Now I’m extending the HomePage.php Page type.

  1. We add db arrays: Learn More
Tags: , , , , , , , | Posted under SilverStripe CMS | Leave a comment

How to Block IP Addresses in web.config

If you want to restrict website access to certain IP address, you have to do it in the web.config file. The Web.config allows you to restrict access to a page, directory, all sub directories, or even the whole website. In this article I will give you a step by step guide on how to blog IP addresses in web.config

1. Open the web.config file of your project. Learn More

Tags: , , , , , , , , , , , , , , , , , , , , , , | Posted under ASP .NET 2, ASP .NET 3.5, DotNet/Windows Hosting, WebsitePanel Tutorials | Leave a comment

OpenCart – Using the json Object with Ajax

This is a simple tutorial that will show you how to set up a java script function that uses Ajax to contact a PHP CONTROL file, thus returning json data to echo the results on a TPL file (HTML). All throughout the Opencart framework this is happening and sometimes you will have need to write your own extension. In doing so, you will come across the need to use AJAX.

For this example we are going to do a simple HELLO WORLD echo. First, you need to write your javascript (with AJAX).  Since Opencart uses jQuery we will be using jquery style javascript. Jquery is not a scripting language. Rather, it’s a javascript library that makes great use of Javascript to produce rich applications. Learn More

Tags: , , , , | Posted under OpenCart | Leave a comment