Extended Menu

Do you have an Open Source Product available for Joomla!? Let everyone know here.
Locked
ThizzParty
Joomla! Intern
Joomla! Intern
Posts: 55
Joined: Sat May 02, 2009 4:33 am

Re: Extended Menu

Post by ThizzParty » Sat Jul 04, 2009 10:03 pm

Hi mic,

I removed all the /** content, and the code now appears as below:

Code: Select all

<head>
{
 var sfEls = document.menusan.getElementsByTagName(”LI”);
 
 for (var j=0; j<sfEls.length; j++)
 {
  sfEls[j].onmouseover=function()
  {
   this.className+=” sfhover”;
  }
  sfEls[j].onmouseout=function()
  {
   this.className=this.className.replace(new RegExp(” sfhover\\b”), “”);
  }
 } 
}
 
<script type="text/css">
/****************** Dropdown Menu styling starts here **************/
.menusan
{
 /* use these params to positions your menu */
 position: relative;
 left: 10px;
}
 
.menusan, .menusan li, .menusan li ul { /* all lists */
 padding: 0;
 margin: 0;
 list-style: none;
}
 
.menusan li a {
 display: block;
 width: 10em;
 color:#FFFFFF ;
 background-color:#BC031F;
 border:2px solid #BC031F;
 text-decoration:none;
}
 
.menusan li { /* all list items */
 float: left;
 width: 10em; /* width needed or else Opera goes nuts */
 border-bottom:1px solid #ccc;
}
 
.menusan li ul { /* second-level lists */
 position: absolute;
 width: 10em;
 left: -98%; /* using left instead of display to hide menus because display: none isn’t read by screen readers */
}
 
.menusan li a:hover {
 border:2px solid #8C7AD6;
 background-color:#8C7AD6;
 color:#fff;
}
 
.menusan li:hover ul, .menusan li.sfhover ul  { /* lists nested under hovered list items */
 left: auto; /* change is to 10px, 20px, etc for indenting the sub menue */
}
/* **************** Dropdown Menu styling end here ***************/
</script>


<jdoc:include type="head" />
<link rel="stylesheet" href="templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="templates/<?php echo $this->template ?>/css/template.css" type="text/css" />

<!--[if lte IE 7]>
<link rel="stylesheet" href="templates/<?php echo $this->template ?>/css/ie6.css" type="text/css" />
<![endif]-->


