Jump to content


HtmlArea Q and a menu Q


  • You cannot reply to this topic
6 replies to this topic

#1 SilverApe

    Etomite Forum Newbie

  • Member
  • 29 posts

Posted 19 August 2004 - 11:24 PM

Hi there,

Etomite is great! I have yet to learn how to adjust it to my needs but ok...:)

Q1

I have used HtmlArea for some cms systems and I liked it ( not perfect, but very cool). Now I have v3 with an insert file plug-in (http://alrashid.klokan.sk/insFile/htmlareademo/) (realy good for linking to files instantly) and the tables plug-in activated, realy great.

Correct me if I am wrong but I think you (Alex) are using an older version of HtmlArea and now I am a bit lost on how to expand the HtmlArea, I would probably need to upgrade it.

Could someone help me a litle bit with this.
I would realy appreciate it, thanx.

Q2

Ok
I need a menu for a site (duh) that has a top navigation bar with expanding menu's ( a litle bit like rad14701 but than on top, man does that guy know a lot!!),
than sub sub links on the left.

So mainlinks on top expanding to sublinks, which when you klick them give you sub sub links on the left side :shock: i know :?: :?:

does anyone knows a thing like that or how to do it or or......

I know two big nasty questions, but I had to ask them because I am not a php wizzard like some here :D .

I hope someone has the answer for me.
Thanx in advance ( you to Alex for this great peace of work )

Aaron

#2 Ralph

    Loves Etomite Forums!

  • Admin
  • 6,524 posts
  • Gender:Male

Posted 20 August 2004 - 01:11 AM

Quote

Q2

Ok
I need a menu for a site (duh) that has a top navigation bar with expanding menu's ( a litle bit like rad14701 but than on top, man does that guy know a lot!!),
than sub sub links on the left.

So mainlinks on top expanding to sublinks, which when you klick them give you sub sub links on the left side  :shock:  i know  :?:  :?:

does anyone knows a thing like that or how to do it or or......

Aaron

Thanks for the compliment Aaron, but I can't take all the credit for the menu your refer to... That menu is Milonic Menu, and I only converted it over to work with Etomite 0.6 from a working 0.5.3 version as a favor to fiscus... I don't do Java, so I can't be of much help in that department... But I'm sure that someone else here knows more about active menus than I do... Glitz is not my forte, program logic is... You might try browsing some of the PHP sites ot DevShed to see if there are any scripts there that can be converted to work with Etomite...

Can anyone out there help Aaron...???

#3 fiscus

    Etomite Forum Fan

  • Member
  • Pip
  • 89 posts

Posted 20 August 2004 - 02:09 AM

As Rad mentioned the menu that I have been using is the Milonic Menu www.milonic.com - this is probabaly the best menu on the net.

It is a commercial product so if you are using it for a website you will probably have to buy a lisence - there are edu and special free lisences available though. You can download a free version but there will always be a link to milonic - not pretty.

As you can see on this website I am using the Milonic Menu with Etomite www.screenwise.com.au - I am working on a completely new site for this using Etomite 0.6 and the new snippet that rad helped me concert.

The milonic menu can easily be made to go horizontal if you wish - you just have to edit the config stuff at the top of the snippet. Very easy to do and milonic would be perfect for it...

#4 WebbyMom

    Etomite Forum Fan

  • Member
  • Pip
  • 112 posts

Posted 20 August 2004 - 02:58 PM

Also, remember that with the advent of Chunks, you can stick a menu into a chunk and not snippetize it at all, if you wish.

Here's a great place to get a menu generated:

http://www.softcomplex.com/products/tigra_menu/

It's free, no tag lines, and works really well - I have it on one of my sites, www.bchla.bc.ca. I found it easy to add bits to it after the fact just by hand. :)

This is the site I will next be Etomizing - I'm going to simply stick that horizontal menu into a chunk and leave it as it is - but the sidebar breadcrumb navigation I'm going to be converting (somehow) to a snippet (if I can...... LOL), because that's the one that sort of changes all the time, blah blah blah......

Or, if you want a CSS-generated menu, you can check the CSS Link thread for a great place in my first post.

#5 SilverApe

    Etomite Forum Newbie

  • Member
  • 29 posts

Posted 20 August 2004 - 09:05 PM

Sorry for my slow respond on your fast respond :).

that milonic menu seems to do the trick (also supported by many browsers and versions).

If I buy it could you please help me a litle bit in making it a snippet, it is all a litle bit new for me the whole Etomite (using snippets, chunks and templates with it).

WebbyMom that thing with chunks was not a bad idea at all, and thanx for the css links to :) css is cool !!

