Developer forum

Forum » CMS - Standard features » Title tags on Visual Editor Pages

Title tags on Visual Editor Pages

Mikkel Belchuke
Mikkel Belchuke
Reply

Hi.

If we add title tags to a page that uses the new Visual Editor, it does not seem to be added to the source code (like it normally does).

This is the Page Settings

This is the Source code

Usually, DW does this autmatically, but is there a way to activate it on pages that uses the Visual Editor?


Replies

 
Nicolai Pedersen
Reply

Is it Rapido template? Or custom template. It is in the template that something is off would be my guess.

 
Mikkel Belchuke
Mikkel Belchuke
Reply

Hi Nicolai. 

Thanks for your response

I found the issue. I guess that Dynamicweb before hand, used to dynamically add the title to the tag if it existed. Now you have to add @Model.Title for it to work with ViewModel. 

So this was before:

 <title>Härkila</title> and this would be overritten by the the field in the page settings.

 <title>@Model.Title</title> use this one if creating a custom master page in ViewModel (This is also default in Rapido). 

 

 

You must be logged in to post in the forum