Close

razor code

gnik
8 years ago
#9893 Quote
Avatar
  • 41
Good afternoon. Is it possible to add html widget razor code? Or insert ravaged one of the pages (Topic)?

Senks.
iliyan.tanev
8 years ago
#9902 Quote
Avatar
  • Moderator
  • 347
Hi,

By "add html widget razor code" do you mean to add razor code to Html Widget ? If this is your question - unfortunately it is not possible.

About your second question: If I understand you correctly you need to add Html Widget on Topic page ? If this is what you need you will have to add a new widget zone in the TopicDetails.cshtml view and also add the new widget zone to the SupportedWidgetZones.xml file in the Html Widgets plugin.

Write back if you need guidance on how to do it.
Regards,
Iliyan Tanev
Nop-Templates Dev Team