Campaigns - rich text editor (or TinyMCE) - how to? [SOLVED]

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
6 years ago
Hi-

I've been using older versions of nopCommerce for a few years, but just recently set up a new 3.90 nopComerce site.
When editing a campaign's body, the editor is just a plain textarea...no rich text editor like the older versions.

So, I checked the code in the _CreateOrUpdate.cshtml and see this:
@Html.EditorFor(model => model.Body, "RichEditor")


So it makes me think there is a problem...

Why am I not seeing the rich text editor?

Thanks!
6 years ago
Ok, nevermind..
I figured out that there's a new setting in All Setting(s)
adminareasettings.usericheditorinmessagetemplates
6 years ago
I think we should move this setting to UI - https://github.com/nopSolutions/nopCommerce/issues/2325
6 years ago
a.m. wrote:
I think we should move this setting to UI - https://github.com/nopSolutions/nopCommerce/issues/2325

Hi Andrei:
There are still many "hidden" settings. I don't find any reason not to move all of them to the UI, maybe some to Advance Mode in their corresponding setting or to a Miscellaneous Setting section
6 years ago
Tecnofin wrote:
I think we should move this setting to UI - https://github.com/nopSolutions/nopCommerce/issues/2325
Hi Andrei:
There are still many "hidden" settings. I don't find any reason not to move all of them to the UI, maybe some to Advance Mode in their corresponding setting or to a Miscellaneous Setting section


Hi Guys

i totally agree with moving to UI as many users don't know such hidden setting and they stuck as some points. even sometime developer like us also don't know that such settings is available.
6 years ago
Hi,
glad someone is talking about this issue so i can enter my question here.
After locating the setting to use richeditor i'm facing a new issue when sending a campaign mail.

In my template i define a specific URL href="http://%Store.URL%/About-us"  

This url gives following link after sending it as a test mail:   http//www.mystore.be//about-us

So the URL is not usable anymore.

I've tried to do the same with a message template (Order confirmation, etc...) and here the URL stays the same as in my original html template.

I've been struggling for hours all ready and can't find any solution.
Hoping someone can help me, we've upgraded to nop 3.9 a few days ago.

Thx!
6 years ago
bart.m84 wrote:
Hi,
glad someone is talking about this issue so i can enter my question here.
After locating the setting to use richeditor i'm facing a new issue when sending a campaign mail.

In my template i define a specific URL href="http://%Store.URL%/About-us"  

This url gives following link after sending it as a test mail:   http//www.mystore.be//about-us

So the URL is not usable anymore.

I've tried to do the same with a message template (Order confirmation, etc...) and here the URL stays the same as in my original html template.

I've been struggling for hours all ready and can't find any solution.
Hoping someone can help me, we've upgraded to nop 3.9 a few days ago.

Thx!



Remove the "/" from href="http://%Store.URL%/About-us" and keep it like href="http://%Store.URL%About-us"

the "/" is comming from %Store.URL% bcoz your store will have "/" at end of the store url

you can verify it by go to admin -> configuration -> store and edit the store and your will find the store url will be like "www.mystore.be/" so one "/" is already there so it added another "/" and it show two time "/"

so i recommend to keep the store url as it is and remove the "/" from message template.

as if you remove the "/" from store url in store/edit then "Keep Alive" task will stop working as it required "/" at end of store url.
6 years ago
HI Vipul,

You are correct!
Wow, such a simple fix...
Never tought of looking at that.
Thx for your quick reply!
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.