Copied to clipboard

Flag this post as spam?

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


  • Eric 2 posts 22 karma points
    Jul 07, 2011 @ 11:49
    Eric
    0

    Custom/new section pagetitle undefined

    Hi ,

    I have succesfully mad a custom section in Umbraco using THIS guide from Tim's blog.
    However when i open the custom section in my browser the page title says :

    undefined - Umbraco CMS - www.mydomain.nl

    and also the title from the container for my custom tree will only show the name of the last section i have visted before ik navigate to my custom section.

    Do you guys have any idea how to fix this?
    I allready looked in the databasetable umbracoAppTree if the treeAlias and treeTitle where set and they where so, i'm kind of lost on this one.

    Kind regards ,

    Eric

  • Tim 1193 posts 2655 karma points c-trib
    Jul 07, 2011 @ 18:17
    Tim
    0

    Yes! You need to add an item into the /umbraco/config/lang/xx.xml where xx is the language that you're using in the back office. You need to find the par of the file for sections: <area alias="sections"> and add a new key underneath it using the alias for the key. That will sort out the naming problem.

    Can you post a screenshot of the naming issue (or a more detailed description), I'm not sure what you mean on that one?

  • Bjarne Fyrstenborg 1182 posts 3441 karma points MVP 4x c-trib
    Jul 07, 2011 @ 18:42
    Bjarne Fyrstenborg
    0

    Hi Eric

    I have used this solution when I create a custom section: http://our.umbraco.org/forum/developers/api-questions/9956-Getting-undefined-in-the-title-for-a-custom-developed-section-(version-41)?p=1 where Matt writes that you can increase version number by 1 in App_Data and in config/ClientDependency.config file.

    Bjarne

  • Eric 2 posts 22 karma points
    Jul 08, 2011 @ 09:21
    Eric
    0

    Hi ,

    Thanks for your quick reply, i have finally resolved the problem:

    I did the following steps:

    1. add the key in /umbraco/config/lang/en.xml  with as alias the treeAlias key from the database
    2. go to the app_data folder and remove the clientDependency folder
    3. ctrl + f5 for refreshing the cache from the browser and page

    @Tim: here is the screenshot is posted 

     

    @bjarne: Remove client dependency folder will prevent changing the version number, it will be automaticly rebuild when you refresh the page

    Kind regards,

    Eric

     

     

  • Bjarne Fyrstenborg 1182 posts 3441 karma points MVP 4x c-trib
    Jul 09, 2011 @ 00:01
    Bjarne Fyrstenborg
    0

    Hi Eric

    I'm glad you resolved the problem..
    I had a project where I only increased version number by 1 in App_Data and in config/ClientDependency.config file, which fixed the problem with the undefined title... I think I changed it from 1 to 2..

    Bjarne


  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies