Jquery working on local but not working in the server

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.
2/10/2011 3:35:41 AM
Gravatar
Total Posts 108
Community Expert

Re: Jquery working on local but not working in the server

If you dont have any resources files for the localization of your module, you will continue receive the error because in your  web.config you  instruct the system to look for the  ResourceFile="SlideShowResources" 

2/10/2011 4:00:13 AM
Gravatar
Total Posts 26

Re: Custom Feature Settings Error

  Without adding the resource file , i cannot make a settings for my custom feature ah?  Because i removed the resource file name from config file. i only added the "Setting Key (no spaces) use the same key for the label in your Resource file: SlideShowSettings. and the ControlType: ISettingsControl and the Control Source:Cdtech/SlideShow.ascx ". Now when i click the settings tab it does not throw me an error instead it shows the "SlideShowSettings" label only.

  I went through the system log it give the error as follows

ERROR mojoPortal.Web.AdminUI.ModuleSettingsPage - ModuleSettings.aspx.cs error getting resource for s.SettingName BWSettings
System.NullReferenceException: Object reference not set to an instance of an object.
   at mojoPortal.Web.AdminUI.ModuleSettingsPage.AddSettingControl(CustomModuleSetting s, Panel groupPanel)

 

 

 

2/10/2011 10:56:20 AM
Gravatar
Total Posts 245
mojoPortal Community Expert

Re: Jquery working on local but not working in the server

Hi sathya

I would say yes.  You need it  Although I have never tried removing it.  I do not believe Joe's tutorials said this was an optional step.

Rick(Arvixe)

2/10/2011 11:06:02 AM
Gravatar
Total Posts 18439

Re: Jquery working on local but not working in the server

If your UI project does not have an App_GlobalResources folder you should right click it and choose Add > ADD ASP.NET Folder > App_GlobalResources

Then you should add SlideShowResources.resx to that folder and add strings for your resources.

Then in your post build event make sure to copy the .resx file(s) up to Web/App_GlobalResources

Hope it helps,

Joe

ps, next time one question per thread would be appreciated to keep the forums organized. This thread started out about jquery and ended about resource files.

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