</head>
This still displays an error message on my site, which this time says:
{ var sfEls = document.menusan.getElementsByTagName(�LI�); for (var j=0; j
I'd really like to solve this myself. I'm unable to locate any installation or config instructions in the documentation. there is only: http://docs.joomla.org/Creating_a_CSS_Drop_down_Menu

Thanks again.
Ty

mic
Joomla! Guru
Joomla! Guru
Posts: 692
Joined: Thu Aug 18, 2005 10:51 pm
Location: Austria
Contact:

Re: Extended Menu

Post by mic » Sun Jul 05, 2009 9:30 am

You deleted 2 lines too much.

Use this (same as the attachement):
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
<head>
<jdoc:include type="head" />
<script type=”text/javascript”>
//<![CDATA[
sfHover = function() {
var sfEls = document.menusan.getElementsByTagName( ”LI” );

for ( var j=0; j<sfEls.length; j++ ) {
sfEls[j].onmouseover = function() {
this.className += ” sfhover”;
}
sfEls[j].onmouseout = function() {
this.className = this.className.replace( new RegExp( ” sfhover\\b” ), “” );
}
}
}

if ( window.attachEvent ) {
window.attachEvent( ”onload”, sfHover );
}
//]]>
</script>
<script type="text/css">
/****************** Dropdown Menu styling starts here **************/
.menusan{
/* use these params to positions your menu */
position : relative;
left : 10px;
}

.menusan, .menusan li, .menusan li ul { /* all lists */
padding : 0;
margin : 0;
list-style : none;
}

.menusan li a {
display : block;
width : 10em;
color : #FFFFFF ;
background-color : BC031F;
border : px solid #BC031F;
text-decoration : one;
}

.menusan li { /* all list items */
float : left;
width : 10em; /* width needed or else Opera goes nuts */
border-bottom : 1px solid #ccc;
}

.menusan li ul { /* second-level lists */
position : absolute;
width : 10em;
left : -98%; /* using left instead of display to hide menus because display: none isn’t read by screen readers */
}

.menusan li a:hover {
border : 2px solid #8C7AD6;
background-color : #8C7AD6;
color : #fff;
}

.menusan li:hover ul, .menusan li.sfhover ul { /* lists nested under hovered list items */
left : auto; /* change is to 10px, 20px, etc for indenting the sub menue */
}
/* **************** Dropdown Menu styling end here ***************/
</script>
<link rel="stylesheet" href="templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="templates/<?php echo $this->template ?>/css/template.css" type="text/css" />
<!--[if lte IE 7]>
<link rel="stylesheet" href="templates/<?php echo $this->template ?>/css/ie6.css" type="text/css" />
<![endif]-->
</head>
You do not have the required permissions to view the files attached to this post.

A_Skywalker
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Tue Jun 30, 2009 5:04 pm
Contact:

Re: Extended Menu

Post by A_Skywalker » Sun Jul 05, 2009 12:56 pm

I have problem with the select list, the box is too big and it overflows the template. How can I resize it to fit into it?
You can see what I am talking about here http://www.gamblingsafe.net/
Look at EXTENDED MENU.

Thanks

mic
Joomla! Guru
Joomla! Guru
Posts: 692
Joined: Thu Aug 18, 2005 10:51 pm
Location: Austria
Contact:

Re: Extended Menu

Post by mic » Sun Jul 05, 2009 1:33 pm

Generally are select boxes that width the largest item is.

In your case you could try to change the css.
You have actually:
<div style="overflow: hidden; height: 50px;" class="jamod-content"><form class="menu-form" ...
http://www.joomx.com - custom extensions and development
http://www.joomlasupportdesk.com - support, migration, training and consulting
Member of the German Joomla Translation Team

A_Skywalker
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Tue Jun 30, 2009 5:04 pm
Contact:

Re: Extended Menu

Post by A_Skywalker » Sun Jul 05, 2009 1:36 pm

mic wrote:Generally are select boxes that width the largest item is.

In your case you could try to change the css.
You have actually:
<div style="overflow: hidden; height: 50px;" class="jamod-content"><form class="menu-form" ...
Thanks for the fast reply, where is the css for the extended menu? or its ine the stylesheet.css ?

mic
Joomla! Guru
Joomla! Guru
Posts: 692
Joined: Thu Aug 18, 2005 10:51 pm
Location: Austria
Contact:

Re: Extended Menu

Post by mic » Sun Jul 05, 2009 2:11 pm

Don't know ..
Do not know that template - search for 'jamod-content' inside your installation.
http://www.joomx.com - custom extensions and development
http://www.joomlasupportdesk.com - support, migration, training and consulting
Member of the German Joomla Translation Team

A_Skywalker
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Tue Jun 30, 2009 5:04 pm
Contact:

Re: Extended Menu

Post by A_Skywalker » Sun Jul 05, 2009 2:26 pm

mic wrote:Don't know ..
Do not know that template - search for 'jamod-content' inside your installation.
Im very limited with css, I thought that this parameter is easy to find :'(

A_Skywalker
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Tue Jun 30, 2009 5:04 pm
Contact:

Re: Extended Menu

Post by A_Skywalker » Sun Jul 05, 2009 3:03 pm

Isnt there someone who had the same problem with the select list being too big ?

mic
Joomla! Guru
Joomla! Guru
Posts: 692
Joined: Thu Aug 18, 2005 10:51 pm
Location: Austria
Contact:

Re: Extended Menu

Post by mic » Sun Jul 05, 2009 3:22 pm

Seems that your template has not these classes.

But generally as i wrote: does no matter the style if your select items are that long!
Then the drop down field will have always that width.
Try it once with shorter items.
http://www.joomx.com - custom extensions and development
http://www.joomlasupportdesk.com - support, migration, training and consulting
Member of the German Joomla Translation Team

A_Skywalker
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Tue Jun 30, 2009 5:04 pm
Contact:

Re: Extended Menu

Post by A_Skywalker » Sun Jul 05, 2009 3:27 pm

mic wrote:Seems that your template has not these classes.

But generally as i wrote: does no matter the style if your select items are that long!
Then the drop down field will have always that width.
Try it once with shorter items.
Is there a way to short the items, without changing the title, cause the title and the select items are the same.
If I have article with title - Federer wins Wimbledon
how can I make it in the select list shorter like Federer wins

ThizzParty
Joomla! Intern
Joomla! Intern
Posts: 55
Joined: Sat May 02, 2009 4:33 am

Re: Extended Menu

Post by ThizzParty » Sun Jul 05, 2009 11:34 pm

Hi mic,

Thanks alot :D

I'm now having trouble configuring the module. In the instructions to use suckerfish with the default joomla menu @ http://docs.joomla.org/Creating_a_CSS_Drop_down_Menu it says to:
Always show sub-menu Items is set to Yes.
There is no option to always show sub-menu items on my admin panel.

I have set the menu style to Tree List(there is no option "list"), the menu class suffix to san.

The submenu item set for clothing does not display at all. When I hover my mouse over clothing, nothing happens. When I click on clothing, I am brought to an error screen that says:
Fatal error: Call to undefined method stdClass::getCfg() in /home/faded1/public_html/administrator/components/com_comprofiler/library/cb/cb.database.php on line 544
Thank you for your help!
Ty

mic
Joomla! Guru
Joomla! Guru
Posts: 692
Joined: Thu Aug 18, 2005 10:51 pm
Location: Austria
Contact:

Re: Extended Menu

Post by mic » Mon Jul 06, 2009 5:32 am

To be honest: i have not so much to do with menus, etc.
I am coding more.

But in your case the issue lies at the com Profiler which means Community Builder (CB) as can be seen in the message
... com_comprofiler/library/cb/cb.database.php ...
Could you ask in their forum what this means?
http://www.joomx.com - custom extensions and development
http://www.joomlasupportdesk.com - support, migration, training and consulting
Member of the German Joomla Translation Team

ThizzParty
Joomla! Intern
Joomla! Intern
Posts: 55
Joined: Sat May 02, 2009 4:33 am

Re: Extended Menu

Post by ThizzParty » Mon Jul 06, 2009 4:17 pm

Sure will. Thanks buddy!

Gu3rr1lla
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Sat Jun 20, 2009 12:50 am

Re: Extended Menu

Post by Gu3rr1lla » Wed Jul 08, 2009 7:36 pm

Hey great module but im having problems with it. How do i remove "itemid=1" at the end of the url.

For example, i have photoslide on the front page only, then when i click on an article photoslide doesnt show up which is what i want but then when i click "home" and go back home and then click an article again photoslide is showing up on the article page! Its really annoying as i dont want it there and i believe it's got to do with "itemid=1"!

ANy help please?

derebo
Joomla! Apprentice
Joomla! Apprentice
Posts: 40
Joined: Wed Jul 04, 2007 10:28 am

Re: Extended Menu

Post by derebo » Sun Jul 12, 2009 3:21 pm

hello,

i'm lost. i've read the official extended menu website, installed extended menu, edited the parameters, installed son-of-suckerfish-horizontal-1.0.2 and suckerfish-horizontal-1.0.1 templates.

i'm attaching a capture of the parameters.

Image

i just would like a simple dropdown list displayed and this is all i've gotten. it's like submenus are shown to right of their parent menu instead of below as a dropdown.

maybe that has to do with the fact that i don't know how to follow the template install instructions:
In addition you need to use the also included stylesheet (menu.css). For this you may edit the index.php of the template, use an import within your template_css.css or just copy and past the contents of the menu.css. (Joomla/Mambo does not provide a generic way yet)
Note: the menu templates are overwriting the class suffix (and maybe other parameters) of the menu module using the menu.ini.
but do i really need one of these temaplates and this editing to get the dropdown? if so, no problem, but i just don't understand the steps.

please, check the website at

http://agenciaviajes.freehostia.com/

preferred template is sunshine from template selector. sunshine cannot be made default, though.

any help is appreciated!

mike

ThizzParty
Joomla! Intern
Joomla! Intern
Posts: 55
Joined: Sat May 02, 2009 4:33 am

Re: Extended Menu

Post by ThizzParty » Mon Jul 13, 2009 12:10 am

Hi Mic,

Just last week, you were helping me with configuring extended menu with CB. You had asked me to contact CB to address an fatal error in the coding.(our conversation is on page 29-30)

I've spoken with them, and I'm being told the problem is most likely a problem in the implementation, and that it's not a CB problem.. :(

Edit - Please refer to the conversation I had with them at http://www.joomlapolis.com/component/op ... 35/#104635

Thanks

mic
Joomla! Guru
Joomla! Guru
Posts: 692
Joined: Thu Aug 18, 2005 10:51 pm
Location: Austria
Contact:

Re: Extended Menu

Post by mic » Mon Jul 13, 2009 3:38 pm

As i am used to hear (read): always the others ....

What i want to say is: CB is not that 'state of the art' coding.
Erros and bugs there are usual.
And to say this error message resumes of another extension is the greatest!

Which CB-version are you using?
Which Extended Menu version are you using?

You can send me those infos by PM.
http://www.joomx.com - custom extensions and development
http://www.joomlasupportdesk.com - support, migration, training and consulting
Member of the German Joomla Translation Team

ThizzParty
Joomla! Intern
Joomla! Intern
Posts: 55
Joined: Sat May 02, 2009 4:33 am

Re: Extended Menu

Post by ThizzParty » Mon Jul 13, 2009 4:46 pm

What community extension would you recommend using?

I have CB 1.2.1(latest)
and Extended Menu module 1.0.6

Thanks.

mic
Joomla! Guru
Joomla! Guru
Posts: 692
Joined: Thu Aug 18, 2005 10:51 pm
Location: Austria
Contact:

Re: Extended Menu

Post by mic » Mon Jul 13, 2009 7:00 pm

We are drifting away from this thread, therefore my last answer in this case (if more questions are coming in this direction, open a new thread).

Which community extension to use?
Not that easy to answer, see here: http://forum.joomla.org/viewtopic.php?f=428&t=348836 and read the whole thread.
We already had this discussion not so long ago.
Finally it is your decision, all discussed are good, 1 has to be paid, the other 2 are free - maybe in the meantime are more than these 3.

But i think all other than CB is better.
Last edited by mic on Mon Jul 13, 2009 11:38 pm, edited 2 times in total.
http://www.joomx.com - custom extensions and development
http://www.joomlasupportdesk.com - support, migration, training and consulting
Member of the German Joomla Translation Team

ThizzParty
Joomla! Intern
Joomla! Intern
Posts: 55
Joined: Sat May 02, 2009 4:33 am

Re: Extended Menu

Post by ThizzParty » Mon Jul 13, 2009 8:16 pm

Hi mic,

Thanks, I'm going to research the other extensions after this post.

I'm wondering if the problem could be on my end?? I feel as though extended menu is properly configured and installed, however on the front end of my site, the extended menu is displayed differently than the joomla menus. The menu lost it's formatting. The fatal error messages are also being displayed when I click menu items in default joomla menus.

Here is the Default Joomla Menu, compared to the Extended Menu displayed as default joomla menu.

Before menu item is clicked:
Image

After menu item is clicked:
Image


Here is the extended menu
Image

The extended menu module stays the same if it's clicked or unclicked. It also always displays the sub menu items. If you click on videos, you're brought to the proper page. but if you click on Newest Videos then you're brought to the fatal error page. The link should be a valid link. There is also no title for the menu.

I'm going to research the other extensions, thanks for the reference. I'm worried this is a problem on my end.

Thanks.

Edit - both menus are published on the same page.

firstrincewind
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Sun Oct 19, 2008 6:05 pm

Re: Extended Menu

Post by firstrincewind » Thu Jul 16, 2009 3:51 pm

Hello,
i have a big problem with extended 1.06: when i log in-frontend, registered and special- the menu disappears! on all sites, when log out it is back. i have it in the header as horizontal menu. with debugg on i get this message:
logged in it stops at 18:
18. SELECT m.*
FROM jos_menu AS m
WHERE menutype='topmenue'
AND published = 1
AND access = 2
ORDER BY ordering

not logged in there are 19 steps:

18. SELECT m.*
FROM jos_menu AS m
WHERE menutype='topmenue'
AND published = 1
AND access = 0
ORDER BY ordering

19. SELECT catid
FROM jos_content
WHERE id = 2

User avatar
WorkOutMan
Joomla! Explorer
Joomla! Explorer
Posts: 436
Joined: Sat Jul 11, 2009 8:33 pm
Location: Van Nuys, California

Re: Extended Menu

Post by WorkOutMan » Sat Jul 18, 2009 5:42 am

Hello, Mic?

Sorry if I'm a pain in the A**, but this problem has been ongoing for nearly 2 weeks now. I still don't have the menu working corrently, and the fatal errors are still taking up 50% of my total links...

Should I uninstall CB and try another component? Is the error on my end?

Thanks
"The accumulation of knowledge leads to the recognition of ignorance."
- Prof. Ie
If you have an issue, and think I can help you, feel invited to PM me a link to your post. :)

User avatar
WorkOutMan
Joomla! Explorer
Joomla! Explorer
Posts: 436
Joined: Sat Jul 11, 2009 8:33 pm
Location: Van Nuys, California

Re: Extended Menu

Post by WorkOutMan » Mon Jul 27, 2009 10:35 pm

I got the module working! :D :D :D

I had to just reinstall everything and reinstall it, then reconfigure it. The only problem is that now the menu's don't match. The extended menu does not have the same formatting as the default joomla menu.

There is a screen shot. The Red arrow is the joomla menu, green is extended menu.
Image

I was able to format the extended menu and assign the square bullets with the menu class suffix, but I still doesn't look right. Notice how the square bullets are outside the menu border?

I would also love to indent the contect of the menu.

Thanks..
"The accumulation of knowledge leads to the recognition of ignorance."
- Prof. Ie
If you have an issue, and think I can help you, feel invited to PM me a link to your post. :)

