PDA

View Full Version : Multilanguage Webpage



Jose
19-Jan-2009, 02:29 PM
Hi,

I Search through WASP and I found the next document:
http://www.electos.com/Include/ElectosFileStreaming.asp?FileId=545, I do all
steps except point 5).
I don´t find that line of code, I supose that I have to change the following
line of code: "oMenuObject.MenuCreateTree "oCMenu", 1, 0, iMenuDepth, "ALL""
but all changes that I make don´t make effect.
For example, If I change "ALL" to "DOC" it don´t show anything (menu
dissapear), same if I put "CAT" it do the same.

Any idea?

Thanks.

Edwin van der Velden
20-Jan-2009, 07:30 AM
Hi José

You are correct that the change should be made in that line of code, however
the only thing you should have to change is the start id (which is the 1 in
your line of code) the "ALL" shouldn't have to be changed as that simply
says what kind of elements to use not what place to use as start location.

The 1 should be changed to the id of the category which is your root for the
selected language, keep in mind that putting that root element on not
displaying in meny will result in not displaying any menu at all.

Regards,

Edwin van der Velden
Data Access Europe

"José Pérez" <jperez@moose-software.com> wrote in message
news:ttP92wmeJHA.2072@dacmail.dataaccess.com...
> Hi,
>
> I Search through WASP and I found the next document:
> http://www.electos.com/Include/ElectosFileStreaming.asp?FileId=545, I do
> all steps except point 5).
> I don´t find that line of code, I supose that I have to change the
> following line of code: "oMenuObject.MenuCreateTree "oCMenu", 1, 0,
> iMenuDepth, "ALL"" but all changes that I make don´t make effect.
> For example, If I change "ALL" to "DOC" it don´t show anything (menu
> dissapear), same if I put "CAT" it do the same.
>
> Any idea?
>
> Thanks.
>

Jose
20-Jan-2009, 01:38 PM
Hi Edwin,

oMenuObject.MenuCreateTree "oCMenu", 1, 0, iMenuDepth, "ALL"

I have the above line of code.

If I change the second parameter it doesn´t work (menu dissapear), the same
if I change the fifth parameter (I know that I don´t have to change this,
but I change to check if it works, but it does the same, menu dissapear)

In the site structure I have the next categories on first level:
- Spanish (ID = 46), so, if I put : oMenuObject.MenuCreateTree "oCMenu", 46,
0, iMenuDepth, "ALL" , it doesn´t work (menu dissapear)
- English (ID = 47), so, if I put : oMenuObject.MenuCreateTree "oCMenu", 47,
0, iMenuDepth, "ALL" , it doesn´t work (menu dissapear)
- German (ID = 48), so, if I put : oMenuObject.MenuCreateTree "oCMenu", 48,
0, iMenuDepth, "ALL" , it doesn´t work (menu dissapear)

I am using Quacia template

Thanks.

"Edwin van der Velden" <edwin.van.der.velden@dataaccess.nl> escribió en el
mensaje news:%23sfflrveJHA.2504@dacmail.dataaccess.com...
> Hi José
>
> You are correct that the change should be made in that line of code,
> however the only thing you should have to change is the start id (which is
> the 1 in your line of code) the "ALL" shouldn't have to be changed as that
> simply says what kind of elements to use not what place to use as start
> location.
>
> The 1 should be changed to the id of the category which is your root for
> the selected language, keep in mind that putting that root element on not
> displaying in meny will result in not displaying any menu at all.
>
> Regards,
>
> Edwin van der Velden
> Data Access Europe
>
> "José Pérez" <jperez@moose-software.com> wrote in message
> news:ttP92wmeJHA.2072@dacmail.dataaccess.com...
>> Hi,
>>
>> I Search through WASP and I found the next document:
>> http://www.electos.com/Include/ElectosFileStreaming.asp?FileId=545, I do
>> all steps except point 5).
>> I don´t find that line of code, I supose that I have to change the
>> following line of code: "oMenuObject.MenuCreateTree "oCMenu", 1, 0,
>> iMenuDepth, "ALL"" but all changes that I make don´t make effect.
>> For example, If I change "ALL" to "DOC" it don´t show anything (menu
>> dissapear), same if I put "CAT" it do the same.
>>
>> Any idea?
>>
>> Thanks.
>>
>
>

Edwin van der Velden
21-Jan-2009, 05:10 AM
Hi José,

Could you please check in the Electos studio the category with the mentioned
ids (eg. ID = 46) and check if they are actived/diplayed in menu and all
that.

Another value to check would be iMenuDepth, if you check that value or
replace it by 10 it should at least work to test.

Regards,

Edwin van der Velden


