Create WebScript in Alfresco

In the previous post we have learned about what are webscripts and its role in Alfresco. In this post I will explain how to create a simple webscript in Alfresco. We are going to create Alfresco JavaScript based webscript. Here we are creating webscript which fetch all the document of particular type from repository and return html file with all those properties.

Step1: Learn More

Tags: , , , , , | Posted under Alfresco | 2 Comments

Using the MODX Lexicon Outside of MODX

One of the banes of my existence is writing MODX extras that will run inside and outside of MODX. Worse yet, sometimes they also run in a browser and from the command line.

In an earlier Article, I wrote about how to instantiate MODX outside of MODX. That makes things easier since you can use any MODX methods once you’ve instantiated the $modx object, but what about the parts of the program that might run before that? If they display messages to the user (possibly error messages), you might like to use lexicon strings to internationalize those messages. Learn More

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

OpenCart – Create Ajax Function

Opencart makes really good use of Ajax all throughout the framework installation. There may come a time where you will need to make your own Ajax call because you want to set something up that does “not” come with the basic installation. This tutorial will teach you how to do this so you can say money and do it yourself :).  First, let’s discuss what AJAX is first.

What is Ajax? Learn More

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