Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

18193 Posts in 2349 Topics- by 810 Members - Latest Member: zlikovac
Pages: [1]   Go Down
Print
Author Topic: Ubacivanje modula u sadrzaj  (Read 1306 times)
fantastic
SITE ADMIN
Hero Member
*
Offline Offline

Posts: 1272



View Profile WWW
« on: 04.02.2007; 02:21:04 AM »

Evo jedan zanimljiv plugin (mambot) za ubacivanje modula u bilo koji sadrzaj. Samo je potrebno upisati {Mosmodule module=nazivmodula}.  Smiley
Logged

Enzo
Zenica
Hero Member
*****
Offline Offline

Posts: 513


MONOBLUE.ORG


View Profile WWW
« Reply #1 on: 04.02.2007; 02:45:45 AM »

Kad si već to uradio, nebi bilo loše, čak šta više potrebno je da nam napišeš i nešto više o njemu, da li je free, gpl, ko su developeri, i sa kojeg sajta se mogu naći update-i, itd.

U svakom slučaju hvala Wink
Logged

Enzo
Zenica
Hero Member
*****
Offline Offline

Posts: 513


MONOBLUE.ORG


View Profile WWW
« Reply #2 on: 04.02.2007; 02:56:35 AM »

Quote
MosModule & modulebot mambot
Version 1.02

Developer site: http://ongetc.com/

Concept: The BotSquad
Coding: Chanh Ong
Documentation: Tony Scida
http://mosforge.net/projects/COAddOns/

Copyright (C) 2004 Al Warren
All rights reserved
Modulebot mambot is Free Software
Released under GNU/GPL License : http://www.gnu.org/copyleft/gpl.html

=====================================================

This mambot displays any module inside a content item.

-----------------------------------------------------

Installation:
After the standard Mambot install of the new MosModule bot.  If you want
to use the old legacy mambot then copy modulebot.php to the /mambots directory.

-----------------------------------------------------

Note:
- Important: Make sure to enable MosModule in Mambot manager!
- This is a rewrite of modulebot to be compatible with Mambo 4.5.1 or above
- This Mambot is design to be backward compatible with modulebot as long as
  Mambo still support legacy bot.
- use either MosModule or modulebot would work only if you do the copy the modulebot.php
  as describe above.

Usage:
  {Mosmodule module=somemoduletitle} - this is the title of the module as
    can be seen in the Module Manager. Module titles can also be seen with the
    list bot below.
  {MosModule user1} - Where "user1" is any module block position.
  {MosModule list} - Displays a list of available modules and block positions.
  {MosModule section=FAQ} - Displays the entire section randomly

-----------------------------------------------------

Warnings and Restrictions:
Certain modules (for example Newsflash and Polls) cannot be called twice on
the same page and will cause errors.

This mambot has not been tested with all existing modules.

This mambot has not been tested with all existing mambots, but is known not
to conflict with any core mambots.

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 modulebot 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 <div> tag).
Logged

fantastic
SITE ADMIN
Hero Member
*
Offline Offline

Posts: 1272



View Profile WWW
« Reply #3 on: 04.02.2007; 03:08:23 AM »

Vec si ti to uradio.  Smiley
Logged

korisnik
Newbie
*
Offline Offline

Posts: 12


View Profile
« Reply #4 on: 17.02.2008; 08:05:55 AM »

A koje dodatne funkcije ovaj mambot ima u odnosu na standardni mosloadposition?
Logged
sin2384
GLOBAL MODERATOR
Hero Member
*
Offline Offline

Posts: 1274



View Profile WWW
« Reply #5 on: 17.02.2008; 08:28:49 AM »

Verovatno to što mu ne moraš definisati poziciju u index.php, i recimo može biti uključen samo na stranama gde ti je potreban. Nekad je to teško izvodljivo.  Wink
Logged

Pages: [1]   Go Up
Print
Jump to: