Scoop -- the swiss army chainsaw of content management
Front Page · Everything · News · Code · Help! · Wishlist · Project · Scoop Sites · Dev Notes · Latest CVS changes · Development Activities
Link to Print Docs
By merlin , Section Help! []
Posted on Wed Jul 16, 2003 at 12:00:00 PM PST
How do I implement the linking to the print page?

I was implementing a print page and template on my scoop site at http://www.cultodavida.online.pt/, but I can't get the story sid to create the URL to the printing page.

I tried to use |sid|, but this field inside the story_body block is not set. The printing template is working, exception for a small detail that I'll have to view later, that is related with my block story_summary.

My URLs are /print/sid and /story/sid. This is already working, but I couldn't find a way to get the story sid.

Who can give me some help? Thanks ppl.

< Switch from location to virtual host | Gauntlet.ca underway >

Menu
· create account
· faq
· search
· report bugs
· Scoop Administrators Guide
· Scoop Box Exchange

Login
Make a new account
Username:
Password:

Related Links
· Scoop
· http://www .cultodavida.online.pt/,
· More on Docs
· Also by merlin

Story Views
  15 Scoop users have viewed this story.

Display: Sort:
Link to Print | 1 comment (1 topical, 0 hidden)
sid special key (none / 0) (#1)
by janra on Wed Jul 16, 2003 at 08:12:52 PM PST

The |sid| special key is only valid in the block story_summary - not story_body. Most of the meta-information for stories is the same way. You'll have to make your print link in the story summary block.

--
Discuss the art and craft of writing




Link to Print | 1 comment (1 topical, 0 hidden)
Display: Sort:

Hosted by ScoopHost.com Powered by Scoop
All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest © 1999 The Management

create account | faq | search