- 46
Hi,
i want to change some CSHTML files,
so i copied them to my theme folder,
but i am getting errors when i try to change them.
the files i am trying to change -
_ProductReviews.cshtml
_ProductTabs.cshtml
and my theme name is a custom one.
the errors are -
_ProductReviews.cshtml :
Compilation Error, Compiler Error Message: CS0103: The name 'model' does not exist in the current context
line 5 : @model Nop.Web.Models.Catalog.ProductReviewsModel
_ProductTabs.cshtml :
Compilation Error, Compiler Error Message: CS0103: The name 'T' does not exist in the current context
line 38 : Line 38: var couldNotLoadTabErrorMessage = T("SevenSpikes.NopQuickTabs.Client.Tabs.CouldNotLoadTabErrorMessage").ToString();
the problem is not in my changes, because the errors appears also if i don't change anything (just the files to the theme folder)
the folder i tried to put them is -
Plugins\SevenSpikes.Nop.Plugins.NopQuickTabs\Themes\BBooksTheme\Views\ProductTab
p.s. i already downloaded the last version of QuickTabs, and replaced the files
Thanks,
Shay
i want to change some CSHTML files,
so i copied them to my theme folder,
but i am getting errors when i try to change them.
the files i am trying to change -
_ProductReviews.cshtml
_ProductTabs.cshtml
and my theme name is a custom one.
the errors are -
_ProductReviews.cshtml :
Compilation Error, Compiler Error Message: CS0103: The name 'model' does not exist in the current context
line 5 : @model Nop.Web.Models.Catalog.ProductReviewsModel
_ProductTabs.cshtml :
Compilation Error, Compiler Error Message: CS0103: The name 'T' does not exist in the current context
line 38 : Line 38: var couldNotLoadTabErrorMessage = T("SevenSpikes.NopQuickTabs.Client.Tabs.CouldNotLoadTabErrorMessage").ToString();
the problem is not in my changes, because the errors appears also if i don't change anything (just the files to the theme folder)
the folder i tried to put them is -
Plugins\SevenSpikes.Nop.Plugins.NopQuickTabs\Themes\BBooksTheme\Views\ProductTab
p.s. i already downloaded the last version of QuickTabs, and replaced the files
Thanks,
Shay