Try Now
More in this section

Forums / Suggestions / Page title for ContentView Master Mode

Page title for ContentView Master Mode

5 posts, 0 answered
  1. SelAromDotNet
    SelAromDotNet avatar
    912 posts
    18 Jul 2012
    30 Oct 2008
    Link to this post
    I think it would be very helpful to offer the ability to dynamically set a page title for the ContentView (and derived controls) when it is in list (master) mode, for example an archive view for the blogs. you can look at a specific month, and see all its posts, but the page title still says "blog" (or whatever you set it).

    it would be better if you could apply the same dynamic title (replace, append) as you can in single item view to list view, where if you are viewing archive (or pages) the title will change to something like "blog archive - september 2008" or "blogs archive - page 2"

    that way we don't get a dozen pages in google for our archives with the same page title and description.
  2. Ivan
    Ivan avatar
    478 posts
    16 Jun 2015
    31 Oct 2008
    Link to this post
    Hi SelArom,

    I've added it to the feature request system and updated your Telerik points. Thank you for the nice idea.

    Sincerely yours,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Rob
    Rob avatar
    9 posts
    12 Jun 2008
    03 Mar 2009
    Link to this post
    has this feature been added?
  4. Georgi
    Georgi avatar
    3583 posts
    10 Oct 2016
    06 Mar 2009
    Link to this post
    Hello Rob,

    It is not added yet, but here is what I suggest you:
    1. Define a new meta field for your Blogs module. It will hold the page title for the current blog post.
    2. Create a class in the App_Code, which is inheriting from BlogPosts control.
    3. You have an access to the current item that is showed. Just get the metafield, and set the page title with this field's value.

    I hope this helps.

    Kind regards,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  5. SelAromDotNet
    SelAromDotNet avatar
    912 posts
    18 Jul 2012
    11 Mar 2009
    Link to this post
    i've implemented a simple solution for changing the title for the CategoryView that doesn't require inheriting from the BlogPosts control. Basically you just an external template and make the changes in the code-behind.

    more information is available on my blog post:

    this could probably be easily modified to change the title based on the archive date! hope this was helpful
Register for webinar
5 posts, 0 answered