Standard Guid for all langages for mojoPortal ?

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
4/28/2008 6:47:42 PM
Gravatar
Total Posts 16
Jesuite

Standard Guid for all langages for mojoPortal ?

Hi Joe,

In the WebStore module we have this :

private Guid languageGuid = new Guid("6d81a11e-f1d3-4cd6-b713-8c7b2bb32b3f"); //english

To have things standard, is it somewhere Guid for others langages used par mojoportal developers or we can generate any Guid as we want ?

thank you.

G.

5/13/2008 5:51:34 AM
Gravatar
Total Posts 18439

Re: Standard Guid for all langages for mojoPortal ?

If the languages is already in the database then use the guid that exists. If not then add the language and use whatever guid is created after adding it to the db.

Fo existing languages, the guid is already known because they exist in the sql setup script that inserts the row for the language, so they are the same on all installations. However if you add your own languages and others add their own languages (even if you both add the same one) they will get different guids on the way into the db.

Hope it helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.