Join our DNN Community    (Newsletter, Tips, Tricks and Forums for DNN Skins & Modules)

 


 
Microsoft Gold Certified Partner - DNN Benefactor

DotNetNuke Powered! 


Thursday, November 20, 2008 Register · Login · Contact · Search:  
Company Solutions Portfolio Contact
Forums
Samples and other shared info.

Subject: NukeDK.ListX: Create XHTML and SEO Friendly Navigation, Sitemap and Breadcrumb

You are not authorized to post a reply.   
Author Messages
contactdp
Superweight
Posts:475

09/27/2007 12:40 PM Alert 
Product: NukeDK.Listx
Topic: Create XHTML and SEO Friendly Navigation, Sitemap and Breadcrumb

NukeDk.ListX can work together with DNN pages to create useful site elements like Navigation, a Sitemap or Breadcrumbs, to name a few. DNN Uses a Tabs Table to store all of its pages. It then refers to the page with a tab id. That is why you see typical DNN URL Ends with /Tabid/{tab id}/Default.aspx. As most NukeDk.ListX users know, it is very easy to use NukeDk.ListX to query the table and display the records in your own html.


Use the Attached PDF to work with NukeDK.ListX Navigation

Attachment: CreateNukeDKNav_v2.pdf


Durga Prasad(DP) | Senior Web Engineer
R2integrated
dschaening
Lightweight
Posts:18

09/27/2007 4:16 PM Alert 
I really appreciate this, and I have it working fine. Just working through the styling now.

Still...I would pay extra to have the interface that is demo'd in the products area. How can I get that?
lkiley
Featherweight
Posts:6

07/08/2008 11:51 AM Alert 
Thanks for taking the time to put this together. This little plug & play listx sitemap is perfect and saved me a lot of time. I do have one small problem though that I could use your help on. This Site Map renders http://www.mydomain.com/tabid/####/Default.aspx and all of my links throughout the site include the TabPath in the url E.G. http://www.mydomain.com/TabPath/TabId/####/Default.aspx.

My concern is that search engines will spider and index the new urls and treat the pages like duplicate content. I would like to include the TabPath in the SiteMap links so I can keep all of the links the same throughout the site. Can you help me alter the rewrite function to include the TabPath please.
lkiley
Featherweight
Posts:6

07/08/2008 1:35 PM Alert 
For anyone with the same problem, I came up with this fix. Not sure that it's the best solution, but it works. You'll need to alter the dbo.ReWriteUrl function like this:

ALTER FUNCTION [dbo].[ReWriteURL](@STRINGIN VARCHAR(256),@TABID int)
RETURNS VARCHAR(256)
BEGIN
Declare @url varchar(256), @folder varchar(256), @file varchar(256), @pid int
if (dbo.ISNUMBER(@STRINGIN,len(@STRINGIN))=1 and @STRINGIN<>'')
BEGIN
DECLARE @TabPath varchar(100)
SET @TabPath = (SELECT TabPath FROM dbo.Tabs WHERE TabID = @TabID) SET @TabPath = REPLACE(@TabPath, '//', '/')
set @url = '//[ALIAS,System]' + @TabPath + '/tabid/'+@STRINGIN+'/Default.aspx'
END
else if (Substring(@STRINGIN,0,8)='FileiD=' and @STRINGIN<>'')
Begin
select @Folder = Folder from Files where FileID=SUBSTRING(@STRINGIN, 8, LEN(@STRINGIN))
select @file = fileName from Files where FileID=SUBSTRING(@STRINGIN, 8, LEN(@STRINGIN))
select @pid = PortalID from Files where FileID=SUBSTRING(@STRINGIN, 8, LEN(@STRINGIN))
set @url = '/Portals/'+convert(varchar(10),@pid)+'/'+@Folder+@file
End
else if (dbo.ISNUMBER(@STRINGIN,len(@STRINGIN))=0 and @STRINGIN<>'')
set @url = @STRINGIN
else
SET @TabPath = (SELECT TabPath FROM dbo.Tabs WHERE TabID = @TabID) SET @TabPath = REPLACE(@TabPath, '//', '/')
set @url = '//[ALIAS,System]' + @TabPath + '/tabid/'+convert(varchar(10),@TABID)+'/Default.aspx'
return @url
END
mrwebslinger
Superweight
Posts:357

10/11/2008 2:23 AM Alert 
Anyone come up with a function to create the Human Friendly urls? Example, www.mysite.com/gallery.aspx
You are not authorized to post a reply.
Forums > Bi4ce.Modules.ListX > Samples and other shared info. > NukeDK.ListX: Create XHTML and SEO Friendly Navigation, Sitemap and Breadcrumb



ActiveForums 3.6
Latest Post
 
At R2integrated (formerly Bi4ce), we take support seriously.  That's why we support our customers and DNN community with daily monitoring from our experienced engineering team.  We ask that the first step taken is to read the relevant documentation and support forums prior to submitting any questions that may already be available or have been answered.  We ask that you review the documentation that we provide for our products before posting a question.

The Forums are for our customers to chat, exchange ideas and strategies, and submit feedback.  Please be sure to perform keyword searches for previous related forum responses.

To be helpful when submitting a new item, please include the following: 
  1. DNN Version
  2. Module Version
  3. Admin Log Viewer Information
  4. Environment detail: Operating system, .NET framework version, database and version, IIS version, Browser version (if appropriate)
We always try to respond quickly and monitor the forums daily during business hours (EST).  Occasionally, requests for a specific project requirement may not apply for the free support offered. For project specific support please submit via our Information Request form.

Thank you for using our Forums.

Click here to register for the Forums
 
© 2008 by R2integrated (formerly Bi4ce) | DNN® is a registered trademark of DotNetNuke Corporation