Last Tweak to keithstric.com for today…

OK, I found one last issue. On the Downloads page/view, the comments link pointed to /d6plinks/ instead of /downloads/. So, I modified the “RenderEngine.Tags” script library, “TAG_BSCommentsURL” function to the following…

Function TAG_BSCommentsURL(blogDoc As NotesDocument,cfgdoc As notesdocument,debuglevel As Integer)
	On Error Goto LogError
	If DebugLevel > 3 Then Call LogEvent("Process Tag: BSCommentsURL",0,Nothing)

	If blogDoc.Form(0) = "content_Download" Then
		TAG_BSCommentsURL = cfgDoc.cfg_Basic_HomeURL(0) + "/downloads/" + blogDoc.PermaLink(0) + "#Comments"
	Else
		TAG_BSCommentsURL = cfgDoc.cfg_Basic_HomeURL(0) + "/d6plinks/" + blogDoc.PermaLink(0) +"#Comments"	
	End If

	Exit Function
logerror:
	Call LogError
	TAG_BSCommentsURL = "TAG ERROR : Check Debug Logs"	

End Function

The change here is that I just check if the form being processed is a download form, if so I use /downloads/ instead of /d6plinks/, and that’s it

Share This: