Version 06.00.07 - 06.01.02
Search
- Full Search Integration with new DNN 7 Search
- Each template/view can modify how the content is presented to the search using CustomizeSearch
- Each template/view can also specify alternate URLs for each entity (for example to a details-view)
- Multi-lingual tested
- Special property
InstancePurposeadded so all events (for example preparing data) know that it's preparing data for search. This helps because in search-mode, objects like theRequestare missing
Data Improvements
- App.Data now delivers all data of this app. so App.Data["Tag"] would deliver all entities of type Tag
- This can easily be combined with common pipelines, like these examples
var categories = CreateSource<ValueSort>(App.Data["Category"]);
or
// Sort by FullName
var sortedCats = CreateSource<ValueSort>(App.Data["Category"]);
sortedCats.Attributes = "Name";
Data.In.Add("Categories", sortedCats["Default"]);
- The new DataSource DataSources.App
CreateSource<Eav.DataSources.App>()can be used to access data from another App or zone - The new DataSource RelationshipFilter helps find things that have an assigned entity (like a tag, category)
// Just add the items which have the relationship to the category in the URL
var qsOfCat = CreateSource<RelationshipFilter>(App.Data["QandA"]);
qsOfCat.Relationship = "Categories";
qsOfCat.Filter = "[QueryString:Category]";
Data.In.Add("QandA", qsOfCat["Default"]);
- CustomizeData() event added so that the template/view can change data available to the template before it's loaded (or even if it's not loaded, for example for search)
public override void CustomizeData()
{
// new features in 6.1 - the App DataSource CreateSource<App> and also the RelationshipFilter
// Just add the items which have the relationship to the category in the URL
var qsOfCat = CreateSource<RelationshipFilter>(App.Data["QandA"]);
qsOfCat.Relationship = "Categories";
qsOfCat.Filter = "[QueryString:Category]";
Data.In.Add("QandA", qsOfCat["Default"]);
}
Installation Experience
- The installation now has fewer steps...
- If you have not configured anything in the content, it will suggest to auto-install some templates
- if you have not configured any apps, it will suggest to auto-install some apps
Various improvements and bug fixes
- Toolbar now shows draft-items with a red edit button
- JS API had some fixes for generating the toolbars
- better caching, faster data-import
- linked files/pages using the File:47 syntax can now add parameters. This is especially usefull for image-resizing or jumping to an anchor on a page - like this
File:720?w=…&h=333# - ...and much more