ZedAgent
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Mon Feb 16, 2009 6:45 am

Extended Menu auto split - UL ids

Post by ZedAgent » Tue Jul 28, 2009 6:36 am

Ok, so I have a main level menu which I want to expand to different submenus depending what you click. I want this submenu rendered right after the main menu. I set the Extended Menu settings as thus:
Picture 2.png
I click a link on the main menu. The submenu pops up. I click a link on the submenu. The selected main menu items remains highlighted just as it should. Everything is perfect, except:
Picture 3.png
Both the main menu and the submenu have the same id! I want the submenu to be styled differently, but can't figure out how. Not to mention it's non-valid code..

I have looked over the Extended Menu settings time and time again. Am I missing something?

Thanks for taking the time to read this!

-Adam
You do not have the required permissions to view the files attached to this post.

User avatar
WorkOutMan
Joomla! Explorer
Joomla! Explorer
Posts: 436
Joined: Sat Jul 11, 2009 8:33 pm
Location: Van Nuys, California

Re: Extended Menu

Post by WorkOutMan » Sun Aug 23, 2009 11:59 pm

Hi,

I followed the steps at http://docs.joomla.org/Creating_a_CSS_Drop_down_Menu for using extended menu as a default joomla menu. The menu doesn't work. I put the module suffixes to san, I put the joomla menu to List & always show, and the extended menu to Flat List,

