R2i DotNetNuke® Forum

R2i wants you to have the opportunity to ask questions, post reviews, help others or just rant and rave about DotNetNuke® or any of the R2i Modules and Skins. Our team spends hour upon hour, day after day, working on custom DotNetNuke® modules and services; please feel free to ask us anything.
 
NukeDK.ListX: Create XHTML and SEO Friendly Navigation, Sitemap and Breadcrumb
Last Post 01 Jan 1900 05:00 AM by . 5 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages Informative
contactdpUser is Offline
Basic Member
Basic Member
Posts:475

--
27 Sep 2007 05:40 PM  
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<br>R2integrated
dschaeningUser is Offline
New Member
New Member
Posts:18

--
27 Sep 2007 09:16 PM  
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?


lkileyUser is Offline
New Member
New Member
Posts:7

--
08 Jul 2008 04:51 PM  
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.


lkileyUser is Offline
New Member
New Member
Posts:7

--
08 Jul 2008 06:35 PM  
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


mrwebslingerUser is Offline
Basic Member
Basic Member
Posts:357

--
11 Oct 2008 07:23 AM  
Anyone come up with a function to create the Human Friendly urls? Example, www.mysite.com/gallery.aspx


adski74User is Offline
New Member
New Member
Posts:28

--
10 Dec 2008 02:56 AM  
<div class='NTForums_Quote'>Posted By mrwebslinger on 10/11/2008 2:23 AM

Anyone come up with a function to create the Human Friendly urls? Example, www.mysite.com/gallery.aspx</div>

I have converted this to the new version of ListX (OpenWebStudio) & it now supports "HUMAN FRIENDLY" URL's.

OpenWebStudio is now FREE & you can get a FREE account at their website - http://www.openwebstudio.com

I have posted the new "HUMAN FRIENDLY" version here:

http://www.openwebstudio.com/Community/Forums/tabid/55/forumid/2/postid/22583/scope/posts/Default.aspx

Hope this helps!


You are not authorized to post a reply.

Active Forums 4.1
 

New York, NY • Baltimore, MD • Vienna, VA • St. Louis, MO • Seatle, WA • 410.327.0007 • info@R2Integrated.com

Bookmark & Share Bookmark and Share