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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Whats New? make exeptionsWhats New? make exeptions
Previous
 
Next
New Post
11/20/2009 3:05 AM
 

Hello,

I would like to know which SQL table or functiun use What's New ? 1.0 module in DNN 5.1.2.

We would like to disallow some modules and tabs to be inserted in the What's new modules.

In DNN 4.4 and What's NEw 3.3 we used to update the GetSearchItems functiun, but it doesn't not seems to work with this same table in the latest What's new module

Regards

 
New Post
11/20/2009 4:01 AM
 

The module hasn't changed and still uses search index (though not SQL tables directly, but business layer API)


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/20/2009 4:14 AM
 

Throught business API ? That is to say i can't make exceptions based on Module and Tab ID ?

In 4.4 it was just a SQL functiun, here is what we did

set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
GO

ALTER PROCEDURE [dbo].[GetSearchItems]
@PortalId int,
@TabId int,
@ModuleId int

AS
SELECT distinct si.*,
       'AuthorName' = u.FirstName + ' ' + u.LastName,
       t.TabId
FROM   dbo.SearchItem si
    LEFT OUTER JOIN dbo.Users u ON si.Author = u.UserID
    INNER JOIN dbo.Modules m ON si.ModuleId = m.ModuleID
    INNER JOIN dbo.TabModules tm ON m.ModuleId = tm.ModuleID
    INNER JOIN dbo.Tabs t ON tm.TabID = t.TabID
    INNER JOIN dbo.Portals p ON t.PortalID = p.PortalID
WHERE (p.PortalId = @PortalId or @PortalId is null)
    AND   (t.TabId = @TabId or @TabId is null)
    AND   (t.TabId <> 102 and t.TabId <> 159 and t.TabId <> 120 and t.TabId <> 116 and t.TabId <> 99 and t.TabId <> 134 and t.TabId <> 60 and t.TabId <> 109 and t.TabId <> 203)
    AND   (m.ModuleId = @ModuleId or @ModuleId is null)
    AND   (m.ModuleDefId = 119 or m.ModuleDefId = 95 or m.ModuleDefId = 96 or m.ModuleDefId = 97)
    AND   (si.SearchKey NOT LIKE '%-%')
ORDER BY PubDate DESC

 
New Post
11/20/2009 4:57 AM
 

This should still work, but it might be easier using free USearchModules module from EckTwo (available for download at www.dnnportal.de).

Besides, you need to clear the search tables, this is not covered by re-index option in Host :: Search Admin.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/23/2009 6:41 AM
 

Hello,

I make different filter option based on the PROCEDURE [dbo].[GetSearchItems] and each times the result are the same, as if it's not taking care of the filters wrote in the procedure.

Any Idea ?

Are you sure that GetSearchItems is still used ?

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Whats New? make exeptionsWhats New? make exeptions


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