Does anybody know why??
"The accumulation of knowledge leads to the recognition of ignorance."
- Prof. Ie
If you have an issue, and think I can help you, feel invited to PM me a link to your post. :)

User avatar
WorkOutMan
Joomla! Explorer
Joomla! Explorer
Posts: 436
Joined: Sat Jul 11, 2009 8:33 pm
Location: Van Nuys, California

Re: Extended Menu

Post by WorkOutMan » Tue Aug 25, 2009 2:33 am

There is still no drop down effect. I have the joomla menu set to san, always show, and set as list. I have the extended menu set to san, flat list, and the joomla menu.

This is the code in my index.php.

Code: Select all

<?php
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
require_once dirname(__FILE__) . DS . 'functions.php';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
 <head>
  <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<jdoc:include type="head" />
  <link rel="stylesheet" href="<?php echo $this->baseurl; ?>/templates/system/css/system.css" type="text/css" />
  <link rel="stylesheet" href="<?php echo $this->baseurl; ?>/templates/system/css/general.css" type="text/css" />
  <link rel="stylesheet" type="text/css" href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/css/style.css" />
  <!--[if IE 6]><link rel="stylesheet" href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/css/style.ie6.css" type="text/css" media="screen" /><![endif]-->
  <script type="text/javascript" src="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/script.js"></script>
