MosModule PHP script

SPONSORED LINKS

    Specification

  • Version:
  • File size: 0 KB
  • File name: bot_mosmodule1p51.zip
  • Last update:
  • Platform: Windows / Linux / BSD
  • Language: PHP
  • Price:GPL
  • Company: Joomlaspan (View more)

MosModule script description:




Publisher review:
MosModule mambot has the ability to display nested article, exec snippet written in PHP (without tags) and exec external php script file pass with parameter (with tags). The hightlight of this new release are: - codeid to show article as code as as html literal - Add legacy mambot support and ability to run inside module - Same version to run as legacy or new mambot

Description: MosModule mambot has the ability to display nested article, exec snippet written in PHP (without tags) and exec external php script file pass with parameter (with tags).

You can see an example of that in "mosmodulehello.php".

Note: Please do not remove the copyright without contacting me first. Any donation$, post cards and foreign coin/money/stamps would be greatly appreciated. Thanks

In my mind this would give me the potential of reusing article that are common to all article without repeating the same content, make my article more dynamic enrich with php code using snippet or external php script file.

With the use of the parameters you can pass variable between mosmodule and the external php script. The possibilities are endless!

In summary, MosModule is a mambot to displays any module, article, exec snippet and external php script inside a content item.

Usage: Please see "{ROOT}/mambots/content/mosmodule/readme.txt" for more detail.

Note: . Important: Make sure to save the setting at least once and enable MosModule in Mambot manager! . This is a rewrite of modulebot to be compatible with Mambo 4.5.1 or above . The default folder for external script is "mosmodule" but you can change it in param screen . Please see hello.php for a sample on passing variable between mosmodule and external script . Snippet should not have tags where as phpinc should have the tags . Use can also use mosmodule to get RSS feeds from anywhere using the user module with RSS URL

Legacy mambot notes: - To use mosmodule as a legacy mambot . copy {ROOT}/mambots/content/mosmodule.php to {ROOT}/mambots - To run inside a module to call other module, hack the includes/frontend.html.php around line 51 Replace this: echo $module->content; With this: $mosmodulefunc=$mosConfig_absolute_path."/mambots/content/mosmodule/mosmodule_func.php"; if (file_exists($mosmodulefunc)) { include_once($mosmodulefunc); } if (function_exists('mosmodule_bot')) { echo mosmodule_bot($module->content); } else echo $module->content;

By default, the module will fill the width of the content area. If you wish to control the width and positioning of modules in content area, you will want to enclose the mosmodule tag(s) in a div and either assign a class to controll the display in your template_css.css file, or use inline styles (if you are using a WYSIWYG editor such as htmlarea2, you will need to switch to source mode in order to create the tag).
MosModule is a PHP script for Joomla / Mambo Modules scripts design by Joomlaspan. It runs on following operating system: Windows / Linux / BSD.
MosModule mambot has the ability to display nested article, exec snippet written in PHP (without tags) and exec external php script file pass with parameter (with tags).

Operating system:
Windows / Linux / BSD

Latest script and internet news

222

222

22

Posted on: 18 Jul 2023 22:27 by A. Brown

111

111

111

Posted on: 18 Jul 2023 22:24 by A. Brown

The permanently active Push system offered by the new Google Chrome 42

The permanently active Push system offered by the new Google Chrome 42

Hacked By !Sc-sT

Posted on: 17 Mar 2015 07:57 by A. Brown

SPREAD THE WORD

User Rating


Rating: 2.2 out of 5
Based on 13 ratings. 13 user reviews.

  • Currently 2.15 out of 5
  • 1
  • 2
  • 3
  • 4
  • 5