Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Dnn 7 empty hrefs in search resultsDnn 7 empty hrefs in search results
Previous
 
Next
New Post
1/6/2015 1:11 PM
 

Hello! I have got some really strange problem: The search itself working nice, but for some reason some search items have no href value, i have checked thednn.searchResults.js file and found out that the data.documentUrl is also empty. 

Can anyone say, where i can find the code that generates the searchresults ajax page? Or is there some ready solution (i have searched for it, but was unable to find).

If my explanation looks too complicated you can try it for yourself: www.demibit.com enter "home" as a keyword and try to click the 3rd or 4th result... how can i fix it?

 
New Post
1/6/2015 10:06 PM
 
The results come from the API call to

http://www.demibit.com/DesktopModules...


Do you perhaps have a Page called Labels and Badges in DNN that is "disabled"?

Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
1/7/2015 3:12 AM
 
Yeah, that's correct, but the directory: DesktopModules/internalservices/API/searchService not exists, so i think it's the builtin routing which is redirecting to some service, but unfortunely i was unable to find it :(
 
New Post
1/7/2015 6:05 AM
 

Amlost, that page is visible to admins only, and actually this is the second thing i'll need to ask, why pages thet are visible to admins only appearing in search results? But it's not a big problem.

You can try this link: http://www.demibit.com/Search?Search=... the first search result is on the home page. but the href tag is empty.

For now i have figured out, that hrefs are empty, if the search results are pointing to the module content. Maybe i shoud edit the code which is generating these links, but i'm unable to find it's location in dnn files :(

 
New Post
1/7/2015 12:09 PM
 
none none wrote:
Yeah, that's correct, but the directory: DesktopModules/internalservices/API/searchService not exists, so i think it's the builtin routing which is redirecting to some service, but unfortunely i was unable to find it :(

 FYI you can find the source at \DNN Platform\DotNetNuke.Web\InternalServices\SearchServiceController.cs (API call's route to service name plus controller)


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Dnn 7 empty hrefs in search resultsDnn 7 empty hrefs in search results


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out