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
So, you've installed Scoop Docs
By theantix , Section Help! []
Posted on Wed Oct 09, 2002 at 12:00:00 PM PST
Good job, some people don't even get as far as you just have.  But now that you've got it installed, I'll bet that you want to do something more than the basic setup that Scoop ships with.  This guide is intended to be as non-technical as possible, but still explain how to customize your Scoop site to look exactly like you want it to.  

This guide will assume that you already know some HTML, if you don't know that, I would suggest you start with plain HTML before trying to administer a Scoop site.

Where to Start?

First, I'll explain the basic building blocks of how Scoop displays a page.  There are three main tools that control this:  Site Controls, Blocks, and Boxes.  There are also sections and topics, but those are fairly self-explanatory so I'll let you explore those on your own.  After you've learned the initial tools, you can move on to more advanced features like Groups, Ops, and Hooks.

Site Controls:

We will start our Scoop customization by looking at the site controls.  Site controls are Scoop's equivalent to what other programs call "preferences" or "options."  Here you can enable and disable features such as the spellchecker, advertising, polls, or a variety of other things.

When you login to Scoop with your superuser account, you should see a link for "Site Controls" in the admin toolbox.  Choose that, and click on the link for "General."  This should take you to a page that lists a lot of general options for you to change.  If you want to test changing something to see how it works, try changing the "sitename" and "slogan" site controls to something more appropriate for your site.

Once you get the hang of Scoop and all of the available features, the various site controls will make more sense to you.   Scrolling through the categories can give you some idea of the basic functionality that Scoop ships with.

Blocks:

Now we'll move on to the most basic element of Scoop, the blocks.  A block is simply a chunk of HTML code that can be referenced from any page by name.  In the admin toolbox choose "Blocks," and choose the link "site_html".  From there you can see a listing of blocks that control various aspects of the display.

You can change and customize these blocks according to your own site design.  A good starting place might be the header and footer blocks.  Make a few small changes to these, and hit the "save" button.  When the page reloads, see how the changes you made were already implemented?  This is because the header and footer blocks are called by most pages by default.

The best part of the blocks system is the ability to call other blocks.  To show you what I mean, look carefully at the header block.  You will notice that mixed in with the HTML elements and text are little items marked off by pipes (|).  There is a reference to |section_links| which when called will take the value from the section_links block and seamlessly place it within the header.

Blocks: Templates:

With this knowledge you can really begin the task of making your Scoop site look unique.  However, you need to know where to begin.  The key is the group of blocks called "templates".  The template is a master block for displaying an entire page.  Your front page (and section pages) will use index_template, viewing a story uses the story_template, and most admin pages use default_template.  Be very careful changing these, because, if you mess it up, you might not be able to view your site.

To change a template, from within the block editor choose the "templates" link and scroll down to view the contents of the "index_template" block.  For example, you can see near the top there is a reference called |header|.  As you can probably guess, this is a reference back to the header that we changed a few paragraphs before.  It also contains the special block |CONTENT|, which is where all of the stories for the page are inserted.  By changing this page you can drastically alter how your site appears.

Boxes:

Blocks are only the beginning of the story, however.  You will notice that the templates also contain references like |BOX,login_box| and |BOX,user_box|.  Unlike the blocks that we have just looked at, boxes are chunks of code written in the Perl programming language that will return HTML to the page.  Don't be too scared by this, because you don't have to learn very much of Perl to change some basic functionality of the boxes.

If you already know Perl, you will find Boxes to be an invaluable way to customize your Scoop site.  If not, you will be limited to tweaking the existing boxes, or borrowing code from the Scoop Box Exchange.  To edit or add a box, select "Boxes" from the Admin Tools menu.  I am not going to provide a Perl tutorial for you here, but if you are interesting in some light hacking just examine some of the boxes that ship with Scoop.

More advanced features:

This is only part of the story, once you get past the basics there are many other ways to extend your default Scoop install.  

Groups/Perms:

Obviously you don't want every user to have the same amount of access that you do.  The ability for Scoop to control access to various areas of your site is located under the Admin Tool "Groups".  Select the group "users" from the group dropdown box and click on the get button to open up the set of permissions.

You will see a giant list of permissions, but most of them are self explanatory.  Some interesting ones that aren't enabled by default include "view_comment_ip" and "use_spellcheck", each required in order for the respective functionalities to work.  Try to leave most everything enabled for the superuser group, otherwise you have the potential to lock yourself out of functionality.

If you ever need to add a new permission, the master list is stored in the block "perms".  When you add a new perm it will default to being unselected for all groups.  If for any reason you delete a perm from that list, the perm will still be set for all users that formerly had it, so make sure you've removed the permission from the group first.

Ops:

Simply put, an op is the first pseudo-directory that a user can enter on your site.  For example, the op for http://www.kuro5hin.org/story/2002/1/15/231539/319 is "story".  If you open the Ops Admin tool you can see a list the ops that are currently on your system.  Open up the op "newuser" and check out how that op is set up.

