Which would be the preferred way to add a new property to the 'MediaSettings.cs' class (at Libraries\Nop.Core\Domain\Media\)?
1) Should I make the media setting class partial (media settings class is not partial by default) and then add another partial class with the new setting?
OR
2) Should I just add the new property to the media settings class itself?
Also related to adding a new property to the media settings class, after adding a new property to the class do I just have to add the property to the 'Setting' table in the database and I am done or do I need to do something more to be able to access that property.
Thanks for replying daveb. I am using Nop 2.5 and I am referring to the class 'MediaSettings.cs' in Libraries/Nop.Core/Domain/Media . Please let me know if you need any other information.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.