<script type=”text/javascript”>
//<![CDATA[ 
sfHover = function()
{
 var sfEls = document.menusan.getElementsByTagName(”LI”);
 
 for (var j=0; j<sfEls.length; j++)
 {
  sfEls[j].onmouseover=function()
  {
   this.className+=” sfhover”;
  }
  sfEls[j].onmouseout=function()
  {
   this.className=this.className.replace(new RegExp(” sfhover\\b”), “”);
  }
 } 
}
if (window.attachEvent) window.attachEvent(”onload”, sfHover);
//–><!]]></script>
<script type=text/css">
.menusan
{
 /* use these params to positions your menu */
 position: relative;
 left: 10px;
}
 
.menusan, .menusan li, .menusan li ul { /* all lists */
 padding: 0;
 margin: 0;
 list-style: none;
}
 
.menusan li a {
 display: block;
 width: 10em;
 color:#FFFFFF ;
 background-color:#BC031F;
 border:2px solid #BC031F;
 text-decoration:none;
}
 
.menusan li { /* all list items */
 float: left;
 width: 10em; /* width needed or else Opera goes nuts */
 border-bottom:1px solid #ccc;
}
 
.menusan li ul { /* second-level lists */
 position: absolute;
 width: 10em;
 left: -98%; /* using left instead of display to hide menus because display: none isn’t read by screen readers */
}
 
