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
Getting parameters in 'story_summary' New Code
By phill , Section Code []
Posted on Fri Jan 16, 2004 at 12:00:00 PM PST
I am trying to move some of the changes that I've made to the scoop code into boxes so that I can move my site to a scoop host.

I'm at an impasse, however. I am trying to modify the topic_img tag inside the story_summary block so I've replaced it with a box that does the same thing with one major difference: I cannot get the tid so I can check whether or not it is a diary story. I've tried adding my $story=shift; and I've looked through the code in lib/Scoop. I can't seem to find a $S->somthingarouther that will return the tid or even the section.

Any thoughts?

< Updated hotlist_flex box | the new Scoop Admin Guide >

create account
report bugs
Scoop Administrators Guide
Scoop Box Exchange

Make a new account

Related Links
scoop host
More on New Code
Also by phill

Story Views
  40 Scoop users have viewed this story.

Display: Sort:
Getting parameters in 'story_summary' | 24 comments (24 topical, 0 hidden)
well (none / 0) (#1)
by janra on Fri Jan 16, 2004 at 05:32:22 PM PST

$S->_get_story_section(sid) will return the section of the story. There doesn't appear to be anything that returns the tid though, only a linkified image or text for the topic. It doesn't look like it would be hard to change, but you mention this is for a hosting company, so they may not pick up the change in CVS in time for you.

You could probably copy most of the _get_story_section functionality in a box, substituting section with tid, and store it in $S->{STORIES}->{$sid}->{tid} so it's cached the way story titles and sections are.

Discuss the art and craft of writing

Check Cashing (none / 0) (#7)
by Pervez on Sun Apr 08, 2018 at 01:35:03 AM PST

Under we all can is generally one of these brilliant great along with pleasurable 1; now I am really happy simply by this kind of made material. I hope a whole lot more outstanding content could be composed inside of website. Today stick to the Check Cashing Respect a lot this kind of along with care for exhibiting an individual.

great (none / 0) (#8)
by rozirose124 on Thu Oct 04, 2018 at 09:16:00 AM PST

If your looking for Online Illinois license plate sticker renewals then you have need to come to the right place.We offer the fastest Illinois license plate sticker renewals in the state. flat rate conference call

great (none / 0) (#9)
by rozirose124 on Mon Oct 15, 2018 at 10:00:37 AM PST

I invite you to the page where see how much we have in common. Impianti fotovoltaici a Olbia

great (none / 0) (#10)
by rozirose124 on Sun Oct 21, 2018 at 09:49:29 AM PST

I prefer merely excellent resources - you will see these people in: Hyaluronic Acid Serum Benefits

great (none / 0) (#11)
by rozirose124 on Mon Oct 22, 2018 at 06:18:15 AM PST

Really appreciate this wonderful post that you have provided for us.Great site and a great topic as well i really get amazed to read this. Its really good. Andrew Kyriacou Financial Blog

great (none / 0) (#12)
by rozirose124 on Sun Nov 11, 2018 at 07:04:16 AM PST

wow this saintly however ,I love your enter plus nice pics might be part personss negative love being defrent mind total poeple , มอเตอร์ไซค์

great (none / 0) (#13)
by rozirose124 on Sun Nov 18, 2018 at 03:02:58 AM PST

This content is simply exciting and creative. I have been deciding on a institutional move and this has helped me with one aspect. healthy diet to lose weight recipes

great (none / 0) (#14)
by rozirose124 on Sat Dec 08, 2018 at 12:09:36 PM PST

These websites are really needed, you can learn a lot. Agen Sbobet

great (none / 0) (#15)
by rozirose124 on Mon Dec 17, 2018 at 06:44:43 AM PST

This post is very simple to read and appreciate without leaving any details out. Great work! Tree and stump removal near me

great (none / 0) (#16)
by rozirose124 on Wed Dec 26, 2018 at 03:02:29 PM PST

Truly, this article is really one of the very best in the history of articles. I am a antique 'Article' collector and I sometimes read some new articles if I find them interesting. And I found this one pretty fascinating and it should go into my collection. Very good work! Online Gun Dealers

great (none / 0) (#17)
by rozirose124 on Tue Jan 22, 2019 at 03:49:04 PM PST

Here you will learn what is important, it gives you a link to an interesting web page: qq online

great (none / 0) (#18)
by rozirose124 on Tue Jan 22, 2019 at 03:57:10 PM PST

This is helpful, nonetheless it can be crucial so that you can check out the following website: agen bola

akram (none / 0) (#19)
by akramkhatri on Sun Feb 03, 2019 at 12:21:23 PM PST

I use only high quality materials - you can see them at: daftar judi poker

best kitchen remodeling staten island (none / 0) (#20)
by Pervez on Sun Mar 17, 2019 at 10:18:20 AM PST

They might be quite howling at wonderful quality and acquirement. Even so, they may be marketed at extremely valuable complete damage, and lots people cannot notice the funds for to buy them. Currently click here best kitchen remodeling staten island better of luck forever.

great (none / 0) (#21)
by rozirose124 on Thu Mar 21, 2019 at 10:39:02 PM PST

Good to become visiting your weblog again, it has been months for me. Nicely this article that i've been waited for so long. I will need this post to total my assignment in the college, and it has exact same topic together with your write-up. Thanks, good share. stopwatch

great (none / 0) (#22)
by rozirose124 on Tue Mar 26, 2019 at 02:21:27 AM PST

Very good topic, similar texts are I do not know if they are as good as your work out. Hi Rise Camera

great (none / 0) (#23)
by rozirose124 on Tue Mar 26, 2019 at 02:25:13 AM PST

On this subject internet page, you'll see my best information, be sure to look over this level of detail. cd dvd duplication services

Thank you (none / 0) (#24)
by scdobre on Mon Sep 21, 2020 at 10:07:14 AM PST

Checking out the birthday of celebrity on the Celeb Networth to know if they have the same birthday as you, or same age, or to know which celebrity have birthday today.

Getting parameters in 'story_summary' | 24 comments (24 topical, 0 hidden)
Display: Sort:

Hosted by 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