Hosted By

Contact Me

Misc Links

OpenNTF BlogSphere LotusGeek CoComment Custom Button

Ads by Google

Welcome to keithstric.com!

I hope you find this site useful in some way or another. I strive to bring you all sorts of geeky information and solutions to your most frustrating of issues with the occasional rant on whatever topic, technical reviews and weblog. You'll also find many products that I've developed and make available for you to use however you like. So, grab a cup of coffee, sit down and visit for a while.

« More Tweaks to keithstric.com | Home Page| keithstric.com BlogSphere Theme available for download »

Last Tweak to keithstric.com for today...

12/10/2009 2:53 PM By Keith Strickland

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


Post A Comment

:-D:-o:-p:-(:-):-\:-|:angry::cool::cry::dontknow::emb::hairout::laugh::rolleyes::whew:;-)

Subscribe to keithstric.com

OpenNTF

Disclaimer

The opinions and ideas posted on keithstric.com are not necessarily the opinions and ideas of my employer. The solutions, techniques and code provided here are not guaranteed or warranted in any way and are free for you to use at your own risk.