"José Pérez" <jperez@moose-software.com> wrote in message
news:PB4yg5yeJHA.968@dacmail.dataaccess.com...
> Hi Edwin,
>
> oMenuObject.MenuCreateTree "oCMenu", 1, 0, iMenuDepth, "ALL"
>
> I have the above line of code.
>
> If I change the second parameter it doesn´t work (menu dissapear), the
> same if I change the fifth parameter (I know that I don´t have to change
> this, but I change to check if it works, but it does the same, menu
> dissapear)
>
> In the site structure I have the next categories on first level:
> - Spanish (ID = 46), so, if I put : oMenuObject.MenuCreateTree "oCMenu",
> 46, 0, iMenuDepth, "ALL" , it doesn´t work (menu dissapear)
> - English (ID = 47), so, if I put : oMenuObject.MenuCreateTree "oCMenu",
> 47, 0, iMenuDepth, "ALL" , it doesn´t work (menu dissapear)
> - German (ID = 48), so, if I put : oMenuObject.MenuCreateTree "oCMenu",
> 48, 0, iMenuDepth, "ALL" , it doesn´t work (menu dissapear)
>
> I am using Quacia template
>
> Thanks.
>
> "Edwin van der Velden" <edwin.van.der.velden@dataaccess.nl> escribió en el
> mensaje news:%23sfflrveJHA.2504@dacmail.dataaccess.com...
>> Hi José
>>
>> You are correct that the change should be made in that line of code,
>> however the only thing you should have to change is the start id (which
>> is the 1 in your line of code) the "ALL" shouldn't have to be changed as
>> that simply says what kind of elements to use not what place to use as
>> start location.
>>
>> The 1 should be changed to the id of the category which is your root for
>> the selected language, keep in mind that putting that root element on not
>> displaying in meny will result in not displaying any menu at all.
>>
>> Regards,
>>
>> Edwin van der Velden
>> Data Access Europe
>>
>> "José Pérez" <jperez@moose-software.com> wrote in message
>> news:ttP92wmeJHA.2072@dacmail.dataaccess.com...
>>> Hi,
>>>
>>> I Search through WASP and I found the next document:
>>> http://www.electos.com/Include/ElectosFileStreaming.asp?FileId=545, I do
>>> all steps except point 5).
>>> I don´t find that line of code, I supose that I have to change the
>>> following line of code: "oMenuObject.MenuCreateTree "oCMenu", 1, 0,
>>> iMenuDepth, "ALL"" but all changes that I make don´t make effect.
>>> For example, If I change "ALL" to "DOC" it don´t show anything (menu
>>> dissapear), same if I put "CAT" it do the same.
>>>
>>> Any idea?
>>>
>>> Thanks.
>>>
>>
>>
>
>

Jose
21-Jan-2009, 10:55 AM
Hi Edwin,

I have checked the category in the Electos studio and all things seem to be
right.

iMenuDepth works fine if I leave second parameter = 1 (shows all the tree of
the menu), but when I change second parameter to begin the menu from a
specific language it fails (menu dissapear).

Thanks.

