How to Comment your Code in OpenCart

It is inevitable that if you spend enough time within the OpenCart framework you will end up writing some of your own customizations, especially if you plan on extending the default installation. There is nothing worse than making a ton of customizations and not remembering where they are later on. In PHP there are a couple of ways to comment your code so it will be easily seen and “marked” if you will, allowing you to find it later. This is especially helpful with files that have a thousand + lines of code. Sometimes, if you aren’t used to looking at PHP it can all start the look the same. For this article we will comment some custom code within the following file: catalog/controller/product/product.php which is a control file.

Today we will simulate adding a couple variables to be echoed on to the product.tpl page. The product.tpl is a VIEW file and is better known as Opencart’s Product Details Page. In Learn More

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

How to Integrate Google Drive with Elgg 1.8

Google Drive lets you store any document or file you want. It is a free service with almost unlimited storage. Not only that, Google Drive lets you share any file or document with your friends or everybody in the internet. In this article I will give you a step by step guide on how integrate Google Drive with elgg 1.8 so that you can share your Google Drive files in your elgg network.

1. First download the elgg community plugin Google Drive here

2. Now, upload the plugin to the mod folder. If you don’t know how to do that, read this article.

3. Log into elgg as an Admin. Open the Administration Dashboard and go to menu “Configure -> Plugins“: Learn More

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

Allow Members to “Hide” from the Browse Members in phpFox v.3.5

This article will show you how to allow members in a specific user group to hide their profile from the Browse Member page in the 3.5 version of phpFox.

phpFox released the 1st Beta of version 3.5.  This new version has some features that you may want to enable on your site.  Keep in mind, that at the time of the writing of this article, phpFox v.3.5 is in its first Beta stage, so it is not recommended that you load it on a live website.  Per your phpFox license, you can install phpFox on a live site AND on a development version of your live site in a development or phpfoxdev subfolder or subdomain. Learn More

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