Sidebar glitch

Oops. When I put an address for a link to protophoto in the URL of "Adding Pictures to a Blog" something goes haywire in the link to this note in the sidebar. Completed!
Notes in the sidebar undergo a test to see if they are external--link to the URL (^Get(URL)), or internal --(link to the permalink href in the archive). The original note had a link to protophoto that was defined in the URL attribute, so now the sidebar links to that url, not the permalink of the note.
How to fix? Do I need to differentiate between an internal and external link first?
Maybe I should follow through and make all sidebar links to the page of the note since I am exporting all the notes to individual pages anyway.
- **Solution: Separate URL's for Links and for Pictures.
Added a new attribute: PictureURL
This accompanies the attribute PictureFile
Changed the trainItem.html template where the test for pictures occurs:
New conditional added to trainTemplate and trainItem (Level 1 and Level 2) templates:
^if(PictureFile)
a href="^Get(PictureURL)....
--- Ryan Holcomb 2005 --
|