When using the DotNetNuke 4.x search and no results are returned (search didn’t find content that matched the search criteria), this code will display “No Search Results Found” instead of the displaying an empty search results page.
We’ve also modified the search result item layout to make the page easier to read.
NOTE: DNN 4.x ONLY, not compatible with DNN 5.x.
- Download our custom SearchResults.aspx file.
- Create a backup copy of you current file
DNNROOT\Admin\Search\SearchResults.aspx
- Overwrite existing file with the downloaded file
DNNROOT\Admin\Search\SearchResults.aspx
- Give it a try!
We’ve noticed that most or our clients find the default DNN calendar font too small. That’s why we usually add our own Events Theme for use with our custom DNN skins. You can download it for free and see if it works for you.
Leave a comment if you have any suggestions for improvement or just want to say how much you liked it.
Installation Instructions Read more…
This tutorial describes one of the many ways to add a Flash Video (.flv file) with video controller to the Text/HTML Module in DNN.
We will use 5 files for this tutorial. Read more…
This is a very simple (and portable) SQL statement that will list the email addresses of all members of a DNN security role by the security role name.
This is useful if you use 3rd party newsletter or email listserv software and need the email addresses of all members of a DNN security role.
SELECT u.Email FROM Users u, UserRoles ur, Roles r
WHERE r.RoleID = ur.RoleID AND
ur.UserID = u.UserID AND
r.RoleName = 'Registered Users'
You can replace 'Registered Users' with any Security Role name.
This can be executed from the Host>SQL page or using the Microsoft SQL Server Management Studio.
Question: How can I add an HTML <form></form> element to the Text/HTML module in DNN?
Problem: When editors add a <form></form> tag to the Source of the Text/HTML module, the <form></form> tags are removed after they click the Update link on the “Edit Text/HTML” form.
Cause: ASP.NET only allows one form per page and by default creates its own form just inside the <body></body> tags.
Solution: Here’s an example form we will add to our Text/HTML module.
Read more…