Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

JoomSEF, JoomFish, Multiple Domain menu problem
(1 viewing) (1) Guest
Support forum for users using free edition of JoomSEF 3 (Joomla 1.5 compatible). These forums are mainly for mutual help between users.

Please note that due to our capacity limitations, we do not monitor these forums regularly.
  • Page:
  • 1

TOPIC: JoomSEF, JoomFish, Multiple Domain menu problem

JoomSEF, JoomFish, Multiple Domain menu problem 12 years, 4 months ago #32409

  • Ivcha
  • OFFLINE
  • Handcrafted by Ivcha
  • Posts: 7
I have problem with homepage link on my site: Altsberglotion

When i change language it redirects me to for example .de domain, but in menu when I click to any page it works great. Excep for home page which redirects to .com domain and changes language to english. Home page is K2 Blog layout is there any workaround to fix this.

Re: JoomSEF, JoomFish, Multiple Domain menu problem 12 years, 4 months ago #32415

  • Ivcha
  • OFFLINE
  • Handcrafted by Ivcha
  • Posts: 7
Also have problem with blog link. it is also k2 category, you can check. So I asume that there might be problem in K2 rewrite extension.

Re: JoomSEF, JoomFish, Multiple Domain menu problem 12 years, 4 months ago #32431

  • dajo
  • OFFLINE
  • Posts: 5069
Hi,
Your first problem is probably caused by Joomla's Main menu module not correctly supporting languages for home page links. Edit the /modules/mod_mainmenu/helper.php file and around line 350 replace following code:
if ($tmp->home == 1) {
$tmp->url = JURI::base();

with this:
if ($tmp->home == 1) {
$tmp->url = JRoute::_('index.php');


As regards your second problem, do you have System - Jfrouter plugin enabled, or do you use settings in JoomSEF's Configuration on the JoomFish tab?
ARTIO Support Team

Re: JoomSEF, JoomFish, Multiple Domain menu problem 12 years, 3 months ago #32475

  • Ivcha
  • OFFLINE
  • Handcrafted by Ivcha
  • Posts: 7
Thanks Dajo you gave me idea how to fix menu. Actually it is roknavmenu and i had to edit this file modules/mod_roknavmenu/lib/providers/RokMenuProviderJoomla.php on line 188

from:
// Get the final URL
if ($item->home == 1) { // Set Home Links to the Base
$node->setLink(JURI::base(););

to:
// Get the final URL
if ($item->home == 1) { // Set Home Links to the Base
$node->setLink(JRoute::_('index.php'));


I also managed to fix blog to load correctly. I am not using Jfrouter. I couldn't find a way to configure it to work with different domains. I am using the JoomSEF configuration as follows

Language integration: Use different domains
Always use language? No //Haven't noticed any changes if put to yes
Translate URLs? Yes
Get language from browser setting? Yes
Save language to cookie? Yes
Main language: N/A

English (United Kingdom) altsberglotion.com
Deutsch (DE-CH-AT) altsberglotion.de
Serbian (Latin) staroplaninski-melem.rs
Slovenian (SI) altsberglotion.si
Incorrect domain handling: Redirect to correct domain.

I noticed that there is problem with JoomSEF if urls on different language have same SEF url variable. JoomSEF always putts the lang=* to every url. And I opened url manager and added new url without lang=?? and set this url to active and now blog works perfectly.

Now I have other kind of problems:

1. K2 is not showing any tags - if you open tag link it shows only white page.
2. Is there a way to generate sitemap.xml to contain correct language domain for pages. I generated XML sitemap but it only shows my main domain which is altsberglotion.com //I own paid version of JoomSEF.

Re: JoomSEF, JoomFish, Multiple Domain menu problem 12 years, 3 months ago #32479

  • Ivcha
  • OFFLINE
  • Handcrafted by Ivcha
  • Posts: 7
1.I found where the problem was. It wasn't related to JoomSEF. Since i updated K2 i copied the template from old version as I use deffault template. I accidentaly forgot to upload file for tag view. Sorry for bothering here.

2. I edited sitemap.php in models to achieve what i wanted.

3. I have some idea for developing new features which i would be glad to code. Can any of developers add me on Skype: ivcha_92

Re: JoomSEF, JoomFish, Multiple Domain menu problem 12 years, 3 months ago #32541

  • dajo
  • OFFLINE
  • Posts: 5069
Hi,
I've forwarded your post to my boss and I'll let you know when I get a response. Having the sitemap fixed would be great and I'm sure your other idea will be interesting too.
ARTIO Support Team
  • Page:
  • 1
User Login Empty