Language Drop Down

Started by Matthew K., January 02, 2007, 11:41:04 PM

Previous topic - Next topic

Arantor

The screenshot doesn't appear to me :-/
Holder of controversial views, all of which my own.


Arantor

Well, in the file you posted, the code that calls the template IS listed. I even showed you the area in the code that it was listed in.

If you turn on "quick login on every page" it'll display for guests, which it won't do right now I believe, if I read the code correctly.
Holder of controversial views, all of which my own.


leonpadi

Quote from: Arantor on November 22, 2009, 02:35:55 PM
It's installed in that code.

if ($context['user']['is_logged'] || !empty($context['show_login_bar']))

echo '
<div id="user_section" class="bordercolor"', empty($options['collapse_header']) ? '' : ' style="display: none;"', '>
<div class="floatright">', template_language_select(), '</div>
<div class="windowbg2 clearfix">';

echo '
<div id="user_section" class="bordercolor"', empty($options['collapse_header']) ? '' : ' style="display: none;"', '>
<div class="windowbg2 clearfix">';


I think you have an extra echo you're not meant to have though.  (You didn't tell me you were using 2.0 RC2 so I didn't originally give you the 2.0 RC2 install instructions!)

Is the header collapsed?

I get this error...
Fatal error: Call to undefined function languageDrop() in C:\wamp\www\forum\Sources\Load.php(2113) : eval()'d code on line 511

Arantor

That suggests you've not installed one or more of the other changes.
Holder of controversial views, all of which my own.


leonpadi

Yeap, propably, and which are those changes i may have to apply ? (dumb question i know, i am a smf noobie :) )

Arantor

Whatever changes you've done, undo all of them. You seem to have gotten 1.1 code inside 2.0. LanguageDrop isn't set up in 2.0 as far as I can see - but it's also not being called.
Holder of controversial views, all of which my own.


leonpadi

Ok dear Arantor
So my mistake, i will undo any changes and wait for version 2.0 (and specifically for Rc2 which we are running on)...
Thank you again for your time my friend :)

Arantor

Well, this mod should install fine on 2.0 RC2, but I guess we'll have to wait for the author to comment.
Holder of controversial views, all of which my own.


laloma

Dear Sirs:

SMF 2 RC2, Default Theme, Language Drop 1

Just upgrade to SMF 2 RC2 and install Language Drop Down Mod. I need to change the Language Name displayed at the Language Drop Down Menu.

Have installed Spanish and English, Spanish is displayed as ´Spanish Es-utf8´and would like to be display as ´Español´

Where I can change this ?

Regards,

Arantor

You cannot easily change this, since it displays the internal language code used by SMF rather than a friendly one.
Holder of controversial views, all of which my own.


laloma

Dear Arantor:

Is there a way to change it at the Language Pack ? How to get detailled instructions to change this ?

Also, how to change Box anf Fond Size of the Drop Down Menu ?

Regards,

Arantor

No there isn't a way of changing it in the language pack.

Changing the box size and font size is done in CSS, depends mostly on your theme.
Holder of controversial views, all of which my own.


laloma

Dear Arantor:

Where I can get guidance to do both, change Language name and Drop Down menu box and font ?

Regards,

Arantor

Hopefully the mod's author will be around to provide those.

In the case of changing the language name, that's not exactly a simple change.
Holder of controversial views, all of which my own.


Neverhurry

Hi Arantor:

I would like to show it in the Luxemburgues theme, i can not find the parse code for 2.0rc2, can you help?
I am using SMF 2.0.1, curve themes.

Arantor

The author needs to update the file on the mod site because the one currently there is broken.
Holder of controversial views, all of which my own.


searchgr

Package upload failed due to the following error:
"Although the package was downloaded to the server it appears to be empty. Please check the Packages directory, and the "temp" sub-directory are both writable. If you continue to experience this problem you should try extracting the package on your PC and uploading the extracted files into a subdirectory in your Packages directory and try again. For example, if the package was called shout.tar.gz you should:
1) Download the package to your local PC and extract it into files.
2) Using an FTP client create a new directory in your "Packages" folder, in this example you may call it "shout".
3) Upload all the files from the extracted package to this directory.
4) Go back to the package manager browse page and the package will be automatically found by SMF."

Arantor

Quote from: Arantor on December 04, 2009, 03:47:42 AM
The author needs to update the file on the mod site because the one currently there is broken.
Holder of controversial views, all of which my own.


Akyhne

Me thinks we should ban the author, until he updates this mod XD

Arantor

I spoke to him about this a while ago, and he said he'd fix it when he had time...
Holder of controversial views, all of which my own.


Advertisement: