In order to do the search-engine-safe URLs, CFWebstore puts a Base Href into the page. However, if you want to use anchor links on a page, these often are thrown off by the Base Href and won't work as a result.
CFWebstore helps out by also providing a variable that is automatically set to the URL of the page you are on: Request.CurrentURL. You can use this in the code anytime you need to create links referring to the current page. In the case of the anchors, we need to make sure the anchor links have this URL inserted in front of them. If you are using the anchors somewhere in the code, you can just insert this variable in front of them.
But what if you want to create something like a table of contents instead the content of a page? Since we can't use ColdFusion variables inside the page content (see related content below for more information on this) we just need to update the code that outputs the page content and have it insert the URL for us. The page content is output by the custometags/put_text.cfm file. So we just need to insert this line of code around line 37 of this file:
Now all the anchor links will have the full URL on them.