MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

private file  (Mono Support )

Viewed 24554 time(s), 15 post(s) 1/19/2012 1:52:42 PMby deluxxx
deluxxx

deluxxx

1/19/2012 1:52:42 PM
whether we can do to any user galleries had his? Available only for yourself? I mean just to be able to keep the txt files
This content has not been rated yet. 
214 Reputation 27 Total posts
khorvat

khorvat

1/19/2012 2:45:57 PM
Hi,

ordinary upload (UploadModule and SilverlightUploadModule) is using the FileGallery module and inside this module there is no support for privacy, if you use Photo gallery module you will have the privacy functionality.

Let us know if you need anything else.

Regards
This content has not been rated yet. 
15993 Reputation 2214 Total posts
deluxxx

deluxxx

1/19/2012 3:12:30 PM
Hi,

whether it is possible to change the file type photo gallery which I may add to the gallery?He wants to be able to add all possible, not only jpg PNG and the like

Regards
This content has not been rated yet. 
214 Reputation 27 Total posts
khorvat

khorvat

1/19/2012 3:29:14 PM
Hi,

you can check the supported image types by looking into a MonoSoftware.Core.Drawing.ImageUtility.ImageExtensions, and if you want to enable more types then you need to add new types into that list in the same format as other extensions added to ImageExtensions.

You should add them in the early stage of the application cycle e.g. Global.asax.cs Application_Start event.

Regards
This content has not been rated yet. 
15993 Reputation 2214 Total posts
deluxxx

deluxxx

1/19/2012 5:05:18 PM
hi,
where is this list?


EDIT:
I have also problem with the portal localization? I have something to add to the web config. I guess here: <providers>
<clear />
<add name="ResourceManager" type="System.Resources.ResourceManager,Mscorlib" customProperties="" />
<add name="DBResourceManager"type="MonoSoftware.Web.ResourceProviderModel.Providers.DBResourceManager,MonoSoftware.Web.ResourceProviderModel" customProperties="" />
</ providers>
but I have no idea what to enter there?
Regards
This content has not been rated yet. 
214 Reputation 27 Total posts
khorvat

khorvat

1/20/2012 7:38:26 AM
Hi,

this is all explained in the MonoX manual under the localization section. You need to change the default resource provider so you can dynamically localize your web site. Please read the localization section in the manual and get back to us if you need anything else.

Regards
This content has not been rated yet. 
15993 Reputation 2214 Total posts
deluxxx

deluxxx

1/23/2012 7:36:35 PM
I would like to add other extensions but still looking and I have no idea where to add. You can have any other tips?
This content has not been rated yet. 
214 Reputation 27 Total posts
imarusic

imarusic

1/24/2012 9:31:23 AM
Hi,

regarding the DB resource manager:

Please take a look at this blog post. There you will find more details regarding the DB resource manager. To start using it you need to set the detaultProvider, in web.config, to DBResourceManager.

<ResourceProviderModel defaultProvider="DBResourceManager">
      <providers>
        <clear/>
        <add name="ResourceManager" type="System.Resources.ResourceManager, Mscorlib" customProperties=""/>
        <add name="DBResourceManager" type="MonoSoftware.Web.ResourceProviderModel.Providers.DBResourceManager, MonoSoftware.Web.ResourceProviderModel" customProperties=""/>
      </providers>
    </ResourceProviderModel>

This content has not been rated yet. 
3016 Reputation 428 Total posts
deluxxx

deluxxx

1/24/2012 3:24:40 PM
thanks for your reply.

I mean where do I add to the list of extensions associated with a private gallery. I want to be able to add other extensions that you add and not just image files. The translation itself advised.

khorvat say :
"you can check the supported image types by looking into a MonoSoftware.Core.Drawing.ImageUtility.ImageExtensions,
and if you want to enable more types then you need to add new types
into that list in the same format as other extensions added to ImageExtensions.

You should add them in the early stage of the application cycle e.g. Global.asax.cs Application_Start event."

I have no idea what's going on


Regards
This content has not been rated yet. 
214 Reputation 27 Total posts
deluxxx

deluxxx

1/31/2012 7:36:37 AM
any ideas suggestions? please help me ;(
This content has not been rated yet. 
214 Reputation 27 Total posts
1 2