You can see that newuser uses the template default_template, but it is simple to change to any of the templates including any new ones that you might want to create.

You will also see an area to select a function, and a checkbox called "function is a box".  The newuser op starts with the function "newuser", and this shouldn't be changed under most circumstances.  However if you want to, you can make an op call a different function if need be.  If the function is already provided by Scoop you just have to reference it by name, otherwise you can create a box, reference the box name and make sure the checkbox is selected.

As for security, this is controlled by the dropdown box "Permission", and the checkbox for "enabled".  If the user viewing the site doesn't have the perm selected in the dropdown, they will get a message saying "permission denied".  If the enabled checkbox is not checked, the op will not exist at all and the user will get a "Page Not Found" 404 error.

I hope you can see by now that with the combination of Ops, Block Templates, and Boxes, you can do most anything you wish with your site design.  At least, anything that is possible in MySQL and Perl.

Hooks:

As if that wasn't enough, Scoop has functionality called hooks, found under the Hooks admin tool.  A hook is a way to make a action link to something else, like a box or a scoop function.  Scoop doesn't ship with any hooks enabled, so I can't give you any examples.

Like an op, you can bind a hook to a box or other scoop function that isn't enabled by default.  For example, if you wanted scoop to email you when a story was posted, you could create a box that did the email, and then bind the function story_post to your new box.

Go to work:

That should be more than enough to get you started. I hope you enjoy customizing your scoop site!

< Open Source | style sheets >

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

Login
Make a new account
Username:
Password:

Poll
Was this document helpful?
· Yes 50%
· No 0%
· - 16%
· theantix was here 33%

Votes: 6
Results | Other Polls

Related Links
· Scoop
· Kuro5hin
· Site Controls
· Blocks
· Boxes
· Groups
· Ops
· Hooks
· Scoop Box Exchange
· block
· http://www .kuro5hin.org/story/2002/1/15/231539/319
· template
· box
· perm
· op
· More on Docs
· Also by theantix

Story Views
  487 Scoop users have viewed this story.

