October 2009

MosModule: Can MosModule be used in custom HTML module?

Will MosModule execute its command in custom HTML module?
The answer is Yes and No.

No, all the latest version of Mambo, Joomla MiaCMS or any of the forks won't parse mambots in custom HTML module by default but there is a way!

MosModule advance usages and sample

Convention:
() optional parameter
[] default value
| can substitue , as delimiter when separate parameter in MosModule

MosModule: Show MosCom latest 5?

It is very easy with MosModule, you just create an article to contain the snippet then another article to execute it.

Here are the steps:

First you create an article that contain this snippet code:

MosModule: Show content in a module

It is extremely simple to do!

Assuming you already install and enable Mambot MosModule and Moddule MosModuleMod then below are the steps you need to do to make it happen!

MosModule: How to use snippet?

What is snippet?

MosModule: How to show contact form in content?

Here are the steps:

1. You just create an menu item to point to your contact form.

MosModule: How to hack CB to parse MosModule in CB tab?

In summary what you need to do is:
. Look for this function in CB: getViewTabContents
. wrap around the return variable with a call to mosmodule_bot in mosmodule_func.php
. That's it!

With this hack you can now use any mosmodule command in CB tab.

MosModule: How to embed video w/ ReMository?

You just need to download the latest version of ReMository and the latest Quickdown. After you install Remoistory and Quickdown and make sure you enable Quickdown mambots then you do the following:

Here is the code to show the video:

MosModule: How to embed video in content?

With MosModule, it is very easy! You just use the "video" or "flash" command to embed video like this:

{mosmodule video=URLtoVideo}
or
{mosmodule flash=PathToLocalFlashFile}

Here are some working example streaming video from local file and from YouTube, Yahoo Video, Google Video.

MosModule: Grabpage command

This article show how to use MosModule "grabpage" command. This command is use when you need to pull content from other URL whether from your own site or from other site.

Here is the actual code that pull content from opensourcesCMS.com demo site:

Pages