Advanced Search  
Advanced Search


Pages: [1]
Print
Author Topic: logo/banner link issue with sub menus  (Read 2485 times)
sarrene
Joomla Club Member
Offline Offline

Posts: 27



WWW
« on: May 12, 2010, 10:12:00 AM »

I am sorry if I am posting this in the wrong area. I was looking for a general club forum, but did not see one. Please feel free to move this post if it needs to go elsewhere.

I have two problems on two sites, regarding two templates.

Problem 1)
When using s5 templates, banner/logo does not go back to the home index page when in a sub menu item.
Example:
Company Info
|__ About Triad
|__ Developers
|__ CSR's

If you click on About Triad, you have the correct page. However, if you click on the logo banner, you are redirected to http://triadgames.com/company-info/index.php.

If I use Company Info as a separator then a 404 is displayed.

This happens on Elegance, Basics and Game Crusaders on all submenus only when using either template.

If I change the theme to JA_Purity or rhuk_milkyway then the links, redirects and logo banner works perfectly.



Problem 2)
Same templates as listed above (Elegance, Basics) regarding the s5 accordion menu

When I am on http://triadgames.com/contact-jobs/jobs the accordion menu does not work.
Now, I first thought it was an issue with the component itself, so I switched the template over to both JA_Purity and rhuk_milkyway.

I expected the the same problem with the accordion menu on joomla's default templates. However, the s5 accordion menu worked fine. Odd.
I have installed both the default and template specific accordion menus. Same thing happens on either one.



Site1: http://darkrelic.com
Template: Game Crusade
Logo redirect: (Any sub menu item)  Example: http://darkrelic.com/support/dev-creed

Site2: http://triadgames.com
Template: elegance
Logo redirect: (any submenu page) Example: http://triadgames.com/company-info/developers
Accordion Menu: http://triadgames.com/contact-jobs/jobs

To recap: If I use one of the default templates none of these problems happen. I am not sure what is going on or why. I did reinstall the original Game Crusade instead of my modified version and same problems.

Elegance is not that heavily modified yet minus a few graphics right now. So it is still the base original template.

Thank you for your time and great templates. Once more, I apologize if this is in the wrong section. I did not know where to put this post since it was an issue with two templates (same issues) and accordion menus.

Peace,
Sarrene'
Logged
jonahh
Shape 5 Administrator
Offline Offline

Posts: 17066



WWW
« Reply #1 on: May 12, 2010, 11:58:44 AM »

What you can do is open up the index.php file for these templates and look for the logo DIV and you'll see an onclick function with it pointing to "index.php" just change the index.php to whatever your site URL is.
Logged

Jonah
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Using Firebug will save you so much time, frustration and forum questions:
http://getfirebug.com/


- Need some custom coding done on your site? Use our Shape 5 Hire a Coder program for free:
http://www.shape5.com/hire_a_coder/listauctions
sarrene
Joomla Club Member
Offline Offline

Posts: 27



WWW
« Reply #2 on: May 12, 2010, 09:03:27 PM »

Okay, I will try that in the morning for the menu and 404/redirect errors. Thank you so much! It was so simple I did not think about that as a fix.

Any word on the s5 accordion module? Something in the templates must be messing it up since it works perfectly on joomla default templates.

Main site: http://triadgames.com - It works perfectly on most pages with any s5 template.
Accordion Menu: http://triadgames.com/contact-jobs/jobs - only works on this page (and MooFaqs) if I am using joomla default template. Will not expand on any s5 template.

Thank you again for speedy help and support! I am thinking I made a good move.

Peace,
Sarrene'
Logged
jonahh
Shape 5 Administrator
Offline Offline

Posts: 17066



WWW
« Reply #3 on: May 13, 2010, 10:44:20 AM »

Try adding:

JHTML::_('behavior.mootools');

Right below:

defined( '_JEXEC' ) or die( 'Restricted index access' );
define( 'TEMPLATEPATH', dirname(__FILE__) );

In your index.php file of each template, does this fix the accordion menu problem?


Logged

Jonah
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Using Firebug will save you so much time, frustration and forum questions:
http://getfirebug.com/


- Need some custom coding done on your site? Use our Shape 5 Hire a Coder program for free:
http://www.shape5.com/hire_a_coder/listauctions
sarrene
Joomla Club Member
Offline Offline

Posts: 27



WWW
« Reply #4 on: May 15, 2010, 09:24:55 PM »

Okay boss! Those both worked.. for the most part. LOL

The banner./logo now works on both sites and it is perfect. Any idea why it was causing this issue? I never ran into it before.
Wonderful, Thank you



For the second issue.. it is 90% fixed  Cheesy The only problem left is when you are on that page AND are a developer, only one menu works. The top/first one.

However, if you are not logged in or are not a developer (does not have dev privileges) then the normal user menu works perfectly.

Is this because there can only be one accordion menu per page? Seems something in the first when the page loads, is overriding or taking over and the second causes a conflict and will not work. Least that is my humble guess. I am not sure if I am explaining it correctly or not. Sad

However, there is no rush to see if you can get it working with a second accordion menu. Most of my devs have no need for the Main Menu in accordion form. Only my guests/visitors.

Peace,
Sarrene'
Logged
jonahh
Shape 5 Administrator
Offline Offline

Posts: 17066



WWW
« Reply #5 on: May 17, 2010, 11:11:51 AM »

The logo issue is most likely because you enabled SEO URLs

Yes correct you can only have one accordion menu per page as they both will be calling the same functions and get confused with each other. 
Logged

Jonah
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Using Firebug will save you so much time, frustration and forum questions:
http://getfirebug.com/


- Need some custom coding done on your site? Use our Shape 5 Hire a Coder program for free:
http://www.shape5.com/hire_a_coder/listauctions
Pages: [1]
Print

Jump to:  


Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Page created in 0.052 seconds with 18 queries.