Intechnic
Users Developers
Home / Forums / In-Portal CMS / General In-Portal Discussions / I want to display all the languages... / Topic Posts

In-Portal Forum

This is a place for users of In-Portal to ask questions, discuss various topics, and interact with other members of the In-Portal Community. Please report bugs through the Bugs Team (not the Forum). If you are interested in contributing or joining one of the many Teams for In-Portal, please check out the Contribute section of the website.
 

In-Portal Forum

I want to display all the languages... (4)


Posted: 09/05/2005 8:45:23 PM

Reply Quoted  


Hello

I would like to display all the languages that I have loaded.

www.707bars.com/in-portal/
In my index.tpl I have the following code, which came with the installation:
****************************************************************************************
<tr>
<td><img src="<inp:m_lang_field _Field="icon" _default="img/ic_flag.gif"/>" width="18" height="12" alt="" /></td>
<td> </td>
<td class="post-action"><span onclick="showSeg('langmenu',true); "><inp:m_lang_field _Field="LocalName" /></span></td>
<td> </td>
</tr>
****************************************************************************************
I figure there must be an attribute or something that allows me to show multiple languages in a row rather than one at a time.

Thank you,
Dora

Posted: 09/06/2005 9:15:59 AM

Reply Quoted  


dtarver wrote:09/05/2005 8:45:23 PM
Hello

I would like to display all the languages that I have loaded.

www.707bars.com/in-portal/
In my index.tpl I have the following code, which came with the installation:
****************************************************************************************
<tr>
<td><img src="<inp:m_lang_field _Field="icon" _default="img/ic_flag.gif"/>" width="18" height="12" alt="" /></td>
<td> </td>
<td class="post-action"><span onclick="showSeg('langmenu',true); "><inp:m_lang_field _Field="LocalName" /></span></td>
<td> </td>
</tr>
****************************************************************************************
I figure there must be an attribute or something that allows me to show multiple languages in a row rather than one at a time.

Thank you,
Dora


Hello Dora,

Please have a look at the following tag in header.tpl template (In-link2 theme for In-portal):
<inp:m_list_languages _ItemTemplate="lang_menu/lang_menu_element.tpl" />

It uses lang_menu/lang_menu_element.tpl as an item template (the same theme) to list all languages in one row. Just follow the idea.

Thank you.


Posted: 09/06/2005 11:42:59 AM

Reply Quoted  


Hello There

www.707bars.com/in-portal/

Thank you. The "home" page, "bars & clus", and "cool stuff" now have the flags. Please tell me which *.tpl file I need to modify to make the registration page ("signup for prizes & contests") appear with the country flags as it now does on all the other pages?

Thank you
Dora:)

Posted: 09/06/2005 3:52:51 PM

Reply Quoted  


dtarver wrote:09/06/2005 11:42:59 AM
Hello There

www.707bars.com/in-portal/

Thank you. The "home" page, "bars & clus", and "cool stuff" now have the flags. Please tell me which *.tpl file I need to modify to make the registration page ("signup for prizes & contests") appear with the country flags as it now does on all the other pages?

Thank you
Dora:)


Hello, Dora,

In order to change the language menu on the "signup for prizes & contests" page you need to modify the register.tpl template found in the root themes category - in-portal/themes/bar707.

Let us know if you have any other questions.

[Edited By dimitarn on 09/06/05 3:53:48 PM]

[Edited By dimitarn on 09/06/05 3:54:39 PM]