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

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
Old 05.11.2004, 13:35   #1 (permalink)
Junior Mamber
 
Join Date: Nov 2004
Posts: 41
marcnyc is on a distinguished road
Default some general questions about Mambo

Hello there,
I have just become a Mamber myself after installing it and integrating it with SMF. Awesome!
I just have some questions about Mambo's architecture...
Please note my installation works great, this is merely for my own curiosity and will to learn.
I have browsed and searched the forums here and at mamboserver and I have been able to answer some of my questions (such as what is all the code in the solarflare template and what '-1' means in the template, which has all been explained here http://forum.mamboserver.com/showthr...t=load+modules ). The doubts I am left with for now are:
1. what does this code in the template do?
Code:
if ( $my->id )
	initEditor();
and:
2. what does the index2.php in the mambo root do? how is it different from the regular index.php that is called?
Thanks to whoever will make me a tiny bit smarter ;-)
marcnyc is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 05.11.2004, 18:07   #2 (permalink)
Elite Mamber
 
twysm's Avatar
 
Join Date: Apr 2004
Location: /dev/peru/lima
Posts: 1,008
twysm can only hope to improve
Send a message via ICQ to twysm Send a message via MSN to twysm Send a message via Yahoo to twysm
Default Re: some general questions about Mambo

1) Loads the WYSIWIG editor when some user is logged in.
2) It's used for the generated RSS
__________________
www.ezwp.com
www.diginetperu.com
twysm is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08.11.2004, 00:31   #3 (permalink)
Junior Mamber
 
Join Date: Nov 2004
Posts: 41
marcnyc is on a distinguished road
Default Re: some general questions about Mambo

Thank you.
So without that line the wysiwyg editor isn't loaded at all, ever, right? Interesting...
Thanks for the reply
marcnyc is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08.11.2004, 03:29   #4 (permalink)
Senior Mamber
 
mambovince's Avatar
 
Join Date: Apr 2004
Location: London, UK
Posts: 165
mambovince is on a distinguished road
Default Re: some general questions about Mambo

Quote:
Originally Posted by marcnyc
So without that line the wysiwyg editor isn't loaded at all, ever, right? Interesting...
I'm not 100% sure, but I think without this code the editor still loads, but with it, only loads when user is logged-in.

Vince
__________________

HostBaron.com
- low price Mambo & Joomla starter packages.
Includes easy install or migrate from Mambo to Joomla!
mambovince is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08.11.2004, 14:51   #5 (permalink)
Elite Mamber
 
twysm's Avatar
 
Join Date: Apr 2004
Location: /dev/peru/lima
Posts: 1,008
twysm can only hope to improve
Send a message via ICQ to twysm Send a message via MSN to twysm Send a message via Yahoo to twysm
Default Re: some general questions about Mambo

No, it will NOT load anything without the code, it will load IF it has this line initEditor(); then it will load for everybody, with if ( $my->id ) initEditor(); it will only load for registered users.
__________________
www.ezwp.com
www.diginetperu.com
twysm is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08.11.2004, 20:23   #6 (permalink)
Junior Mamber
 
Join Date: Nov 2004
Posts: 41
marcnyc is on a distinguished road
Default Re: some general questions about Mambo

I see, interesting. Thanks
marcnyc is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09.11.2004, 02:21   #7 (permalink)
Senior Mamber
 
mambovince's Avatar
 
Join Date: Apr 2004
Location: London, UK
Posts: 165
mambovince is on a distinguished road
Default Re: some general questions about Mambo

Ah yes, I remember now, I have the following version of this included by default in my Mambo templates:

PHP Code:
        if ($my->id) {
            if(
$_REQUEST["task"] == "edit" || $_REQUEST["task"] == "new") {
                include(
"editor/editor.php");
                
initEditor();
            }
        } 
This only loads the editor when it's actually needed, rather than always if registered user logs-in.

Vince
__________________

HostBaron.com
- low price Mambo & Joomla starter packages.
Includes easy install or migrate from Mambo to Joomla!
mambovince is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09.11.2004, 02:53   #8 (permalink)
Junior Mamber
 
Join Date: Nov 2004
Posts: 41
marcnyc is on a distinguished road
Default Re: some general questions about Mambo

That's awesome. Thanks a lot.
marcnyc 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
Best methods for managing multiple Mambo installs. coling Mambo 4.5 'How Do I' Questions 7 14.12.2005 10:20
Mambo Open Source 5.0 Book Series mmx Community Announcements 13 19.09.2005 09:35
Draft Press Statement unity Community Smalltalk 50 30.09.2004 21:53
MOS no more - Mambo for sure ;) idigital Community Announcements 16 25.07.2004 06:14


All times are GMT +2. The time now is 12:17.

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.