The most recent tips go on top.
Thursday, December 15, 2005
Some of these appear in more than one category and it's probably easier to use the search.
.cty Downloads
New Free CityDesk Utility that allows me to essentially add as many extra fields (in a manner of speaking) as I need to any article
PHP templating in CityDesk: a brief tutorial from Telepark. Here is a brief tutorial I (Patrick Thomas) wrote up on how one can use CityDesk for PHP development using the TinyButStrong (PHP) templating engine. a zip file.
Word-2-CityDesk: smart transfer utility released from Telepark removed MS Word formatting
PHP templating in CityDesk: a brief tutorial
Word-2-CityDesk: smart transfer utility released
New Contributer Edition + VANTAA Wizard bundle - a free download
Where I can find free CityDesk Database Scripter utility on Telepark website
Using CD to Generate Photo Slideshow download
Simple DHTML Treeview download
Download: a photo gallery slide show if you can do PHP Here is the download page: CityDesk Gallery Maker Thanks to Roberto
Here is the HTML DBScript download.
Program for adding the results of database queries to .html files. It processes the files before they are published so that the .html is still static. It's available for free.
John Conner's "Captioned Image Creator" download
Keyword Picker for CityDesk Here is the download page.
How to Create Breadcrumbs included a .cty download from FogCreek
CityDesk Template Downloads from Telepark
Downloads: Doing HTML Help With CityDesk Template. Here is the article that you should read first.
British Spelling Dictionaries. Download a ZIP file containing the British dictionaries for the CityDesk spell checker.
Download for managing previous / next article functionality using a bit of php scripting
CityDesk Import-Tool for download
How to plug in content from other web app's such as free blog templates
Site import utility from Telepark
PHP discussion forum for CityDesk by John is very much like the FogCreek forums
Adding Navigation Buttons download and howto comes from this discussion topic
CityDesk FileBackup program John wrote (discuss topic) here is the download.
Download - [XHTML with CityDesk] RTidy/CityDesk Released
I have released the Ruby script for running Tidy on a locally published version of the website. It requires some configuration, so if you decide to try this -- PLEASE read the help file.
I've provided it as a Windows executable. Your preview program will need to have "-G %1" as the parameters to get the GUI output.
http://www.halostatue.ca/ruby/RTidyCD.html
Feel free to email me if you have any questions.
-austinAustin Ziegler
Thursday, October 31, 2002
Web log templage from CityDesk
Bill's CityDesk downloads: You'd better read this too from the forum and in CityDesk News.
A Weblog Template With Comments by John. You'll need PHP and MySQL but even I was able to make it work.
Dead simple weblog template from John
Download for a stylesheet swicthing CityDesk site from Fog Creek. Here is the CityDesk news article about it.
Job Posting .cty download from FogCreek and a little bit about it from CityDesk News
Download a copy of the CityDesk site Fog Creek uses to generate all their help files (705KB Zip). Here are a few paragraphs about it in CityDesk News.
A free calendar month widget for CityDesk by John
Free: CD Site Change notification utility from Patrick. "Developed for our internal use we would like to share 'Notifier 1.0' with you fellow CD users. A utility for automatic email notification on changes to CityDesk-managed websites. Connects to your FTP server (of your website), retrieves the citydesk.xml file, checks differences to the last version retrieved, sends emails to recipients with information on changes that occured."
Download of a Non Profit CityDesk Template: NonProfit.cty by Darren
More on Navigating with Java script. The Java script that allows you to generate breadcrumb type links. .cty Download - Using Java script to manage navigation a zip file (this is the new July 7, 2002 file)- The archive contains the naviation system (in top of each page with links to folders higher up) and some dynamic form. I guess good use of foreach. I've quickly translated it to English. Hope it is useful. Best regards, Adriaan van den Brand.
.cty Download - Using Java script to manage navigation a zip file - The archive contains the naviation system (in top of each page with links to folders higher up) and some dynamic form. I guess good use of foreach. I've quickly translated it to English. Hope it is useful. Best regards, Adriaan van den Brand
Using Javascript and variables. I don't understand this yet. Here is the discussion. And here is Stu's .cty download.
Brian's picture gallery templates not exactly a download but nice anyway
Download and documentation for an employee masterfile excellent, thanks to Richard
CityDesk Add-on Utility from Mike and his documentation.
http://bstpierre.org/Articles/fog0000000070.html
Development methods from Kevin and .cty download
An example legal office .cty file that you download by Eric
Add a discussion forum to your CityDesk site Jonathan Goodyear (editor@angrycoder.com) put together a demo CityDesk project that implements a discussion forum. It requires that your website support Active Server Pages (ASP), and supports both MSAccess and SQL Server to store the comment posts (installation instructions are included).
Can you add a hyperlink to the Author field? This includes a link to an example .cty file you can download. Did you know you can put a variable in the author field?
Managing images in scripts and putting images in "Teaser" and other extra fields. As in pictures for a real estate site(Yes, you can.) There is even a example .cty file of a real estate site you can down load. Here is the download. And here is how http://www.lakemonticelloproperties.com came out and the discussion about how Deb did it.
Ken McKinney's calendar generating program works with CityDesk
A calendar download Ctycalendar - Ctycalendar runs as a post publishing step within City Desk to create a calendar from a specially formatted list which can be built with city script. Here is the forum thread
How to do Calendar style output and a download that helps (mentions pearl javascript and vb)
Scripts and variables
Using the filedDate and modifiedDate variables for the unique ID
Create google site map with CityDesk
New Free CityDesk Utility that allows me to essentially add as many extra fields (in a manner of speaking) as I need to any article
Use Next Loop to Generate Grid of Thumbnails?
PHP templating in CityDesk: a brief tutorial from Telepark. Here is a brief tutorial I (Patrick Thomas) wrote up on how one can use CityDesk for PHP development using the TinyButStrong (PHP) templating engine. a zip file.
PHP templating in CityDesk: a brief tutorial
CityDesk "keyword" blocks PHP ??
keywordContains only accepts a literal string? Right, can't use a variable or extra field.
I want to change the color of a cell in my navigation if I happen to be on that page.
Department has a bunch of PDF documents, and would like to put them on the intranet. Is there a way to create a script or article that can show a "table of contents" or list with links to open them?
You cannot currently have article variables in the expression part of CityScript - Embedding Error with if nonblank x.sidebar
Changing field names in properties/extras pages of articles
CityScript in Javascript to produce a slide show
Is there a simple way for me to generate a list of links that doesn't link the current article, but still prints its title?
Unfortunately at this point you can't use a variable as part of the condition. It has to be a hardcoded value.
Using articles not published in a published site
I would like to create an hierarchical menu with cityscript
There are many of the posts about this subject
How to List Index Files in Several Folders
"before" "between" and "after" in loops
How to do a select form with CityScript?
ASP, conditional CSS, City Desk, voila See how Deb did it here.
User selected folders - helping users select a batch of links using variables
Use "even" to select the second article. This is a nice trick from Dave.
How to next forEach's to avoid infinite loops
Use a foreach "this article" and "else" to highlight a menu link and maybe much more. Thanks to Jørgen
Using "x.variable" verses using plain ".variable" in a script (long discussion to get to the answer)
How to count the number of articles selected in a foreach loop (with a tiny bit of JavaScript)
Users assume that the article name IS the headline and the bahavior is not always obvious includes comments from Joel
Count number of foreach matches?
Setting color for link to active page in a for Each loop
Include an article in a template where this included article contains a body tag, but I don't want the article published on its own
Recursive Table of Contents Generation using ASP
How to Create Breadcrumbs included a .cty download from FogCreek
Show first X articles with nonblank Y field? Use keywords
More on doing breadcurmb navigation
I have a chunk of code that displays a sidebar, but I only want it to display if there is something in the sidebar field.
How do you use variables? a breathtaking list of ways to use them and suggestions for CityDesk
Sam writes about building a site
Script: How to hide headline for certain articles?
publishing blog archives in chunks
A scripting tag that will return the number of articles like.. {$ getcount (condition) $}
Group related items together in boxes on web pages
Download a copy of the CityDesk site Fog Creek uses to generate all their help files (705KB Zip). Here are a few paragraphs about it in CityDesk News.
A free calendar month widget for CityDesk by John
The built-in editor in CityDesk is not going to do a very good job of editing files with PHP code embedded. I suggest using the File Types dialog to change the file type for php to use a text editor instead of the built in editor. -Joel
Download of a Non Profit CityDesk Template: NonProfit.cty by Darren
CityDesk article header "<!-- Published by Fog Creek Software CityDesk nnnnnnnnnnnnnnnn5/nnn -->" interfering with PHP and what can be done about it.
More on Navigating with Java script. The Java script that allows you to generate breadcrumb type links. .cty Download - Using Java script to manage navigation a zip file (this is the new July 7, 2002 file)- The archive contains the naviation system (in top of each page with links to folders higher up) and some dynamic form. I guess good use of foreach. I've quickly translated it to English. Hope it is useful. Best regards, Adriaan van den Brand.
Managing code fragments. Daren explains his method for working around the practically unusable Variable editor to manage little fragments of content that are reused around his site.
Two way to prevent or manage link rot
BUG: Crash if unbalanced {} This is the first thing to check if you crash during a publish or preview.
.cty Download - Using Java script to manage navigation a zip file - The archive contains the naviation system (in top of each page with links to folders higher up) and some dynamic form. I guess good use of foreach. I've quickly translated it to English. Hope it is useful. Best regards, Adriaan van den Brand
How the "Valley of the Geeks" online newsletter works
Where am I (breadcrumb) navigation using CityScript and javascipt this one may help too.
Using Javascript and variables. I don't understand this yet. Here is the discussion. And here is Stu's .cty download.
Download and documentation for an employee masterfile excellent, thanks to Richard
Any ideas for how to do a weekly calendar view?
Nested "Foreach" loops need different variable names e.g. foreach x, foreach y, foreach z
How do I "print this article"? There is another item about "printable" versions but I can't find it.
Creating links to CD pages in Word and other external programs and worring about the path
Handling Perl's foreach without confusing CityDesk. (even if it may confuse you)
One way of handling Web Forms with CD
Keep Track of your Keywords publish dates and other stuff in this article table
Development methods from Kevin and .cty download
Tip: multilingual variable workaround
Whole bunch of scripts and more by Eric
Add a discussion forum to your CityDesk site
Jonathan Goodyear (editor@angrycoder.com) put together a demo CityDesk project that implements a discussion forum. It requires that your website support Active Server Pages (ASP), and supports both MSAccess and SQL Server to store the comment posts (installation instructions are included).
Mananging HTML in extra fields with variables
Can you put a script in a variable? In a sidebar? In a variable in a sidebar?
How to use "blank" templates to publish script examples in articles and prevent them from evaluating and causing errors I don't think this title explains it very well, better read the topic yourself.
Can you add a hyperlink to the Author field? This includes a link to an example .cty file you can download. Did you know you can put a variable in the author field?
Maganging drafts that you are not ready to publish
CityDesk for Geeks by Joel Spolsky
Put keywords in your meta tags
Use a script to generate bookmarks
Use a script to build a table that maps filename to the "fog url" That's not what this forum article is about but ...
How to use variables for your page titles
Trick for looping in folders: using a script to put folder names in your menu
How to bullet links with a script? (You have to insert the script in HTML view.)
How "deep" can you have variables before CityDesk stops evaluating them.
Use a style sheet to put a border around a picture from an "extra" field on a real estate site.
How to generate .shtml files from CityDesk.
Recapping how to avoid and debug scripting errors
Trouble finding script errors: a Pearl code fragment has script like code and CityDesk takes it for script and generates an error.
Managing images in scripts and putting images in "Teaser" and other extra fields. As in pictures for a real estate site(Yes, you can.) There is even a example .cty file of a real estate site you can down load. Here is the download. And here is how http://www.lakemonticelloproperties.com came out and the discussion about how Deb did it.
Articles vs. HTML not a long discussion but covers a lot of ground about stretching scripts and templates to manage not only articles but folders and HTML files.
Can your put a space between the "{$ $}" in a variable?
Using CityDesk's underlying database and generating non-HTML files with script.
A way to generate a weblog-style archive page, where you have months listed which link to a page including the posts from that specific month and Joel shows us some scripts.
A script that manages a subfolder and articles that DON'T have a particular keyword.
Can you put CityScript into an article, an "extra field" or a template?
An example of a script with an error and how to fix it.
Structure of a Real Estate site: Use audiences? kewords? template families?
Using PHP or other scripting for random capabilities
Darren's cool and handy variables for tables (boxes), latest articles, related articles, affiliate links (including Amazon.com). This is a variable tip for EM dashes also known as long dashes.
Some interesting script for interesting menus
A calendar download Ctycalendar - Ctycalendar runs as a post publishing step within City Desk to create a calendar from a specially formatted list which can be built with city script. Here is the forum thread
CityScript doesn't count but Javascript can here is an example
You can't put variables in conditions at least not in Release 2
Problem combining conditions, reverse polish notation with a bunch of nested conditions (ask the forum for help if you are really stumped
Using the new include feature and variables to make things easier for the user
Output from CityDesk
Using the filedDate and modifiedDate variables for the unique ID
Create google site map with CityDesk
New website, using CD for offline content. Using CD, iBrowser Mobile, to create and maintain offline / desktop applications from Telepark
New Free CityDesk Utility that allows me to essentially add as many extra fields (in a manner of speaking) as I need to any article
PHP templating in CityDesk: a brief tutorial from Telepark. Here is a brief tutorial I (Patrick Thomas) wrote up on how one can use CityDesk for PHP development using the TinyButStrong (PHP) templating engine. a zip file.
From UTF-8 to windows-1251 - webserver issue
I want to change the color of a cell in my navigation if I happen to be on that page.
How the readers can print articles published ? (obtain a printer friendly page ?)
Department has a bunch of PDF documents, and would like to put them on the intranet. Is there a way to create a script or article that can show a "table of contents" or list with links to open them?
Previewing CityDesk ASP.NET sites on local PC
CityScript in Javascript to produce a slide show
Where I can find free CityDesk Database Scripter utility on Telepark website
Can a directory name contain a period? Yes, and no.
Is there a simple way for me to generate a list of links that doesn't link the current article, but still prints its title?
How to prevent CityDesk from adding these extra generator and citydesk meta tags
Using articles not published in a published site
Using CD to Generate Photo Slideshow download
Using Template Families and using publish locations to make change the default (family) publish locations.
ASP, conditional CSS, City Desk, voila See how Deb did it here.
Publish to Microsoft Word with CityDesk
Helping search engines navigate your javascript menus
Multilingual Web Sites with links to pages in different languages: How to place a link on every page that points to the same article in the other language. Create separate publish locations (similar to separate location for printable pages) for each language.
Can you "include" a magic name? (no but you don't really need to)
How can I remove the MetaTag which states the site was generated by CityDesk (Do it with and external program)
Users assume that the article name IS the headline and the bahavior is not always obvious includes comments from Joel
Citydesk adds a margin-left or margin-right style to the image, overriding my margin settings
Count number of foreach matches?
Download: a photo gallery slide show if you can do PHP Here is the download page: CityDesk Gallery Maker Thanks to Roberto
How to get unique id for each article to insert that into some Javascript (for a comment service for example)
Setting color for link to active page in a for Each loop
Here is the HTML DBScript download.
How long does it take to publish 200 articles?
Program for adding the results of database queries to .html files. It processes the files before they are published so that the .html is still static. It's available for free.
Several database questions about CityDesk in one batch, the .cty file (access and jet)
- Database question to Fogcreek (on modifying and managubg the .cty file with other tools)
- Databases: who's done what?
- Feature request: simple database publishing
- If you want to view part of your CityDesk file without using CityDesk or Access, you may find useful Jeff Key's free Access Query Analyzer
- Creating Folders recursively?
Unicode UTF-8 blues - it doesn't please everyone
Managing printer versions with CSS
Using a batch file for running post publish process
Highlight current selection in navigation
More on doing breadcurmb navigation
Paragraphs and "body" tag and ways to manage wrap, I don't understand this but John C. has a great idea and Joel comments on how CityDesk manages single paragraph "body's"
I have a chunk of code that displays a sidebar, but I only want it to display if there is something in the sidebar field.
Post-it trick with a stylesheet for extra paragraph and character styles (see Joel's post)
British Spelling Dictionaries. Download a ZIP file containing the British dictionaries for the CityDesk spell checker.
RTidy A Ruby script for running Tidy on a locally published version of the website. It requires some configuration, so if you decide to try this -- PLEASE read the help file.
Turn a CityDesk site into a book; how to put your content into Word et al.
Embedding Javascipt in CityDesk
Can I do this redirect? and Redirect javascript
Stopping very long strings i.e. no spaces in them from "deforming" tables and other HTML elements
Tip: Detecting Broken External Links
Can I do server side includes?
Transferring MS Word headings to CityDesk and dealing with tag laden pastes from Word
Adding Navigation Buttons download and howto comes from this discussion topic
Double byte chars - multi lingual sites
Sam writes about building a site
Make a PDF file from you CityDesk site. I don't understand it but it's slick.
Couldn't put file: "The server returned extended informaion"
Script: How to hide headline for certain articles?
What are the "cd:pos="5"" in CD automatic image insertion tags?
Download - [XHTML with CityDesk] RTidy/CityDesk Released
I have released the Ruby script for running Tidy on a locally published version of the website. It requires some configuration, so if you decide to try this -- PLEASE read the help file.
I've provided it as a Windows executable. Your preview program will need to have "-G %1" as the parameters to get the GUI output.
http://www.halostatue.ca/ruby/RTidyCD.html
Feel free to email me if you have any questions.
-austinAustin Ziegler
Thursday, October 31, 2002
Using CityDesk to set up the docs like a typical help file
publishing blog archives in chunks
<!-- Published by ... --> problems for XHML, it appears before doctype
ftp bug connecting to Geocities maybe sometimes
Heading tags - why there not in the CityDesk editor
Multiple CSS Styles Within Article
Which pages have been changed?
A scripting tag that will return the number of articles like.. {$ getcount (condition) $}
Bill's CityDesk downloads: You'd better read this too from the forum and in CityDesk News.
Foreach-ing thru a list of images (kind of)
Joel explains the three (article) publishing options and what CityDesk really does. It answers the question: Publish which files?
Group related items together in boxes on web pages
Pasting from MS Word and Excel causing problems due to extra formatting code
Control over background color, particularly in Extra fields ("Yep, turning off the 'use windows colors' option in IE seems to cure the problem." )
A free calendar month widget for CityDesk by John
Download of a Non Profit CityDesk Template: NonProfit.cty by Darren
CityDesk article header "<!-- Published by Fog Creek Software CityDesk nnnnnnnnnnnnnnnn5/nnn -->" interfering with PHP and what can be done about it.
More FTP help - which directory to specify but this may be the best tip yet.
More on Navigating with Java script. The Java script that allows you to generate breadcrumb type links. .cty Download - Using Java script to manage navigation a zip file (this is the new July 7, 2002 file)- The archive contains the naviation system (in top of each page with links to folders higher up) and some dynamic form. I guess good use of foreach. I've quickly translated it to English. Hope it is useful. Best regards, Adriaan van den Brand.
Access Citydesk data via MS Access (OLE blob's and some code)
Managing code fragments. Daren explains his method for working around the practically unusable Variable editor to manage little fragments of content that are reused around his site.
citydesk.xml is a potential security problem and you can't rename it (yet)
Two way to prevent or manage link rot
Import problems and issues it's easy to import web pages one at a time. If you drag files, folders or whole webs into CityDesk, you won't get magic names for internal links or images and you can see you images in the CityDesk editors. Let's hope this gets better.
How the "Valley of the Geeks" online newsletter works
Best multi lingual (multi-lingual, multilingual) site tip yet
Where am I (breadcrumb) navigation using CityScript and javascipt this one may help too.
How to distrubutes templates on a LAN
Nice trick for editing variables (use a script in a variable to pull content from and article).
Images as backgrounds, using extra fields to manage the backgroung for individual articles. Here is another related forum item: Page Background, color/image possiable? (the answer is yes)
Naming your articles fogxxx. How to keep your original fog urls and keeping search engines apprised.
Publishing quotation marks and bugs
Publish Problems - FTP and publishing a site from two PC's
Template Families problem, printable versions and languages
Problems when copying from MS Word and ways to deal with them
Using Javascript and variables. I don't understand this yet. Here is the discussion. And here is Stu's .cty download.
Managing a photo site or picture gallery
Publish just DELETED files and managing duplicated file and folder names and a little more about deleting empty folders.
Managing multilingual variables
Turn passive mode off when publishing to Tripod.
Any ideas for how to do a weekly calendar view?
Service Pack 1 improves on multlingual publishing
Integrating and ASP.net Message Board into CityDesk
Another tip on Using CityDesk with a source control system
Dealing with and uses for audiences and how to use a global index.html to manage audiences even if you don't use the audience feature. Confused? Read on.
Server side Includes - how to get magic names to work and how the workaround may cause a broken link in an external editor and more on Server side includes.
How the Fog### URL's will change in Service Pack 1
How do I "print this article"? There is another item about "printable" versions but I can't find it.
Creating links to CD pages in Word and other external programs and worring about the path
One way of handling Web Forms with CD
View your CityDesk database (the .cty files) with Excel
Keep Track of your Keywords publish dates and other stuff in this article table
The problem with single paragraph articles and how to manage it
Version control / configuration managementcontrol for folks who are really serious about version control and configuration managment
How to replace an external file while keeping the same FOG url / magic name
How to add tagets to links - links that open new windows, this isn't popular with everyone but some folks need to do it.
Recovering a site that you didn't back up is do-able. Keeping your original URL's takes a little effort.(back up your site right now so you never have to do this)
Add a discussion forum to your CityDesk site Jonathan Goodyear (editor@angrycoder.com) put together a demo CityDesk project that implements a discussion forum. It requires that your website support Active Server Pages (ASP), and supports both MSAccess and SQL Server to store the comment posts (installation instructions are included).
Mananging HTML in extra fields with variables
File extensions - how to create and use funky file extensions with "View-File types"
Pasting text from Word creates garbage characters and how to fix it
How to use "blank" templates to publish script examples in articles and prevent them from evaluating and causing errors I don't think this title explains it very well, better read the topic yourself.
Can you add a hyperlink to the Author field? This includes a link to an example .cty file you can download. Did you know you can put a variable in the author field?
Maganging drafts that you are not ready to publish
Add a free site search to your site (it's easy, free, and works well)
CityDesk for Geeks by Joel Spolsky
Put keywords in your meta tags
Problems publishing to Yahoo hosted sites and how to fix it
Renaming the index.html file and how to deal with it
Use a script to build a table that maps filename to the "fog url" That's not what this forum article is about but ...
How to use variables for your page titles
Use a template family to produce redirects when your site moves.
How to produce zip files of your site.
Versioning - a workaround that might work.
Generate Word and PDF documents for download putting CityScripts into a word document saved as HTML
A process and a little script to manage versioning of frequently revised articles. Versioning is probably an overstatement in this case but this contains a good idea. Here is a another solution.
CityDesk can output whatever you want - xml, asp, txt, html.
Avoiding link-rot when moving a site to CityDesk (given the FOG urls), scroll towards the bottom of the page to find the link-rot workaround.
Using CityDesk's underlying database and generating non-HTML files with script.
Do articles keep the same filename each time you publish, even if you move a file to a different folder? (yes, if you don't move them; no, if you do)
Importing/Converting a FrontPage site the hard way and the easy way
Using variables and or ASP.net to handle templating for HTML files
Multiple Language issues and Why can't we have multiple languages for pages?
Webserver configuration may screw up UTF-8 character display
How do you export an article out of CD
Using PHP or other scripting for random capabilities
Things that might cause unexpected upload of all files even w/o changes
Working With XML Files is a Knowledge Base article by the Fog folks.
Ken McKinney's calendar generating program works with CityDesk
Network publish problem: when I FileCopy to a particular machine on the network, I receive a "make sure the computer is accessible" error message.
Copying content from MS Word and dealing with the embedded Word (and Excel) style formatting html code Here is another testimonial about the problem
Ways to manage anchors (aka bookmarks) several ways in fact
Editing articles with external editors (you can't except by cutting and pasting)
How to do Calendar style output and a download that helps (mentions pearl javascript and vb)
Trouble using PHP with Citydesk (it's those bracket dollarsign things) and ways to do it.
Editing Properties and Extras in HTML mode (you can't) but there are ways to manage it by editing in unpublished articles and pasting
Is there any way to add other types of content (pdf, word docs) to a CityDesk site? And then easily create links to those files?
The template that won't switch to HTML mode maybe too many nested tables? Here is a related issue.
British
dictionary - how to install?
Using the new include feature and variables to make things easier for the user
Problem with word wrap in HTML view (or is it)
Formatting CityDesk pages and articles etc.
How do I write to a unicode binary column when importing into the data base with a script
New Free CityDesk Utility that allows me to essentially add as many extra fields (in a manner of speaking) as I need to any article
Use Next Loop to Generate Grid of Thumbnails?
Word-2-CityDesk: smart transfer utility released from Telepark removed MS Word formatting
Word-2-CityDesk: smart transfer utility released
How the readers can print articles published ? (obtain a printer friendly page ?)
How to List Index Files in Several Folders
How to do a select form with CityScript?
ASP, conditional CSS, City Desk, voila See how Deb did it here.
Producing a thumbnail picture gallery. Read down a little in the topic.
Javascript Bookmarks: Is it possible to create a "Bookmark this page"
Publish to Microsoft Word with CityDesk
Helping search engines navigate your javascript menus
Multilingual Web Sites with links to pages in different languages: How to place a link on every page that points to the same article in the other language. Create separate publish locations (similar to separate location for printable pages) for each language.
Use a foreach "this article" and "else" to highlight a menu link and maybe much more. Thanks to Jørgen
Download: a photo gallery slide show if you can do PHP Here is the download page: CityDesk Gallery Maker Thanks to Roberto
Setting color for link to active page in a for Each loop
Get citydesk files from one .cty to another
Tip: Using variables in Keywords field. I wanted to recreate an effect that I often see on Movable Type websites: hyperlink reference in the article itself to the categories to which it's assigned
Include an article in a template where this included article contains a body tag, but I don't want the article published on its own
Beautiful menu done in CSS without Javascript
Two column layout - good css sites
Pasting from MS Word - long, brutal discussion about the problems
John Conner's "Captioned Image Creator" download
Managing printer versions with CSS
Recursive Table of Contents Generation using ASP
Highlight current selection in navigation
Paragraphs and "body" tag and ways to manage wrap, I don't understand this but John C. has a great idea and Joel comments on how CityDesk manages single paragraph "body's"
Post-it trick with a stylesheet for extra paragraph and character styles (see Joel's post)
Moving templates from one .cty file to another
RTidy A Ruby script for running Tidy on a locally published version of the website. It requires some configuration, so if you decide to try this -- PLEASE read the help file.
Download for managing previous / next article functionality using a bit of php scripting
Replace an existing image without breaking links
Turn a CityDesk site into a book; how to put your content into Word et al.
How to plug in content from other web app's such as free blog templates
Stopping very long strings i.e. no spaces in them from "deforming" tables and other HTML elements
Can your put escape & characters in headline
How to make HTML view the default for articles
Transferring MS Word headings to CityDesk and dealing with tag laden pastes from Word
Adding Navigation Buttons download and howto comes from this discussion topic
Messy tag buildup in extra fields
Importing troubles and solutions and dealing with images
Double byte chars - multi lingual sites
Script: How to hide headline for certain articles?
Using CityDesk to set up the docs like a typical help file
publishing blog archives in chunks
Heading tags - why there not in the CityDesk editor
Download for a stylesheet swicthing CityDesk site from Fog Creek. Here is the CityDesk news article about it.
Foreach-ing thru a list of images (kind of)
Group related items together in boxes on web pages
How to update Images in the least painful way.
Pasting from MS Word and Excel causing problems due to extra formatting code
Control over background color, particularly in Extra fields ("Yep, turning off the 'use windows colors' option in IE seems to cure the problem." )
Access Citydesk data via MS Access (OLE blob's and some code)
Import problems and issues it's easy to import web pages one at a time. If you drag files, folders or whole webs into CityDesk, you won't get magic names for internal links or images and you can see you images in the CityDesk editors. Let's hope this gets better.
Best multi lingual (multi-lingual, multilingual) site tip yet
Where am I (breadcrumb) navigation using CityScript and javascipt this one may help too.
How to distrubutes templates on a LAN
Nice trick for editing variables (use a script in a variable to pull content from and article).
Images as backgrounds, using extra fields to manage the backgroung for individual articles. Here is another related forum item: Page Background, color/image possiable? (the answer is yes)
Publishing quotation marks and bugs
Problems when copying from MS Word and ways to deal with them
Server side Includes - how to get magic names to work and how the workaround may cause a broken link in an external editor and more on Server side includes.
The problem with single paragraph articles and how to manage it
Mananging HTML in extra fields with variables
File extensions - how to create and use funky file extensions with "View-File types"
Pasting text from Word creates garbage characters and how to fix it
Can you add a hyperlink to the Author field? This includes a link to an example .cty file you can download. Did you know you can put a variable in the author field?
Add a free site search to your site (it's easy, free, and works well)
How to use variables for your page titles
Non-breaking spaces - managing spaces and "nbsp"
Selecting words in the editor - including and excluding trailing spaces
Special punctuation - dashes, quotation marks etc.
How to bullet links with a script? (You have to insert the script in HTML view.)
Use a style sheet to put a border around a picture from an "extra" field on a real estate site.
How to generate .shtml files from CityDesk.
Tables verses style sheets. I don't understand the question or answer but there seems to be a great truth here.
Handling special characters such as "– — and – You'll probably understand this better than I do.
Using Ctrl-A to "select-all" in articles, teaser, sidebar, about and extra fields
Adding an external (verses an internal) link on an image
This is a script Joel used to manage his month by month article archive for Joel On Software.
Webserver configuration may screw up UTF-8 character display
Article Suddenly Stops Accepting Linefeeds (it happens, you'll need to close and reopen CityDesk)
Darren's cool and handy variables for tables (boxes), latest articles, related articles, affiliate links (including Amazon.com). This is a variable tip for EM dashes also known as long dashes.
Working With XML Files is a Knowledge Base article by the Fog folks.
Revisited: swapping text from MS Word to CD (there is trouble in the Word HTML)
Some interesting script for interesting menus
A calendar download Ctycalendar - Ctycalendar runs as a post publishing step within City Desk to create a calendar from a specially formatted list which can be built with city script. Here is the forum thread
Copying content from MS Word and dealing with the embedded Word (and Excel) style formatting html code Here is another testimonial about the problem
Two ways to highlight the current menu item using style sheets .css
Ways to manage anchors (aka bookmarks) several ways in fact
Editing articles with external editors (you can't except by cutting and pasting)
<a> tag annoyance puts extra space at the end of a link
Editing Properties and Extras in HTML mode (you can't) but there are ways to manage it by editing in unpublished articles and pasting
Tips
Importing an existing web page
Using the filedDate and modifiedDate variables for the unique ID
How do I write to a unicode binary column when importing into the data base with a script
New website, using CD for offline content. Using CD, iBrowser Mobile, to create and maintain offline / desktop applications from Telepark
Use Next Loop to Generate Grid of Thumbnails?
PHP templating in CityDesk: a brief tutorial from Telepark. Here is a brief tutorial I (Patrick Thomas) wrote up on how one can use CityDesk for PHP development using the TinyButStrong (PHP) templating engine. a zip file.
Word-2-CityDesk: smart transfer utility released from Telepark removed MS Word formatting
PHP templating in CityDesk: a brief tutorial
CityDesk "keyword" blocks PHP ??
CityDesks for a big Intranet-Project? (Future of CD)
Is it possible to use Citydesk WITHIN a FrontPage website?
From UTF-8 to windows-1251 - webserver issue
How the readers can print articles published ? (obtain a printer friendly page ?)
Department has a bunch of PDF documents, and would like to put them on the intranet. Is there a way to create a script or article that can show a "table of contents" or list with links to open them?
Previewing CityDesk ASP.NET sites on local PC
Changing field names in properties/extras pages of articles
Using Terminal Services to connect to a remote desktop and run CityDesk from there
How to Require Page Refresh (but do you really want to)
Can a directory name contain a period? Yes, and no.
Unfortunately at this point you can't use a variable as part of the condition. It has to be a hardcoded value.
How to prevent CityDesk from adding these extra generator and citydesk meta tags
Using articles not published in a published site
How to Use Firefox for Preview
Using CD to Generate Photo Slideshow download
Simple DHTML Treeview download
Active Scripting with CityDesk
Making a search work on a site on CD-ROM
Using Template Families and using publish locations to make change the default (family) publish locations.
How can I enter an asp file in CityDesk
I've found that whenever I copy an article named "index" from one folder to another (which I often do to save time), the copy gets published with the filename "index-2.html". Doing the rename trick above sets it back to "index.html".
ASP, conditional CSS, City Desk, voila See how Deb did it here.
Javascript or .asp "go back" function
User selected folders - helping users select a batch of links using variables
Producing a thumbnail picture gallery. Read down a little in the topic.
Use "even" to select the second article. This is a nice trick from Dave.
Javascript Bookmarks: Is it possible to create a "Bookmark this page"
Publish to Microsoft Word with CityDesk
Helping search engines navigate your javascript menus
Forwarding of old URLs when article renamed or moved, by redirect or mod_alias or mod_rewite
A very brief note on managing sections of a page
Multilingual Web Sites with links to pages in different languages: How to place a link on every page that points to the same article in the other language. Create separate publish locations (similar to separate location for printable pages) for each language.
The Fog Creek (and CityDesk) Tech Support E-mail Form is here.
"The form goes right into our tech support queue with the highest priority." - Joel Spolsky
Can you "include" a magic name? (no but you don't really need to)
Using "x.variable" verses using plain ".variable" in a script (long discussion to get to the answer)
Creating an article and folder of the same name (is a problem / feature)
A beta of the German-language help file (die deutsche Hilfe-Datei) to CityDesk 2 is now available
Importing HTML, MS Word as articles (this has been covered before)
How to count the number of articles selected in a foreach loop (with a tiny bit of JavaScript)
How can I remove the MetaTag which states the site was generated by CityDesk (Do it with and external program)
Users assume that the article name IS the headline and the bahavior is not always obvious includes comments from Joel
CityDesk allows you to copy and paste articles
Third party programs folks use with CityDesk The links are in the discussion topic but I'll list them here for the search: HTMLDbScript, My Personal Programmer, BatchRun, Zoom Search Engine, Arles Image Web Page Creator, Site Publisher. Thanks to Simon Ghosh.
Count number of foreach matches?
Download: a photo gallery slide show if you can do PHP Here is the download page: CityDesk Gallery Maker Thanks to Roberto
How to get unique id for each article to insert that into some Javascript (for a comment service for example)
How to let two non-Admin XP users edit CityDesk?
Has anyone successfully used Perl to manipulate a CityDesk file?
I need to "repair" a few .cty files
Here is the HTML DBScript download.
Get citydesk files from one .cty to another
How long does it take to publish 200 articles?
Tip: Using variables in Keywords field. I wanted to recreate an effect that I often see on Movable Type websites: hyperlink reference in the article itself to the categories to which it's assigned
Several database questions about CityDesk in one batch, the .cty file (access and jet)
- Database question to Fogcreek (on modifying and managubg the .cty file with other tools)
- Databases: who's done what?
- Feature request: simple database publishing
- If you want to view part of your CityDesk file without using CityDesk or Access, you may find useful Jeff Key's free Access Query Analyzer
- Creating Folders recursively?
Include an article in a template where this included article contains a body tag, but I don't want the article published on its own
Beautiful menu done in CSS without Javascript
Two column layout - good css sites
Using Emacs as external editor
There are four kinds of dates in CityDesk V2
Using a batch file for running post publish process
Keyword Picker for CityDesk Here is the download page.
How to Create Breadcrumbs included a .cty download from FogCreek
Post-it trick with a stylesheet for extra paragraph and character styles (see Joel's post)
How do you use variables? a breathtaking list of ways to use them and suggestions for CityDesk
Moving templates from one .cty file to another
Download for managing previous / next article functionality using a bit of php scripting
Replace an existing image without breaking links
How to plug in content from other web app's such as free blog templates
Embedding Javascipt in CityDesk
Can I do this redirect? and Redirect javascript
ifAny and ifNotAny? Can you nest CityScript?
Site import utility from Telepark
Tip: Detecting Broken External Links
Opening CityDesk with MS Access - Permissions
Can I do server side includes?
Can your put escape & characters in headline
How to make HTML view the default for articles
A nice list of feature requests summarizes a lot of individual postings.
Using a domain just for forwarding purposes
Making a "hidden" article you'd rather not share with the entire world
Messy tag buildup in extra fields
Importing troubles and solutions and dealing with images
Where are articles in the CityDesk data base?
Magic names explained a little
Sam writes about building a site
Make a PDF file from you CityDesk site. I don't understand it but it's slick.
CityDesk 'Edit with' (How to change the "edit with button selection in Internet Explorer)
Is there an easy way to make comments in CD?
Script: How to hide headline for certain articles?
What are the "cd:pos="5"" in CD automatic image insertion tags?
Using CityDesk to set up the docs like a typical help file
Which pages have been changed?
Moving files and folders around in the main window
A scripting tag that will return the number of articles like.. {$ getcount (condition) $}
Joel explains the three (article) publishing options and what CityDesk really does. It answers the question: Publish which files?
Download a copy of the CityDesk site Fog Creek uses to generate all their help files (705KB Zip). Here are a few paragraphs about it in CityDesk News.
How to update Images in the least painful way.
The built-in editor in CityDesk is not going to do a very good job of editing files with PHP code embedded. I suggest using the File Types dialog to change the file type for php to use a text editor instead of the built in editor. -Joel
Unicode, UTF-8, Languages, and date formats
More FTP help - which directory to specify but this may be the best tip yet.
Managing code fragments. Daren explains his method for working around the practically unusable Variable editor to manage little fragments of content that are reused around his site.
Two way to prevent or manage link rot
Import problems and issues it's easy to import web pages one at a time. If you drag files, folders or whole webs into CityDesk, you won't get magic names for internal links or images and you can see you images in the CityDesk editors. Let's hope this gets better.
Nice trick for editing variables (use a script in a variable to pull content from and article).
Images as backgrounds, using extra fields to manage the backgroung for individual articles. Here is another related forum item: Page Background, color/image possiable? (the answer is yes)
Naming your articles fogxxx. How to keep your original fog urls and keeping search engines apprised.
Publishing quotation marks and bugs
Publish Problems - FTP and publishing a site from two PC's
Template Families problem, printable versions and languages
Using Javascript and variables. I don't understand this yet. Here is the discussion. And here is Stu's .cty download.
Managing a photo site or picture gallery
Managing multilingual variables
Turn passive mode off when publishing to Tripod.
CityDesk Add-on Utility from Mike and his documentation.
Service Pack 1 improves on multlingual publishing
Integrating and ASP.net Message Board into CityDesk
Another tip on Using CityDesk with a source control system
Dealing with and uses for audiences and how to use a global index.html to manage audiences even if you don't use the audience feature. Confused? Read on.
How the Fog### URL's will change in Service Pack 1
One way of handling Web Forms with CD
BUG: CityDesk uploads every file, even files that haven't changed
View your CityDesk database (the .cty files) with Excel
Development methods from Kevin and .cty download
Tip: multilingual variable workaround
Whole bunch of scripts and more by Eric
How to replace an external file while keeping the same FOG url / magic name
How to add tagets to links - links that open new windows, this isn't popular with everyone but some folks need to do it.
Recovering a site that you didn't back up is do-able. Keeping your original URL's takes a little effort.(back up your site right now so you never have to do this)
Add a discussion forum to your CityDesk site
Jonathan Goodyear (editor@angrycoder.com) put together a demo CityDesk project that implements a discussion forum. It requires that your website support Active Server Pages (ASP), and supports both MSAccess and SQL Server to store the comment posts (installation instructions are included).
Mananging HTML in extra fields with variables
File extensions - how to create and use funky file extensions with "View-File types"
Maganging drafts that you are not ready to publish
Add a free site search to your site (it's easy, free, and works well)
CityDesk for Geeks by Joel Spolsky
Put keywords in your meta tags
Problems publishing to Yahoo hosted sites and how to fix it
Renaming the index.html file and how to deal with it
Use a script to build a table that maps filename to the "fog url" That's not what this forum article is about but ...
How to use variables for your page titles
Selecting words in the editor - including and excluding trailing spaces
Trick for looping in folders: using a script to put folder names in your menu
You can Insert->Picture to import a picture from the web.
Making existing or imported HTML pages into articles and using tables in articles requires some work.
Dealing with really big files such as AVI's. CityDesk doesn't manage them well right now, best to keep them out of CityDesk and keep them on your server.
Managing articles with multiple authors so that the you can "see Maury's last 5 articles and Nat's last 5. Of course many of the articles are co-authored by Maury and Nat."
Where does "TimeFiled" come from and can you change it?
Articles vs. HTML not a long discussion but covers a lot of ground about stretching scripts and templates to manage not only articles but folders and HTML files.
Yes, using Alt-Tab to switch programs can drive you nuts with CityDesk.
Avoiding link-rot when moving a site to CityDesk (given the FOG urls), scroll towards the bottom of the page to find the link-rot workaround.
Tables verses style sheets. I don't understand the question or answer but there seems to be a great truth here.
How does CityDesk count pages? (Starter Edition vs. Home Edition vs. Professional Edition)
How to word wrap in HTML view. (On the menu, choose View >> Word Wrap.)
Handling special characters such as "– — and – You'll probably understand this better than I do.
You can resize the variable window.
To do a site wide search: Use the big magnifying glass in the main window.
Gil explains the problem with renaming a file to "index.html" "I then deleted the original Index.html, renamed Index_2 to Index and generated my new site. Much to my suprise, nothing worked!"
Link to external style sheet using CityDesk "Copy Magic Name"
Handling Email links the very easy way and the easy way
Do articles keep the same filename each time you publish, even if you move a file to a different folder? (yes, if you don't move them; no, if you do)
Importing/Converting a FrontPage site the hard way and the easy way
Problem with articles and folders having same name and a way to deal with it
Using variables and or ASP.net to handle templating for HTML files
Using Ctrl-A to "select-all" in articles, teaser, sidebar, about and extra fields
Use Ctrl-S to save without closing
Adding an external (verses an internal) link on an image
Can you use CityDesk for ASP or APS.net?
Can you change the CityDesk generated article URL's? (short answer is no)
Multiple Language issues and Why can't we have multiple languages for pages?
Is replication in the future for team members who aren't on the same network? (short answer: Yes)
How do you export an article out of CD
Darren's cool and handy variables for tables (boxes), latest articles, related articles, affiliate links (including Amazon.com). This is a variable tip for EM dashes also known as long dashes.
Working With XML Files is a Knowledge Base article by the Fog folks.
Revisited: swapping text from MS Word to CD (there is trouble in the Word HTML)
Problem with an article and a folder with the same name in my citydesk 2.0 file
You can have both CD1 and CD2 installed but you may get confused
Copying content from MS Word and dealing with the embedded Word (and Excel) style formatting html code Here is another testimonial about the problem
CityScript doesn't count but Javascript can here is an example
Two ways to highlight the current menu item using style sheets .css
Trouble using PHP with Citydesk (it's those bracket dollarsign things) and ways to do it.
Editing Properties and Extras in HTML mode (you can't) but there are ways to manage it by editing in unpublished articles and pasting
Is there any way to add other types of content (pdf, word docs) to a CityDesk site? And then easily create links to those files?
Problems
CityDesk "keyword" blocks PHP ??
I want to integrate coppermine (image gallery) on a Citydesk made website, I tried to insert a frame in an article with src = "My imagegallery", but it does not work.
keywordContains only accepts a literal string? Right, can't use a variable or extra field.
Microsoft update KB891781 breaks template saving and how to solve the problem.
Here is the CityDesk Knowledgebase article on the fix:
"CityDesk Crashes Attempting to Close Template Window or HTML Window"
From UTF-8 to windows-1251 - webserver issue
You cannot currently have article variables in the expression part of CityScript - Embedding Error with if nonblank x.sidebar
Unfortunately at this point you can't use a variable as part of the condition. It has to be a hardcoded value.
Swithcing Views mangling HTML (not the first post like this but has links to other posts and some good advice
How to next forEach's to avoid infinite loops
The Fog Creek (and CityDesk) Tech Support E-mail Form is here.
"The form goes right into our tech support queue with the highest priority." - Joel Spolsky
Creating an article and folder of the same name (is a problem / feature)
Huge sites, slow performance, long publish times
Users assume that the article name IS the headline and the bahavior is not always obvious includes comments from Joel
Citydesk adds a margin-left or margin-right style to the image, overriding my margin settings
How to let two non-Admin XP users edit CityDesk?
CityDesk has a few problems when you try to use it at 640x480
I need to "repair" a few .cty files
Unicode UTF-8 blues - it doesn't please everyone
Pasting from MS Word - long, brutal discussion about the problems
Using Emacs as external editor
ifAny and ifNotAny? Can you nest CityScript?
Tip: Detecting Broken External Links
A nice list of feature requests summarizes a lot of individual postings.
Messy tag buildup in extra fields
Importing troubles and solutions and dealing with images
Color bug and caution about normal view
Couldn't put file: "The server returned extended informaion"
<!-- Published by ... --> problems for XHML, it appears before doctype
ftp bug connecting to Geocities maybe sometimes
Citydesk and NT4 permissions troubles
Pasting from MS Word and Excel causing problems due to extra formatting code
Control over background color, particularly in Extra fields ("Yep, turning off the 'use windows colors' option in IE seems to cure the problem." )
The built-in editor in CityDesk is not going to do a very good job of editing files with PHP code embedded. I suggest using the File Types dialog to change the file type for php to use a text editor instead of the built in editor. -Joel
Unicode, UTF-8, Languages, and date formats
citydesk.xml is a potential security problem and you can't rename it (yet)
Two way to prevent or manage link rot
BUG: Crash if unbalanced {} This is the first thing to check if you crash during a publish or preview.
BUG: CityDesk uploads every file, even files that haven't changed
The problem with single paragraph articles and how to manage it
CityDesk for Geeks by Joel Spolsky
Extra HTML junk showing up in your pages (it happens)
Problems publishing to Yahoo hosted sites and how to fix it
Selecting words in the editor - including and excluding trailing spaces
Link problems in single spaced links, links too easily deleted, etc.
You can Insert->Picture to import a picture from the web.
Does CityDesk support dual monitors? (not yet but maybe)
Making existing or imported HTML pages into articles and using tables in articles requires some work.
Dealing with really big files such as AVI's. CityDesk doesn't manage them well right now, best to keep them out of CityDesk and keep them on your server.
Managing articles with multiple authors so that the you can "see Maury's last 5 articles and Nat's last 5. Of course many of the articles are co-authored by Maury and Nat."
Where does "TimeFiled" come from and can you change it?
Yes, using Alt-Tab to switch programs can drive you nuts with CityDesk.
How to word wrap in HTML view. (On the menu, choose View >> Word Wrap.)
You can resize the variable window.
Gil explains the problem with renaming a file to "index.html" "I then deleted the original Index.html, renamed Index_2 to Index and generated my new site. Much to my suprise, nothing worked!"
Problem with articles and folders having same name and a way to deal with it
Can you change the CityDesk generated article URL's? (short answer is no)
Is replication in the future for team members who aren't on the same network? (short answer: Yes)
Webserver configuration may screw up UTF-8 character display
Article Suddenly Stops Accepting Linefeeds (it happens, you'll need to close and reopen CityDesk)
Normal View/HTML View Woes (when you switch views)
Things that might cause unexpected upload of all files even w/o changes
Network publish problem: when I FileCopy to a particular machine on the network, I receive a "make sure the computer is accessible" error message.
Revisited: swapping text from MS Word to CD (there is trouble in the Word HTML)
Problem with an article and a folder with the same name in my citydesk 2.0 file
<a> tag annoyance puts extra space at the end of a link
Trouble using PHP with Citydesk (it's those bracket dollarsign things) and ways to do it.
The template that won't switch to HTML mode maybe too many nested tables? Here is a related issue.
Template families
Use a template family to produce redirects when your site moves.