.menusan li a:hover {
 border:2px solid #8C7AD6;
 background-color:#8C7AD6;
 color:#fff;
}
 
.menusan li:hover ul, .menusan li.sfhover ul  { /* lists nested under hovered list items */
 left: auto; /* change is to 10px, 20px, etc for indenting the sub menue */
}
</script>
 </head>
<body>
    <div class="PageBackgroundGradient"></div>
<div class="Main">
<div class="Sheet">
    <div class="Sheet-tl"></div>
    <div class="Sheet-tr"><div></div></div>
    <div class="Sheet-bl"><div></div></div>
    <div class="Sheet-br"><div></div></div>
    <div class="Sheet-tc"><div></div></div>
    <div class="Sheet-bc"><div></div></div>
    <div class="Sheet-cl"><div></div></div>
    <div class="Sheet-cr"><div></div></div>
    <div class="Sheet-cc"></div>
    <div class="Sheet-body">
<jdoc:include type="modules" name="user3" />
<div class="Header">
    <div class="Header-jpeg"></div>
<div class="logo">
 <h1 id="name-text" class="logo-name"><a href="<?php echo $this->baseurl ?>/">Headline</a></h1>
 <div id="slogan-text" class="logo-text">Slogan text</div>
</div>


</div>
<div class="contentLayout">
<div class="sidebar1">
<jdoc:include type="modules" name="left" style="artblock" />

</div>
<div class="content">
<?php if ($this->countModules('breadcrumb') || artxHasMessages()) : ?>
<div class="Post">
    <div class="Post-body">
