Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Luis Oliveira 21 posts 141 karma points
    Mar 22, 2020 @ 18:38
    Luis Oliveira
    0

    Hi guys

    I have publish website and i need change the title because have the name of the property edtior.

    Inside the Head code:

    The other pages also have the "Falinkspropertyeditir..."

    How i can change this to the current page name, without this in front of the name page.

    thanks Luis

  • Saif Obeidat 79 posts 296 karma points
    Mar 23, 2020 @ 09:12
    Saif Obeidat
    0

    If you are aiming to display your pages' titles, you need to have a master template so you can put in it the so it will be rendered to the children templates.

    <head>
     <title>@Model.Value("YourPropertyEditorAlias")</title>
    </head>
    
  • Luis Oliveira 21 posts 141 karma points
    Mar 23, 2020 @ 21:58
    Luis Oliveira
    0

    Hello Saif

    First of all thanks for your comment

    This is the line code as title inside the head code :

    Home - FaLinksPropertyEditor.Models.FaLink?.Link.Name

    and the master.cshtml:

    title>@Model.Name - @appSettings.BrandLogo.FirstOrDefault()?.Link.Name

    when i open the webpage i see this title instead the name of the page: Aperc Home

    br Luis

Please Sign in or register to post replies

Write your reply to:

Draft