Display: Sort:
So, you've installed Scoop | 25 comments (22 topical, 0 hidden)
good intro (5.00 / 1) (#4)
by Phantros on Fri Oct 11, 2002 at 02:14:59 PM PST

A good introduction. I think it was good that you included hooks, because I haven't seen them mentioned elsewhere. More on them would be nice in a future story, with examples of how they've been used so far.

A list of possible problems might be interesting for people unfamiliar with scoop. The other day I was editing the login box and was about to logout and test it before realizing that if it was broken, I wouldn't be able to log back in and fix it. That would have been an amusing learning experience. ;)

Incidentally, the blocks link is broken.

4Literature - Read, write, and discuss your favorite books.



comparison with drupal? (none / 0) (#5)
by hezair on Sat Oct 12, 2002 at 11:18:12 AM PST

hello, i'm a bit lost here, not sure where I should ask this (was looking for forums)...

Anyone here have any experience with Drupal v. Scoop? In terms of ..
  • usabilty on the front and back ends, and availablity of modules (where are the scoop modules?)
  • templates-sharing where are the scoop templates?)
  • quality of the code seperated from formatting, etc?
i'm sorry, just a little bit lost-ish.
thanks for any advice...



yes, but how do I create a theme? (none / 0) (#10)
by 606 on Thu May 06, 2004 at 12:18:01 PM PST

Hi all,

I'm going nuts trying to figure this out... how do I add a theme to Scoop? Currently I have default and greyscale installed. I want to make a new one that extends default so I can try some stuff out. How in heck's name do I do it?



Link To Theme Guide No Longer Working (none / 0) (#13)
by honewatson on Sat Jan 28, 2006 at 06:26:59 AM PST

Hey, The link posted before to themes is no longer working. So was just wondering where is the guide to the theme's page?



I want to install a scoop (none / 0) (#15)
by funvideoblog on Tue May 02, 2006 at 08:03:35 PM PST

I want to install a scoop



Can you tell me how to (none / 0) (#16)
by Vincent on Tue Jan 06, 2009 at 12:15:48 AM PST

Wil jij idool worden? Dan krijg je vanaf begin volgend jaar weer de kans bij RTL 4. De zender komt terug met het format X Factor. Wendy van Dijk krijgt dit keer niet de exclusieve presentatie, dat mag ze samen gaan doen met Martijn Krabbé, zo meldt De Telegraaf. Marianne van Wijnkoop zit vrijwel zeker in de jury, de andere twee juryleden zijn nog onduidelijk. Henkjan Smits stapte zoals bekend over naar SBS 6 en Henk Temming in de jury was niet echt een succes. Opvallend is dat de talentenjacht dit keer niet in september begint, maar pas in het nieuwe jaar. Daardoor zal de talentenjacht dit keer tot aan het begin van de zomerperiode duren, een periode waarin de kijkcijfers doorgaans afvlakken. Dat terwijl X Factor al een matig kijkcijfersucces was in vergelijking tot Idols. Een andere opvallende wijziging: X Factor wordt niet langer uitgesmeerd over twee avonden, maar de live-show en uitslag zullen op één avond zijn te zien. Slimme zet, want de kijker heeft volgens mij ook wel door dat hij hiermee aan het lijntje wordt gehouden. In X Factor kunnen mensen van jong tot oud meedoen. In de liveshows strijden ze gecategoriseerd tegen elkaar: jong (tot 26), ouder (26+) en groepjes. De winnaar van X Factor I was Sharon Kips, die inmiddels een televisiecarrière bij de EO is begonnen.



Scoop (none / 0) (#17)
by mike22122 on Wed Feb 04, 2009 at 01:49:19 AM PST

Thank you for your cool article. online tv - To get some TV resouces here: watch tv online and free online tv Thanks



AYpearl (none / 0) (#18)
by Lucy0422 on Thu Feb 26, 2009 at 10:44:09 PM PST

wholesale jewelry,wholesale handmade jewelry,wholesale fashion jewelry,wholesale costume jewelry handmade jewelry costume jewelry jewelry wholesale,discount jewelry,cheap jewelry wholesale pearl wholesale crystal



suggestion (none / 0) (#19)
by vegaskid on Fri Feb 27, 2009 at 06:12:21 PM PST

Have you ever considered adding more videos to your blog posts to keep the readers more entertained? I mean I just read through the entire article of yours and it was quite good but since I'm more of a visual learner,I found that to be more helpful well let me know how it turns out! I love what you guys are always up too. Such clever work and reporting! Keep up the great works guys I've added you guys to my blogroll. This is a great article thanks for sharing this informative information.. I will visit your blog regularly for some latest post.
-----------------------

Regards,
----------------------
Jacky
wedding invitation boxes



haing read (none / 0) (#20)
by zracx on Mon Dec 16, 2013 at 08:15:26 PM PST

this website Having read this I thought it was rather informative. I appreciate you spending some time and effort to put this content together. this site I once again find myself spending a lot of time both reading and leaving comments. But so what, it was still worth it! this post



how will you use (none / 0) (#21)
by nelly90 on Sat Aug 30, 2014 at 09:16:42 AM PST

You'll find normally absolutely a good amount of facts that will adheres fot it take into account. herbal alami Which is a excellent specify improve up. toko pasutri You can expect the actual concepts previously mentioned since typical creativeness but evidently you'll find inquiries bicara forum komunitas such as the one particular persons improve up where by the most important thing will likely be receiving operate carried out with honest effective rely on. blogkita free blog Many of us use? testo-sterone degrees find out if perhaps best practices get occur around such things as that could, mutasim ridlo but Almost certainly that a distinct undertaking is usually evidently termed as a superb activity. best forex broker Both kids contain the impression involving simply a moment's fulfillment, with the unwind with the lifestyles. An exceptional select, bisnis abenetwork My spouse and i just together with all this along with the actual relate who had previously been basically accomplishing a smaller research due to this. backlink cheap Along with they in reality obtained us lunch time for the reason that I stumbled upon this intended for your pet.. seem. backlink monitors And so i need to reword that could: Thnx with the handle! Nonetheless sure Thnkx intended for paying whenever to debate this, CV. Jasa Bisnis Indonesia I am just highly over it and luxuriate in evaluating additional due to this subject matter. Whenever, whenever you develop into practical knowledge, webinar bisnis online really does a single head bringing up-to-date your website to comprehend facts? It may be particularly a great choice to me professionally. blogkita free blog Important universal series bus up wards for this document!. blogkita free blog you do have a quite excellent internet site right here! must you help to make a few acquire blogposts with our internet site?



If needed (none / 0) (#22)
by henrywest on Mon Nov 30, 2015 at 08:27:46 AM PST

If needed for a unique business name or tagline or slogans, try fr a catchy business or brand name at http://eatmywords.com/services/names/, its a good sources to know. You can also as help of experts like Alexandra Watkins.



thank you guys!!! (none / 0) (#23)
by hunt85 on Thu Feb 11, 2016 at 05:44:34 AM PST

I found a lot of useful and interesting information, thank you guys! 192.168.l.254



Very nice post (none / 0) (#24)
by jakirson on Fri Feb 19, 2016 at 10:41:38 AM PST

Very nice post I just stumbled upon your weblog and wished to say that Ive truly enjoyed surfing around your blog posts In any case Ill be subscribing to your rss feed and I hope you write again soon.



Pretty nice post (none / 0) (#25)
by jakirson on Fri Feb 19, 2016 at 10:42:43 AM PST

Pretty nice post I just stumbled upon your weblog and wished to say that Ive truly enjoyed browsing your blog posts In any case Ill be subscribing on your rss feed and I hope you write once more soon. sciatica sos



So, you've installed Scoop | 25 comments (22 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