Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Localizing for Navigation

Asked Modified Viewed 4,385 times
C
Cursor
C
Cursor 10
o & k
  • Junior Member, joined since
  • Contributed 19 posts on the community forums.
  • Started 4 threads in the forums
  • Started this discussions
asked
Junior Member

Hi all,

How can I make localize of navigation section such as Home or Search and etc to reflect when language switcher switch to other locale?

Thanks in advance.
0 replies

14 posts

P
PolarFox
P
  • Veteran Member, joined since
  • Contributed 1,633 posts on the community forums.
  • Started 29 threads in the forums
answered
Veteran Member

Maybe you should use second navigation for this?
0 replies
C
Cursor
C
Cursor 10
o & k
  • Junior Member, joined since
  • Contributed 19 posts on the community forums.
  • Started 4 threads in the forums
  • Started this discussions
answered
Junior Member

I'm using only the default navigation panel. Please guide me!
0 replies
R
Rolf Mayer
R
Ex
  • Senior Member, joined since
  • Contributed 391 posts on the community forums.
  • Started 7 threads in the forums
answered
Senior Member

Link to your website?
0 replies
C
Cursor
C
Cursor 10
o & k
  • Junior Member, joined since
  • Contributed 19 posts on the community forums.
  • Started 4 threads in the forums
  • Started this discussions
answered
Junior Member

My Link is www.yourpawenang.comze.com
Thank.. please help me..
0 replies
R
Rolf Mayer
R
Ex
  • Senior Member, joined since
  • Contributed 391 posts on the community forums.
  • Started 7 threads in the forums
answered
Senior Member

Quote

Cursor wrote:
My Link is www.yourpawenang.comze.com
Thank.. please help me..


Link is going in circle!!!
0 replies
C
Cursor
C
Cursor 10
o & k
  • Junior Member, joined since
  • Contributed 19 posts on the community forums.
  • Started 4 threads in the forums
  • Started this discussions
answered
Junior Member

Ya, I'm sorry by accident. So must reset to the setup again.
I'm sorry.. still recovery..
0 replies
C
Cursor
C
Cursor 10
o & k
  • Junior Member, joined since
  • Contributed 19 posts on the community forums.
  • Started 4 threads in the forums
  • Started this discussions
answered
Junior Member

Thank you in advance and please come again after finishing my recovery
I need your help..
0 replies
A
Ankur
A
Ankur 10
Hi! Its me, Ankur Thakur! smile
  • Veteran Member, joined since
  • Contributed 1,277 posts on the community forums.
  • Started 60 threads in the forums
answered
Veteran Member

Ok ! I got your point !

I don't think that you can do that !!! Because the settings are saved in Database for the Site Links not in a Particular Locale File..... :(
0 replies
C
Cursor
C
Cursor 10
o & k
  • Junior Member, joined since
  • Contributed 19 posts on the community forums.
  • Started 4 threads in the forums
  • Started this discussions
answered
Junior Member

I aggre Ankur because I can see in the site link table of the database. But any other way? at the final way if no other way may be use the langthis. Ok my link www.yourpawenang.comze.com already recovered. But still in counstruction.. Thank you.
0 replies
A
Ankur
A
Ankur 10
Hi! Its me, Ankur Thakur! smile
  • Veteran Member, joined since
  • Contributed 1,277 posts on the community forums.
  • Started 60 threads in the forums
answered
Veteran Member

Hmm !There might be some solution by changing a little in the function showsublinks and relating it to Locale...

I am Just thinking about it, Not tested/done it yet... I will let you know if I found any solution through that ...... ;)
0 replies
C
Cursor
C
Cursor 10
o & k
  • Junior Member, joined since
  • Contributed 19 posts on the community forums.
  • Started 4 threads in the forums
  • Started this discussions
answered
Junior Member

Quote

Ankur wrote:
Hmm !There might be some solution by changing a little in the function showsublinks and relating it to Locale...

I am Just thinking about it, Not tested/done it yet... I will let you know if I found any solution through that ...... ;)


Ok, thank you very much. I'm waiting and keep learning.
0 replies
C
Cursor
C
Cursor 10
o & k
  • Junior Member, joined since
  • Contributed 19 posts on the community forums.
  • Started 4 threads in the forums
  • Started this discussions
answered
Junior Member

Quote

Ankur wrote:
Hmm !There might be some solution by changing a little in the function showsublinks and relating it to Locale...

I am Just thinking about it, Not tested/done it yet... I will let you know if I found any solution through that ...... ;)


I try to find it in every file *.php of the root folder but can't found. Where can I find the showsublinks function?
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

Mate that will be includes/theme_functions_include.php

[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]function showsublinks($sep = "·", $class = ""wink {
$sres = dbquery(
"SELECT link_name, link_url, link_window, link_visibility FROM ".DB_SITE_LINKS."
WHERE link_position='2' OR link_position='3' ORDER BY link_order"
);
if (dbrows($sres)) {
$i = 0;
$res = "<ul>\n";
while ($sdata = dbarray($sres)) {
if ($sdata['link_url'] != "---" && checkgroup($sdata['link_visibility'])) {
$link_target = $sdata['link_window'] == "1" ? " target='_blank'" : "";
$li_class = ($i == 0 ? " class='first-link".($class ? " $class" : ""wink."'" : ($class ? " class='$class'" : ""wink);
if (strstr($sdata['link_url'], "http://"wink || strstr($sdata['link_url'], "https://"wink) {
$res .= "<li".$li_class.">".$sep."<a href='".$sdata['link_url']."'$link_target><span>".parseubb($sdata['link_name'], "b|i|u|color"wink."</span></a></li>\n";
} else {
$res .= "<li".$li_class.">".$sep."<a href='".BASEDIR.$sdata['link_url']."'$link_target><span>".parseubb($sdata['link_name'], "b|i|u|color"wink."</span></a></li>\n";
}
$i++;
}
}
$res .= "</ul>\n";
return $res;
}
}[/syntaxhighlighter]
0 replies
C
Cursor
C
Cursor 10
o & k
  • Junior Member, joined since
  • Contributed 19 posts on the community forums.
  • Started 4 threads in the forums
  • Started this discussions
answered
Junior Member

Quote

Ankur wrote:
Hmm !There might be some solution by changing a little in the function showsublinks and relating it to Locale...

I am Just thinking about it, Not tested/done it yet... I will let you know if I found any solution through that ...... ;)


How about the solution? I'm still waiting.
Can I modify the database structure?, and may be some code?
I think may be by doing modification of the database structure and some code, can solve this problem.
Edited by Cursor on 16-02-2011 18:37,
0 replies

Category Forum

Locales Forum - 8

Labels

None yet

Statistics

  • Views 0 views
  • Posts 14 posts
  • Votes 0 votes
  • Topic users 5 members

5 participants

C
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
P
P
  • Veteran Member, joined since
  • Contributed 1,633 posts on the community forums.
  • Started 29 threads in the forums
R
R
Ex
  • Senior Member, joined since
  • Contributed 391 posts on the community forums.
  • Started 7 threads in the forums
A
A
Ankur 10
Hi! Its me, Ankur Thakur! smile
  • Veteran Member, joined since
  • Contributed 1,277 posts on the community forums.
  • Started 60 threads in the forums
C
C
Cursor 10
o & k
  • Junior Member, joined since
  • Contributed 19 posts on the community forums.
  • Started 4 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet