I have succesfully mad a custom section in Umbraco using THISguide 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.
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?
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
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..
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
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?
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
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
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
is working on a reply...