Members: 16,815
Threads: 38,941
Posts: 160,336
Online: 190

Newest Member: oldman


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 > Community > Community Smalltalk

Reply
 
LinkBack Thread Tools Display Modes
Old 15.04.2004, 03:02   #1 (permalink)
Mamber
 
webweever's Avatar
 
Join Date: Apr 2004
Posts: 62
webweever is on a distinguished road
Default Using MAMBO much like Geocities

Is it possible to config MAMBO to act like Geocities. I would like users to be able to signup for a webiste at xxx.mystie.com and have my ads run on there site. Much like Geocities or Angelfire.

I thought I had seen an app (php) like this but can't find it. I like MAMBO so just wondering if someone has already done this somewhere.
__________________
Dave
www.racinnation.com | www.burghsports.com
webweever is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 15.04.2004, 03:14   #2 (permalink)
Junior Mamber
 
richardt's Avatar
 
Join Date: Apr 2004
Location: Melbourne, Australia
Posts: 42
richardt is on a distinguished road
Send a message via MSN to richardt
Question Re: Using MAMBO much like Geocities

Hi Dave,

I'm not really sure about this project, so perhaps someone else can fill us in, but I've been keeping an eye on the following project at SourceForge to see if there's been any changes...

Mambo Band: http://sourceforge.net/projects/mamband/

Have a look - the description is pretty much what we're after...

Cheers!
__________________
Richard Thornton
http://richardthornton.com
richardt is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 15.04.2004, 03:16   #3 (permalink)
Junior Mamber
 
richardt's Avatar
 
Join Date: Apr 2004
Location: Melbourne, Australia
Posts: 42
richardt is on a distinguished road
Send a message via MSN to richardt
Default Re: Using MAMBO much like Geocities

Doh! Forgot you can go straight to their homepage: http://www.mamboband.org/
__________________
Richard Thornton
http://richardthornton.com
richardt is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 15.04.2004, 03:51   #4 (permalink)
Mamber
 
webweever's Avatar
 
Join Date: Apr 2004
Posts: 62
webweever is on a distinguished road
Default Re: Using MAMBO much like Geocities

Hey Richard,

What did you use to make that menu on your site?

Thanks for that link, I'll keep an eye on that COM.
__________________
Dave
www.racinnation.com | www.burghsports.com
webweever is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 15.04.2004, 04:22   #5 (permalink)
Expert Mamber
 
BennieBlanco's Avatar
 
Join Date: Apr 2004
Posts: 464
BennieBlanco is on a distinguished road
Default Re: Using MAMBO much like Geocities

Quote:
Originally Posted by webweever
Hey Richard,

What did you use to make that menu on your site?

Thanks for that link, I'll keep an eye on that COM.

yeah nice menu Richard
how?
BennieBlanco is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 15.04.2004, 10:09   #6 (permalink)
Mamber
 
Join Date: Apr 2004
Posts: 99
jure is on a distinguished road
Default Re: Using MAMBO much like Geocities

Quote:
Originally Posted by webweever
What did you use to make that menu on your site?
JSCook Menu is the answer. There is a nice tutorial how to implement it in download section here:
http://www.utra.org.au/qta/
jure is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 15.04.2004, 13:18   #7 (permalink)
Junior Mamber
 
richardt's Avatar
 
Join Date: Apr 2004
Location: Melbourne, Australia
Posts: 42
richardt is on a distinguished road
Send a message via MSN to richardt
Default Re: Using MAMBO much like Geocities

Hi guys,

Thanks for the comment on the menu I am working on a few templates at the moment which will include the menu (but yeah, JSCookMenu is the way to go). It does some funny things in Mozilla, and I'm yet to figure out whether it is a browser error or a css error...

I'm really looking forward to hearing more about Mambo Band, but it seems to have been stalled for a while now...?!

Ps...it's the same menu that powers the Admin section of Mambo
__________________
Richard Thornton
http://richardthornton.com

Last edited by richardt : 15.04.2004 at 13:20. Reason: More info
richardt is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 15.04.2004, 13:20   #8 (permalink)
Expert Mamber
 
BennieBlanco's Avatar
 
Join Date: Apr 2004
Posts: 464
BennieBlanco is on a distinguished road
Default Re: Using MAMBO much like Geocities

Quote:
Originally Posted by richardt
Hi guys,

Thanks for the comment on the menu I am working on a few templates at the moment which will include the menu (but yeah, JSCookMenu is the way to go). It does some funny things in Mozilla, and I'm yet to figure out whether it is a browser error or a css error...

I'm really looking forward to hearing more about Mambo Band, but it seems to have been stalled for a while now...?!

Thank's for the info
do you know where can I get the JSCookMenu ?
BennieBlanco is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 15.04.2004, 13:21   #9 (permalink)
Junior Mamber
 
richardt's Avatar
 
Join Date: Apr 2004
Location: Melbourne, Australia
Posts: 42
richardt is on a distinguished road
Send a message via MSN to richardt
Default Re: Using MAMBO much like Geocities

Here ya go

http://www.cs.ucla.edu/~heng/JSCookMenu/
__________________
Richard Thornton
http://richardthornton.com
richardt is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 15.04.2004, 13:31   #10 (permalink)
Junior Mamber
 
richardt's Avatar
 
Join Date: Apr 2004
Location: Melbourne, Australia
Posts: 42
richardt is on a distinguished road
Send a message via MSN to richardt
Arrow Re: Using MAMBO much like Geocities

Righto, here's a heads up. This might take a minute to figure out, but grab the script from the above link and put it wherever you find the need to (I have the ThemeOffice directory under the template/{templatename} directory).

Then, above the initEditor() line in the template's index.php add the following:

Code:
<SCRIPT LANGUAGE="JavaScript" SRC="includes/js/JSCookMenu.js"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript" SRC="templates/{templatename}/ThemeOffice/theme.js"></SCRIPT>
<LINK HREF="templates/{templatename}/ThemeOffice/theme.css" REL="stylesheet" TYPE="text/css" />
<?

$mymenu_content = <<<EOT
<SCRIPT LANGUAGE="JavaScript"><!--
var myMenu =
[
EOT;
      $database->setQuery("SELECT * FROM #__menu WHERE menutype = 'mainmenu' AND published ='1' ORDER BY ordering");
      $menus = $database->loadObjectList();   // mainmenu list
      $subs = array();   // sub menus
      // first pass to collect sub-menu items
      foreach ($menus as $row) {
         if ($row->parent) {
            if (!array_key_exists( $row->parent, $subs )) {
               $subs[$row->parent] = array();
            }
            $subs[$row->parent][] = $row;
         }
      }
      foreach ($menus as $row) { // second pass to insert main-menu items
         if ($row->parent == 0 && (trim( $row->link ) || array_key_exists( $row->id, $subs ))) {
            $name = addslashes( $row->name );
            $alt = addslashes( $row->name );
            $link = $row->link ? "'$row->link" : "null";
            if ($row->type != "url") {
               $link .= "&Itemid=$row->id'";
            } else {
               $link .= "'";
            }
            $mymenu_content .= "\n   ['<!img src=\"'+cmThemeOfficeBase+'arrow.png\">','$name',$link,null,'$alt'";
            if (array_key_exists( $row->id, $subs )) {
               $mymenu_content .= ',';
               foreach ($subs[$row->id] as $sub) { // third pass to insert sub-menu items
                  $name = addslashes( $sub->name );
                  $alt = addslashes( $sub->name );
                  $link = $sub->link ? "'$sub->link" : "null";
                  if ($sub->type != "url") {
                     $link .= "&Itemid=$sub->id'";
                  } else {
                     $link .= "'";
                  }
                  $mymenu_content .= "\n      ['<img src=\"'+cmThemeOfficeBase+'arrow.png\" width=\"13\">','$name',$link,null,'$alt'";

                  if (array_key_exists( $sub->id, $subs )) {
                     $mymenu_content .= ',';
                     foreach ($subs[$sub->id] as $sub2) { // forth pass to insert subsub-menu items
                        $name = addslashes( $sub2->name );
                        $alt = addslashes( $sub2->name );
                        $link = $sub2->link ? "'$sub2->link" : "null";
                        if ($sub2->type != "url") {
                           $link .= "&Itemid=$sub2->id'";
                        } else {
                           $link .= "'";
                        }
                        $mymenu_content .= "\n      ['<img src=\"'+cmThemeOfficeBase+'arrow.png\" width=\"13\">','$name',$link,null,'$alt'],";
                     }
                  }
                  $mymenu_content .= "],";
               }
            }
            $mymenu_content .= "],";
         }
      }

$mymenu_content .= "];\n";
$mymenu_content .= "--></SCRIPT>\n";

echo $mymenu_content;
?>
This will run through the entire Main Menu structure... just make sure you update the {templatename} references in the .js/.css links at the top. Hopefully I haven't lost you yet

Next, move to the spot in your template where you want the actual menu to appear. The idea here is that the menu is placed in a <div> container and is called with a Javascript command, so put the following in the exact spot where you want the menu to appear:

Code:
<DIV ID="myMenuID" align="center"></DIV>
<SCRIPT LANGUAGE="JavaScript"><!--
	cmDraw ('myMenuID', myMenu, 'hbr', cmThemeOffice, 'ThemeOffice');
--></SCRIPT>
I know this is a lot of info, and I'm sorry if I've confused people. I plan to publish this as a proper, constructed tutorial at some point in the next few days...I'm about to go into hospital so if you need a hand shoot me an email and I'll get to it when I can
__________________
Richard Thornton
http://richardthornton.com
richardt 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

vB 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
Mambo Open Source 5.0 Book Series mmx Community Announcements 13 19.09.2005 08:35
Instalación de mambo en local para novatos. Vogue Instalacion 2 05.04.2005 03:02
Why Mambo is better than PostNuke? Jazzy Community Smalltalk 42 19.11.2004 13:27
New mambo fork xMambo scheurer Community Announcements 24 16.05.2004 08:52
mambo vs. phpWebSite CMS reemas Mambo 4.5 General Talk 14 09.05.2004 01:38


All times are GMT +2. The time now is 22:58.

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