Members: 16,996
Threads: 38,846
Posts: 159,391
Online: 22

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etracker® Web-Controlling statt Logfile-Analyse

Go Back   Mambers.com > Mambo 4.5.1 > Mambo 4.5.1 'How Do I' Questions

Reply
 
LinkBack Thread Tools Display Modes
Old 09.01.2005, 06:37   #1 (permalink)
Baby Mamber
 
Join Date: Apr 2004
Posts: 21
Bernard is on a distinguished road
Default How to "call" a mambot in self-deployed module

Hi !

i am currently developing a module which displays content items at flexible locations. I need to call content mambots like {mosimage} or {akocomment}.

Goal ist to show a thumbnail , introtext, readon_link and akocomment as a preview. By clicking on the image or link you get to the content item. In fact it is nearly similar to the frontpage component. But you can use a module more flexible (different locations etc.)

But to save coding time and use mambo features I need to call the mambots.

(How) is that possible ?

Thanks in advance ...
Bernard is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 01.05.2005, 04:38   #2 (permalink)
Senior Mamber
 
ehsabbi's Avatar
 
Join Date: Sep 2004
Posts: 131
ehsabbi is on a distinguished road
Default Re: How to "call" a mambot in self-deployed module

I need the same, should be great ...
ehsabbi is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05.06.2005, 02:12   #3 (permalink)
Baby Mamber
 
Join Date: Jun 2005
Posts: 10
abfchgirlx is on a distinguished road
Default Re: How to "call" a mambot in self-deployed module

I'm wondering the same. If you got it, let us know!
abfchgirlx is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 21.04.2007, 10:15   #4 (permalink)
Baby Mamber
 
Join Date: Apr 2007
Posts: 2
adrianv is on a distinguished road
Default Re: How to "call" a mambot in self-deployed module

did anyone figure it out yet how to call a mambot from a custom module?

i builet a module and i need to call {akocomment} to it... how can i do it?
adrianv is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 17.05.2007, 17:06   #5 (permalink)
Baby Mamber
 
Join Date: Apr 2007
Posts: 2
adrianv is on a distinguished road
Default Re: How to "call" a mambot in self-deployed module

so far what i have found and i think i'm in the right tracks is this:
Code:
global $_MAMBOTS;

		// process the new bots
		$_MAMBOTS->loadBotGroup( 'content' );
		$results = $_MAMBOTS->trigger( 'onPrepareContent', array( &$row, &$params, $page ), true );
i found it in the content.html.php file, in the section were it calls the mambots. so, what should i provide as the function parameters in trigger()

any help will be appreciate.
adrianv is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
First web camera module for mambo 4.5.1 noobnuggets Development Announcements 4 13.11.2005 12:26
Putting content anywhere on the page - Module ready vrajesh Mambo 4.5 General Talk 7 28.09.2005 21:54
Firefox search plugin installer module V2.0a! :) idigital Development Announcements 0 17.12.2004 13:38
How to make a new text module DiStefano Mambo 4.5.1 'How Do I' Questions 1 13.12.2004 00:10
Author Info module v1.0-Beta Released tonyskyday Development Announcements 0 27.07.2004 06:48


All times are GMT +2. The time now is 14:19.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.