<div class="Post-inner">
<div class="PostContent">
<jdoc:include type="modules" name="breadcrumb" />
<jdoc:include type="message" />

</div>
<div class="cleared"></div>

</div>

    </div>
</div>
<?php endif; ?>
<jdoc:include type="component" />

</div>
<div class="sidebar2">
<jdoc:include type="modules" name="right" style="artblock" />

</div>

</div>
<div class="cleared"></div>
<div class="Footer">
 <div class="Footer-inner">
  <jdoc:include type="modules" name="syndicate" />
  <div class="Footer-text">
</div>
 </div>
 <div class="Footer-background"></div>
</div>

    </div>
</div>
  <p align="center">Copyright &copy; 2009-2010.<br/>
All Rights Reserved.</p>

</div>

</body> 
</html><?php
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
require_once dirname(__FILE__) . DS . 'functions.php';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
 <head>
  <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<jdoc:include type="head" />
  <link rel="stylesheet" href="<?php echo $this->baseurl; ?>/templates/system/css/system.css" type="text/css" />
  <link rel="stylesheet" href="<?php echo $this->baseurl; ?>/templates/system/css/general.css" type="text/css" />
  <link rel="stylesheet" type="text/css" href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/css/style.css" />
  <!--[if IE 6]><link rel="stylesheet" href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/css/style.ie6.css" type="text/css" media="screen" /><![endif]-->
  <script type="text/javascript" src="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/script.js"></script>
<script type=”text/javascript”>
//<![CDATA[ 
sfHover = function()
{
 var sfEls = document.menusan.getElementsByTagName(”LI”);
 
 for (var j=0; j<sfEls.length; j++)
 {
  sfEls[j].onmouseover=function()
  {
   this.className+=” sfhover”;
  }
  sfEls[j].onmouseout=function()
  {
   this.className=this.className.replace(new RegExp(” sfhover\\b”), “”);
  }
 } 
}
if (window.attachEvent) window.attachEvent(”onload”, sfHover);
//–><!]]></script>
<script type=text/css">
.menusan
{
 /* use these params to positions your menu */
 position: relative;
 left: 10px;
}
 
.menusan, .menusan li, .menusan li ul { /* all lists */
 padding: 0;
 margin: 0;
 list-style: none;
}
 
.menusan li a {
 display: block;
 width: 10em;
 color:#FFFFFF ;
 background-color:#BC031F;
 border:2px solid #BC031F;
 text-decoration:none;
}
 
.menusan li { /* all list items */
 float: left;
 width: 10em; /* width needed or else Opera goes nuts */
 border-bottom:1px solid #ccc;
}
 
.menusan li ul { /* second-level lists */
 position: absolute;
 width: 10em;
 left: -98%; /* using left instead of display to hide menus because display: none isn’t read by screen readers */
}
 
.menusan li a:hover {
 border:2px solid #8C7AD6;
 background-color:#8C7AD6;
 color:#fff;
}
 
.menusan li:hover ul, .menusan li.sfhover ul  { /* lists nested under hovered list items */
 left: auto; /* change is to 10px, 20px, etc for indenting the sub menue */
}
</script>
 </head>
<body>
    <div class="PageBackgroundGradient"></div>
<div class="Main">
<div class="Sheet">
    <div class="Sheet-tl"></div>
    <div class="Sheet-tr"><div></div></div>
    <div class="Sheet-bl"><div></div></div>
    <div class="Sheet-br"><div></div></div>
    <div class="Sheet-tc"><div></div></div>
    <div class="Sheet-bc"><div></div></div>
    <div class="Sheet-cl"><div></div></div>
    <div class="Sheet-cr"><div></div></div>
    <div class="Sheet-cc"></div>
    <div class="Sheet-body">
<jdoc:include type="modules" name="user3" />
<div class="Header">
    <div class="Header-jpeg"></div>
<div class="logo">
 <h1 id="name-text" class="logo-name"><a href="<?php echo $this->baseurl ?>/">Headline</a></h1>
 <div id="slogan-text" class="logo-text">Slogan text</div>
