Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

The best choice for your web site host, email hosting, and domain registration.
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
OnyakTech
 


  Sponsors  

Meet Our Sponsors

Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Help Module [Le...  Is this a bug for Help module?
Previous Previous
 
Next Next
New Post 7/16/2006 3:12 AM
User is offline Eric Peng
364 posts
sina101.com
8th Ranked




Is this a bug for Help module? 

I am trying to use help module now. But I found that I can move the category order. I can see the "View Order:"

and it's help said : Click the up or down arrows to move the item's view order. I didn't see any arrows within the page. Is this a bug of ver 4.3.2? Or I am missing something else? How can I fix this issue?

 
New Post 7/17/2006 7:02 PM
User is offline Philip Beadle
1160 posts
www.philipbeadle.net
6th Ranked








Re: Is this a bug for Help module? 

There is a bug in 2.0.4 of the Help module where it checks where you can move the items to.  For a quick fix run this in the SQL window.

ALTER PROCEDURE {databaseOwner}[{objectQualifier}Help_ListCategoryActiveByParent]

@ModuleID int,
@ParentID int
 
AS
SELECT   [CategoryID],
   [CategoryGUID],
   [Name],
   [Description],
   [Image],
   [KeyWords],
   [ModuleID],
   [Order],
   [Level],
   [Parent],
   [Visible],
   [Deleted]

FROM   {databaseOwner}{objectQualifier}Help_Category

WHERE  [Parent] = @ModuleID AND [ModuleID] = @ParentID
AND   [Deleted] <> 1
AND   [Visible] <> 0

ORDER BY [Level] ASC,
   [Parent] ASC,
   [Order] ASC
   
GO


 


Philip Beadle (DNN Core Team)
My Blog
My DNN Blog
TDD DNN Module Template
 
New Post 7/18/2006 2:39 AM
User is offline Eric Peng
364 posts
sina101.com
8th Ranked




Re: Is this a bug for Help module? 

I run this script in the SQL window, but I got some error message. I used DotNetNuke 4.3.2. Can you help me?

When I click Execute directly, I got "There is an error in your query!"

When I check

"System.Data.SqlClient.SqlException: near 'GO' is incorrect。 at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) ALTER PROCEDURE dbo.[Help_ListCategoryActiveByParent] @ModuleID int, @ParentID int AS SELECT [CategoryID], [CategoryGUID], [Name], [Description], [Image], [KeyWords], [ModuleID], [Order], [Level], [Parent], [Visible], [Deleted] FROM dbo.Help_Category WHERE [Parent] = @ModuleID AND [ModuleID] = @ParentID AND [Deleted] <> 1 AND [Visible] <> 0 ORDER BY [Level] ASC, [Parent] ASC, [Order] ASC GO"
 
New Post 7/18/2006 2:42 AM
User is offline Eric Peng
364 posts
sina101.com
8th Ranked




Re: Is this a bug for Help module? 

Thanks for your help, I have solved this problem when I remove the last GO in the script. It work well now.

I used script remove the GO here.

ALTER PROCEDURE {databaseOwner}[{objectQualifier}Help_ListCategoryActiveByParent]

@ModuleID int,
@ParentID int
 
AS
SELECT   [CategoryID],
   [CategoryGUID],
   [Name],
   [Description],
   [Image],
   [KeyWords],
   [ModuleID],
   [Order],
   [Level],
   [Parent],
   [Visible],
   [Deleted]

FROM   {databaseOwner}{objectQualifier}Help_Category

WHERE  [Parent] = @ModuleID AND [ModuleID] = @ParentID
AND   [Deleted] <> 1
AND   [Visible] <> 0

ORDER BY [Level] ASC,
   [Parent] ASC,
   [Order] ASC

 

 
New Post 7/24/2006 4:45 AM
User is offline Philip Beadle
1160 posts
www.philipbeadle.net
6th Ranked








Re: Is this a bug for Help module? 
With the SQL control you need to add 2 carriage returns after the GO.  This applies to any script executed by DNN.
Philip Beadle (DNN Core Team)
My Blog
My DNN Blog
TDD DNN Module Template
 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Help Module [Le...  Is this a bug for Help module?
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Glanton: Enterprise Intranet Specialists Using DNN
Glanton Solutions are a premier provider of sevices for large corporates lloking to outsource Intranet sites.
www.glanton.com
Jetkey Smart Map
Smart Map is an AJAX powered Google Map module that displays driving directions, proximity search results and data from your own databases. Smart Map reads GPX (GPS data) files, GeoRSS feeds, and KML data. You can pass any querystring parameter to Smart Map and into your own custom queries to control what data displays on the map.
smartmap.jetkey.com
DNNSpired.com
Inspired to extend DotNetNuke®, everyday.
www.DNNSpired.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP