how to make work poll when site is in two language?

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.
7/30/2010 1:47:08 AM
Gravatar
Total Posts 55

how to make work poll when site is in two language?

Hi,

 

I want to develop site in two language, if i will locate English version in www.mysite.com and Georgian one in www.ge.mysite.com, 

how will I make to work Poll, when user votes in English site how it will show in Georgian site? 

What will you suggest me?

 

Thanks

7/30/2010 4:34:36 AM
Gravatar
Total Posts 23

Re: how to make work poll when site is in two language?

Hi

Before i tot about this subject becouse of translating content is diffrenet issue .

I suggest you to make custom voting module or add some future to vote module

1 - in administration of vote module make changes to save diffrent languages

2- in module check the site langugage

3- show voting with correct langugag.

 

if you prefer/wish i would like to help about this.  ( i can understand finding some help sometimes is very hard. )

Also i will had some different experience

 

regards.

KANPINAR

7/30/2010 5:38:30 AM
Gravatar
Total Posts 23

Re: how to make work poll when site is in two language? (Intermediate )

 

Ok then i looked the tables and a suggestion.. Create a new module that is a copy of Poll module!..

after then adding 2 tables makes the database side .

Tables about Poll ;

mp_PollModules
mp_PollUsers
mp_Polls - > holds poll and Question
mp_PollOptions -> Holds options

If we have two tables  like mp_PollsLangs Translates  and mp_PollOptionsLangs
and prepare them ready relate with tables that we already have.

Like ,

CREATE TABLE [dbo].[mp_PollsLangs](
    [PollGuid] [uniqueidentifier] NOT NULL,
    [Language] [nvarchar](255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
    [Question] [nvarchar](255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]

CREATE TABLE [dbo].[mp_PollOptionsLangs](
    [OptionGuid] [uniqueidentifier] NOT NULL,
    [PollGuid] [uniqueidentifier] NOT NULL,
    [Language] [nvarchar](255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
    [Answer] [nvarchar](255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]

 

makes the job for holding data.

after then must do the changes to make job like in
mojoPortal.Features. (data,bussiness,UI) namespaces

 

regards.

KANPINAR

 

 

 

 


 



 

7/30/2010 1:07:38 PM
Gravatar
Total Posts 55

Re: how to make work poll when site is in two language?

Hi KANPINAR,

 

Thank you very much for your help, just I don't have time now to make Poll control, I will do this later

I was just interested if it was be possible by Mojoportal Poll control.

Thanks

7/31/2010 6:31:46 AM
Gravatar
Total Posts 23

Re: how to make work poll when site is in two language?

Hi i was working similar things and i get wrong understand...angelcrying

about your Q there is some answers that tells Publishing the Same Content on Multiple Pages

i think similar with your question. and can give some understanding

7/31/2010 3:24:00 PM
Gravatar
Total Posts 55

Re: how to make work poll when site is in two language?

Hi KANPINAR,

 

Thank you for help... this is not also solution of my problem...

 

I will come back to this problem later... it would be intereting

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