</div>


</div>
<div class="contentLayout">
<div class="sidebar1">
<jdoc:include type="modules" name="left" style="artblock" />

</div>
<div class="content">
<?php if ($this->countModules('breadcrumb') || artxHasMessages()) : ?>
<div class="Post">
    <div class="Post-body">
<div class="Post-inner">
<div class="PostContent">
<jdoc:include type="modules" name="breadcrumb" />
<jdoc:include type="message" />

</div>
<div class="cleared"></div>

</div>

    </div>
</div>
<?php endif; ?>
<jdoc:include type="component" />

</div>
<div class="sidebar2">
<jdoc:include type="modules" name="right" style="artblock" />

</div>

</div>
<div class="cleared"></div>
<div class="Footer">
 <div class="Footer-inner">
  <jdoc:include type="modules" name="syndicate" />
  <div class="Footer-text">
</div>
 </div>
 <div class="Footer-background"></div>
</div>

    </div>
</div>
  <p align="center">Copyright &copy; 2009-2010.<br/>
All Rights Reserved.</p>

</div>

</body> 
</html>
Any help is valuable.

Thanks!
"The accumulation of knowledge leads to the recognition of ignorance."
- Prof. Ie
If you have an issue, and think I can help you, feel invited to PM me a link to your post. :)

ymray
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sun Oct 07, 2007 11:37 am

Re: Extended Menu

Post by ymray » Fri Aug 28, 2009 9:30 am

hi everybody

i used the extended-menu-module-1.0.6 on joomla 1.5 to display sections and categories in mainmenu

set: Source Type: Menu (Auto Expand Sections/Categories)
Show Section: Table Section Link
Show Category: Table Section Link
Show Content Item: Hide
Menu Style: Vertical (not recommend)
Expand Menu: yes
other setting is default

it is actually get the style what i want, but when i click the categories on the mainmenu, it's get the 404 error....and very few times get the right categories...

so does anybody know what happen???

thanks a lot!

User avatar
troggs
Joomla! Intern
Joomla! Intern
Posts: 70
Joined: Thu Jun 15, 2006 8:40 am
Location: Stockholm, Sweden

Solved: Sublevels visible automatically

Post by troggs » Mon Aug 31, 2009 2:03 pm

Hi, I'm using Expand Menu as a split menu (parent level as top menu, and child levels as side menu), but I can only see the first child level in the side menu. I have choosen "expand menu - yes", but it does'nt help.

Is there a way to make all sublevels visible automatically?

Would be very glad for help!

/ Troggs

---------------
EDIT:

I must apologize for beeing such a nut. I did'nt even have to use this module in the first place! I found out I could go core and how happy did'nt I become! :-)

For all you Joomla!-lovers out there who suffer with how to make a single, comprehensive split menu I can only say: Go core! This is one tutorial:

http://awholedifferentstory.[URL banned].co ... t-way.html

/ Troggs

User avatar
WorkOutMan
Joomla! Explorer
Joomla! Explorer
Posts: 436
Joined: Sat Jul 11, 2009 8:33 pm
Location: Van Nuys, California

Re: Extended Menu

Post by WorkOutMan » Thu Sep 03, 2009 11:13 pm

Troggs,

I applied the settings that the link says, however the copy of the main menu does not display? Do you have any ideas why it's not working for me?

Thanks.
"The accumulation of knowledge leads to the recognition of ignorance."
- Prof. Ie
If you have an issue, and think I can help you, feel invited to PM me a link to your post. :)

User avatar
troggs
Joomla! Intern
Joomla! Intern
Posts: 70
Joined: Thu Jun 15, 2006 8:40 am
Location: Stockholm, Sweden

Re: Extended Menu

Post by troggs » Fri Sep 04, 2009 11:39 am

Hi WorkOutMan, maybe you haven't enabled the submenu? Or perhaps you have choosen the wrong module position?

/ Troggs


Locked

Return to “Open Source Products for Joomla!”