Fog Creek Software
Discussion Board




Knowledge Base
Documentation
Terry's Tips
Darren's Tips

Links and printversion

Question1: is there is an easy way to link to a word inside an article with the              a href='url#word'          tag. I didin't found this possibility in CD. I need it without editing the HTML source.

Question2: i want to do a printversion of a article (withou navigation) etc, but I don't want to use a extra template and copy the whole article. Any idea?

Best Regards

Raoul

Raoul
Thursday, December 18, 2003

q2. If you do layout with css this is very easy.  If you do table layout, I don't think you can do it.

q1. To link to a word in your article you need to surround the work with <a id="myWord">Here is the place</a>.  You link to this place with <a href="#myWord">Go To the place</a>

If you can't edit in the html, I don't know a way

joel goldstick
Thursday, December 18, 2003

On bookmarks (you'll really need to do it in HTML view)

http://discuss.fogcreek.com/CityDesk/default.asp?cmd=show&ixPost=7714&ixReplies=7

http://discuss.fogcreek.com/CityDesk/default.asp?cmd=show&ixPost=10353&ixReplies=5

http://discuss.fogcreek.com/CityDesk/default.asp?cmd=show&ixPost=1349&ixReplies=2

On print versions: ( you don't have copy your articles but you'll want to use a printer friendly template family - it's easy and just takes a few minutes to set up; once you set it up, it just works)

http://www.fogcreek.com/CityDesk/help/Creating_Templates/UsingTemplateFamilies.html

This is a site that does it in CityDesk:  http://www.greenmediatoolshed.org/training/)

tk
Thursday, December 18, 2003

On bookmarks: see link 2 of TK. You can do it in normal view.

Cheers

Patrick

Patrick Thomas
Thursday, December 18, 2003

If you don't really care what name the bookmark has, you could just define as many variables as you'll need for any one page (they can be reused on different pages):
bm1=<a name="bm1">&nbsp;</a>
bm2=<a name="bm2">&nbsp;</a>
etc

Insert the target anchor points using {$.bm1$} to replace a space near the point you want to bookmark.

Then you can link to them by just adding #bm1, #bm2, etc to the end of the url. There's a trick to this:

Highlight your link word and hit Ctrl-L to call up the CityDesk Create Link dialog. Paste in the magic name of the article containing your target (can be in the same or a different article), add #bm1 (or #bm2, etc) to the end of the magic name, and click Insert. Don't edit this link again, or it'll stuff up and you'll have to remove it and re-create it.

Darren Collins
Thursday, December 18, 2003

Just to clarify - you paste the magic name into the field that has 'http://' in it. Highlight the whole field, then hit Ctrl-V to paste.

Darren Collins
Thursday, December 18, 2003

thaks for all... good ideas, but i think for editors, which have no idea of html, it would be the best, if frog creek updates CD a little bit.

Raoul
Sunday, December 21, 2003

Raoul, Until CityDesk I liked to use bookmarks. But because CityDesk didn't provide for them, I just quit using them and found other ways to accomplish the same sort of things.

tk
Sunday, December 21, 2003

Raoul, I set up a print stylesheet and then linked to it in my article detail template. The template is set up so that the elements I don't want to print are marked with "display:none;"

In other words, if you've defined the elements in your template with ids -- such as the banner and nav -- in the print version of the stylesheet you can mark these elements so they don't print. No additional template family is needed.

For more information see "http://www.alistapart.com/articles/goingtoprint/"

Scott McDonald
Monday, December 22, 2003

*  Recent Topics

*  Fog Creek Home