"Edwin van der Velden" <edwin.van.der.velden@dataaccess.nl> escribió en el
mensaje news:ASLcOC7eJHA.4916@dacmail.dataaccess.com...
> Hi José,
>
> Could you please check in the Electos studio the category with the
> mentioned ids (eg. ID = 46) and check if they are actived/diplayed in menu
> and all that.
>
> Another value to check would be iMenuDepth, if you check that value or
> replace it by 10 it should at least work to test.
>
> Regards,
>
> Edwin van der Velden
>
>
> "José Pérez" <jperez@moose-software.com> wrote in message
> news:PB4yg5yeJHA.968@dacmail.dataaccess.com...
>> Hi Edwin,
>>
>> oMenuObject.MenuCreateTree "oCMenu", 1, 0, iMenuDepth, "ALL"
>>
>> I have the above line of code.
>>
>> If I change the second parameter it doesn´t work (menu dissapear), the
>> same if I change the fifth parameter (I know that I don´t have to change
>> this, but I change to check if it works, but it does the same, menu
>> dissapear)
>>
>> In the site structure I have the next categories on first level:
>> - Spanish (ID = 46), so, if I put : oMenuObject.MenuCreateTree "oCMenu",
>> 46, 0, iMenuDepth, "ALL" , it doesn´t work (menu dissapear)
>> - English (ID = 47), so, if I put : oMenuObject.MenuCreateTree "oCMenu",
>> 47, 0, iMenuDepth, "ALL" , it doesn´t work (menu dissapear)
>> - German (ID = 48), so, if I put : oMenuObject.MenuCreateTree "oCMenu",
>> 48, 0, iMenuDepth, "ALL" , it doesn´t work (menu dissapear)
>>
>> I am using Quacia template
>>
>> Thanks.
>>
>> "Edwin van der Velden" <edwin.van.der.velden@dataaccess.nl> escribió en
>> el mensaje news:%23sfflrveJHA.2504@dacmail.dataaccess.com...
>>> Hi José
>>>
>>> You are correct that the change should be made in that line of code,
>>> however the only thing you should have to change is the start id (which
>>> is the 1 in your line of code) the "ALL" shouldn't have to be changed as
>>> that simply says what kind of elements to use not what place to use as
>>> start location.
>>>
>>> The 1 should be changed to the id of the category which is your root for
>>> the selected language, keep in mind that putting that root element on
>>> not displaying in meny will result in not displaying any menu at all.
>>>
>>> Regards,
>>>
>>> Edwin van der Velden
>>> Data Access Europe
>>>
>>> "José Pérez" <jperez@moose-software.com> wrote in message
>>> news:ttP92wmeJHA.2072@dacmail.dataaccess.com...
>>>> Hi,
>>>>
>>>> I Search through WASP and I found the next document:
>>>> http://www.electos.com/Include/ElectosFileStreaming.asp?FileId=545, I
>>>> do all steps except point 5).
>>>> I don´t find that line of code, I supose that I have to change the
>>>> following line of code: "oMenuObject.MenuCreateTree "oCMenu", 1, 0,
>>>> iMenuDepth, "ALL"" but all changes that I make don´t make effect.
>>>> For example, If I change "ALL" to "DOC" it don´t show anything (menu
>>>> dissapear), same if I put "CAT" it do the same.
>>>>
>>>> Any idea?
>>>>
>>>> Thanks.
>>>>
>>>
>>>
>>
>>
>
>

Jose
28-Jan-2009, 11:50 AM
Hi,

Nothing yet, I have been trying but I don´t solve the problem.

Any Idea?

Thanks.

"Edwin van der Velden" <edwin.van.der.velden@dataaccess.nl> escribió en el
mensaje news:ASLcOC7eJHA.4916@dacmail.dataaccess.com...
> Hi José,
>
> Could you please check in the Electos studio the category with the
> mentioned ids (eg. ID = 46) and check if they are actived/diplayed in menu
> and all that.
>
> Another value to check would be iMenuDepth, if you check that value or
> replace it by 10 it should at least work to test.
>
> Regards,
>
> Edwin van der Velden
>
>
> "José Pérez" <jperez@moose-software.com> wrote in message
> news:PB4yg5yeJHA.968@dacmail.dataaccess.com...
>> Hi Edwin,
>>
>> oMenuObject.MenuCreateTree "oCMenu", 1, 0, iMenuDepth, "ALL"
>>
>> I have the above line of code.
>>
>> If I change the second parameter it doesn´t work (menu dissapear), the
>> same if I change the fifth parameter (I know that I don´t have to change
>> this, but I change to check if it works, but it does the same, menu
>> dissapear)
>>
>> In the site structure I have the next categories on first level:
>> - Spanish (ID = 46), so, if I put : oMenuObject.MenuCreateTree "oCMenu",
>> 46, 0, iMenuDepth, "ALL" , it doesn´t work (menu dissapear)
>> - English (ID = 47), so, if I put : oMenuObject.MenuCreateTree "oCMenu",
>> 47, 0, iMenuDepth, "ALL" , it doesn´t work (menu dissapear)
>> - German (ID = 48), so, if I put : oMenuObject.MenuCreateTree "oCMenu",
>> 48, 0, iMenuDepth, "ALL" , it doesn´t work (menu dissapear)
>>
>> I am using Quacia template
>>
>> Thanks.
>>
>> "Edwin van der Velden" <edwin.van.der.velden@dataaccess.nl> escribió en
>> el mensaje news:%23sfflrveJHA.2504@dacmail.dataaccess.com...
>>> Hi José
>>>
>>> You are correct that the change should be made in that line of code,
>>> however the only thing you should have to change is the start id (which
>>> is the 1 in your line of code) the "ALL" shouldn't have to be changed as
>>> that simply says what kind of elements to use not what place to use as
>>> start location.
>>>
>>> The 1 should be changed to the id of the category which is your root for
>>> the selected language, keep in mind that putting that root element on
>>> not displaying in meny will result in not displaying any menu at all.
>>>
>>> Regards,
>>>
>>> Edwin van der Velden
>>> Data Access Europe
>>>
>>> "José Pérez" <jperez@moose-software.com> wrote in message
>>> news:ttP92wmeJHA.2072@dacmail.dataaccess.com...
>>>> Hi,
>>>>
>>>> I Search through WASP and I found the next document:
>>>> http://www.electos.com/Include/ElectosFileStreaming.asp?FileId=545, I
>>>> do all steps except point 5).
>>>> I don´t find that line of code, I supose that I have to change the
>>>> following line of code: "oMenuObject.MenuCreateTree "oCMenu", 1, 0,
>>>> iMenuDepth, "ALL"" but all changes that I make don´t make effect.
>>>> For example, If I change "ALL" to "DOC" it don´t show anything (menu
>>>> dissapear), same if I put "CAT" it do the same.
>>>>
>>>> Any idea?
>>>>
>>>> Thanks.
>>>>
>>>
>>>
>>
>>
>
>

