Need help in advanced search function
Hi,
Our client needs these kind of advanced search for their Recipe section. can u please help me how to configure this in sitefinity?
Is there any module available for these kind of search or other similar search also ok for us to implement and satisfy client needs?
Thanks & Regards,
Venkatesh
Should be easy
1) Get all items in those categories (this is a snippit using "Images" content type)
List<Telerik.Sitefinity.Libraries.Model.Image> images =
new
List<Telerik.Sitefinity.Libraries.Model.Image>();
foreach
(var cat
in
_categories)
images.AddRange(App.WorkWith()
.Images()
.Where(
ci => ci.GetValue<IList<Guid>>(
"Category"
).Contains(cat) &&
ci.Status == Telerik.Sitefinity.GenericContent.Model.ContentLifecycleStatus.Live &&
ci.Visible ==
true
)
.Get());
imagesListView.DataSource = images.OrderBy(x => x.Title);
Steve,
Thanks for your reply. we are going to do our site using Sitefinity 5.0. Whether it will work in latest version??
Can you please help me where i need to implement this code?
Thanks & Regards,
Venkatesh
Steve,
Can u please help me to solve this issue?? let me know where i want to embedd this code??
Thanks & Regards,
Venkatesh