thanx people for your help
Aaron

PS. Rad you are good, I mean everybody helps eachother here but on almost every post I see your name with again some clever solution on someones problem/question, so you can take this compliment :D you deserved it

#6 pcwacht

    Etomite Forum Fan

  • Member
  • Pip
  • 135 posts

Posted 20 August 2004 - 09:49 PM

I made MenuBuilderMain and MenuBuilderVer (changed just a bit of MenuBuilder)

Used technique.
MenuBuilderMain will add ?id2=id to url
MenuBuilderSub will use id2 as offset.


Use MenuBuilderMain for main menu stuff.
This will NOT show any childs!

Use MenuBuilderSub for submenu stuff.
This will allso NOT show any childs...!!

In template use diff classes for the two menuboxes, so the MenuBuildMain will show horizontal and the MenuBuilderSub will show vertical.


//MenuBuilderMain



if(!isset($id)) {

    $id = $etomite->documentIdentifier; //current document

}



$indentString="";



if(!isset($indent)) {

    $indent = "";

    $indentString .= "";

} else {

    for($in=0; $in<$indent; $in++) {

        $indentString .= "&nbsp;";

    }

    $indentString .= "&raquo;&nbsp;";

}



$children = $etomite->getActiveChildren($id); $menu = ""; $childrenCount = count($children); $active="";

if($children==false) {

    return false;

}

for($x=0; $x<$childrenCount; $x++) {

	if($children[$x]['id']==$etomite->documentIdentifier) {

  $active="class='highLight'";

	} else {

  $active="";

	}

	if($children[$x]['id']==$etomite->documentIdentifier || $children[$x]['id']==$etomite->documentObject['parent']) {

  $menu .= "<a ".$active." href='[~".$children[$x]['id']."~]?id2=".$children[$x]['id']."'>$indentString".$children[$x]['pagetitle']."</a>";	

	} else {

  $menu .= "<a href='[~".$children[$x]['id']."~]?id2=".$children[$x]['id']."'>$indentString".$children[$x]['pagetitle']."</a>";

	}

}

return $menu."";

// menubuildersub

if(!isset($_GET['id2'])) {

    return false;

}  else {

$id = $_GET['id2'];

$id2=$id;

}

$indentString="";



if(!isset($indent)) {

    $indent = "";

    $indentString .= "";

} else {

    for($in=0; $in<$indent; $in++) {

        $indentString .= "&nbsp;";

    }

    $indentString .= "&raquo;&nbsp;";

}



$children = $etomite->getActiveChildren($id); $menu = ""; $childrenCount = count($children); $active="";

if($children==false) {

    return false;

}

for($x=0; $x<$childrenCount; $x++) {

	if($children[$x]['id']==$etomite->documentIdentifier) {

  $active="class='highLight'";

	} else {

  $active="";

	}

	if($children[$x]['id']==$etomite->documentIdentifier || $children[$x]['id']==$etomite->documentObject['parent']) {

  $menu .= "<a ".$active." href='[~".$children[$x]['id']."~]?id2=".$id2."'>$indentString".$children[$x]['pagetitle']."</a>";	

	} else {

  $menu .= "<a href='[~".$children[$x]['id']."~]?id2=".$id2."'>$indentString".$children[$x]['pagetitle']."</a>";

	}

}

return $menu."";



Have fun,
John

[/code]

#7 fiscus

    Etomite Forum Fan

  • Member
  • Pip
  • 89 posts

Posted 21 August 2004 - 02:34 AM

Quote

Sorry for my slow respond on your fast respond :).

that milonic menu seems to do the trick (also supported by many browsers and versions).

If I buy it could you please help me a litle bit in making it a snippet, it is all a litle bit new for me the whole Etomite (using snippets, chunks and templates with it).

WebbyMom that thing with chunks was not a bad idea at all, and thanx for the css links to :) css is cool !!

thanx people for your help
Aaron

PS. Rad you are good, I mean everybody helps eachother here but on almost every post I see your name with again some clever solution on someones problem/question, so you can take this compliment :D you deserved it

There are a million menus out there but what is important for me is compatability between browsers. You will get a big shock if you look at your lovely meny in a variety of browsers usually only to find that something is broken or it isn't functioning how you would like.

This is the reason I use Milonic...they aren't cheap but you do get good support and constant updates with fixes and improvment...as as you mentioned it works with all browsers.

Thanks to Rad the milonic snippet is fully working in 0.6 (and hopefully there will be some further development with the snippet to improve it). But if you do buy feel confident that you will be getting the best menu on the net and that it will be fully database driven and working with etomite.

I better go before i sound too much like a salesman for Milonic :lol:





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users