Edwin van der Velden
29-Jan-2009, 03:22 AM
Hi José,

Would you be able to e-mail me your website in which this occurs so I can
have a look at this myself and see if I can find the problem?

Regards,

Edwin



"José Pérez" <jperez@moose-software.com> wrote in message
news:0i1$ViWgJHA.5648@dacmail.dataaccess.com...
> Hi,
>
> Nothing yet, I have been trying but I don´t solve the problem.
>
> Any Idea?
>
> Thanks.
>
> "Edwin van der Velden" <edwin.van.der.velden@dataaccess.nl> escribió en el
> mensaje news:ASLcOC7eJHA.4916@dacmail.dataaccess.com...
>> Hi José,
>>
>> Could you please check in the Electos studio the category with the
>> mentioned ids (eg. ID = 46) and check if they are actived/diplayed in
>> menu and all that.
>>
>> Another value to check would be iMenuDepth, if you check that value or
>> replace it by 10 it should at least work to test.
>>
>> Regards,
>>
>> Edwin van der Velden
>>
>>
>> "José Pérez" <jperez@moose-software.com> wrote in message
>> news:PB4yg5yeJHA.968@dacmail.dataaccess.com...
>>> Hi Edwin,
>>>
>>> oMenuObject.MenuCreateTree "oCMenu", 1, 0, iMenuDepth, "ALL"
>>>
>>> I have the above line of code.
>>>
>>> If I change the second parameter it doesn´t work (menu dissapear), the
>>> same if I change the fifth parameter (I know that I don´t have to change
>>> this, but I change to check if it works, but it does the same, menu
>>> dissapear)
>>>
>>> In the site structure I have the next categories on first level:
>>> - Spanish (ID = 46), so, if I put : oMenuObject.MenuCreateTree "oCMenu",
>>> 46, 0, iMenuDepth, "ALL" , it doesn´t work (menu dissapear)
>>> - English (ID = 47), so, if I put : oMenuObject.MenuCreateTree "oCMenu",
>>> 47, 0, iMenuDepth, "ALL" , it doesn´t work (menu dissapear)
>>> - German (ID = 48), so, if I put : oMenuObject.MenuCreateTree "oCMenu",
>>> 48, 0, iMenuDepth, "ALL" , it doesn´t work (menu dissapear)
>>>
>>> I am using Quacia template
>>>
>>> Thanks.
>>>
>>> "Edwin van der Velden" <edwin.van.der.velden@dataaccess.nl> escribió en
>>> el mensaje news:%23sfflrveJHA.2504@dacmail.dataaccess.com...
>>>> Hi José
>>>>
>>>> You are correct that the change should be made in that line of code,
>>>> however the only thing you should have to change is the start id (which
>>>> is the 1 in your line of code) the "ALL" shouldn't have to be changed
>>>> as that simply says what kind of elements to use not what place to use
>>>> as start location.
>>>>
>>>> The 1 should be changed to the id of the category which is your root
>>>> for the selected language, keep in mind that putting that root element
>>>> on not displaying in meny will result in not displaying any menu at
>>>> all.
>>>>
>>>> Regards,
>>>>
>>>> Edwin van der Velden
>>>> Data Access Europe
>>>>
>>>> "José Pérez" <jperez@moose-software.com> wrote in message
>>>> news:ttP92wmeJHA.2072@dacmail.dataaccess.com...
>>>>> Hi,
>>>>>
>>>>> I Search through WASP and I found the next document:
>>>>> http://www.electos.com/Include/ElectosFileStreaming.asp?FileId=545, I
>>>>> do all steps except point 5).
>>>>> I don´t find that line of code, I supose that I have to change the
>>>>> following line of code: "oMenuObject.MenuCreateTree "oCMenu", 1, 0,
>>>>> iMenuDepth, "ALL"" but all changes that I make don´t make effect.
>>>>> For example, If I change "ALL" to "DOC" it don´t show anything (menu
>>>>> dissapear), same if I put "CAT" it do the same.
>>>>>
>>>>> Any idea?
>>>>>
>>>>> Thanks.
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>