Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Bug reports and fixes
.
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
how to disable greek language in drop down box in user registration box?
« previous
next »
Print
Pages: [
1
]
Author
Topic: how to disable greek language in drop down box in user registration box? (Read 4036 times)
venkipammi
Newbie
Posts: 5
how to disable greek language in drop down box in user registration box?
«
on:
April 04, 2009, 18:48:28 »
Hello sir,i like elxis.let me know how can we disable Greek language in language drop down box when a new user registration?
Logged
nikos
Elxis Community
Hero Member
Posts: 1094
Re: how to disable greek language in drop down box in user registration box?
«
Reply #1 on:
April 04, 2009, 18:54:37 »
In file registration.html.php we delete the part of code which follows
<div class="tablerow">
<div class="tablecell"><?php echo _E_PREFLANG; ?>: *</div>
<div class="tablecell">
<?php echo $lists['preflang']; ?>
</div>
</div>
and we add the follow line code
<input type="hidden" name="preflang" value="greek" />
As value we set the prefered language of our site.
Logged
Elxis Community |
Open Source Web Lab
Ivan Trebješanin
Elxis Team
Hero Member
Posts: 1663
Re: how to disable greek language in drop down box in user registration box?
«
Reply #2 on:
April 04, 2009, 19:05:32 »
NO, do NOT mess with the code! If you want to disable greek language, simply go to administrator->Languages Manager and unpublish greek language.
Logged
I've got a snap in my finger...
Got rhythm in my walk...
nikos
Elxis Community
Hero Member
Posts: 1094
Re: how to disable greek language in drop down box in user registration box?
«
Reply #3 on:
April 04, 2009, 19:19:27 »
Ivan is right. Just this method i use when in a single language site you want to disable language option in registration form, because has no sense to select it.
Logged
Elxis Community |
Open Source Web Lab
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
how to disable greek language in drop down box in user registration box?