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
Added Dynamic Textbox Resize Control Developer Diary
By coryking , Section Dev Notes []
Posted on Wed Apr 03, 2002 at 01:47:53 AM PST
I have added some new functionality to Scoop 0.8.1 which will allow you to resize the Intro, Extented Copy & Comment Text boxes. I dont know how the scoop developers feel about java script, but I'll submit this anyway. http://www.coryking.com/scoop_mods/

You can play with the new features at http://scooptest.azaleainternet.com

You will need to add the "resize.gif" to your images for the resize icon to appear

Also note, this is my first time submiting code to a project like this. I hope that you can use the diff files I've made, and that this is the right way to submit such things. Please also note the java script was borrowed from a university's weblog system.

< Bug20020324a : 2h vouchers in V10.00.02 | A few bugs in the new editing queue >

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 .coryking.com/scoop_mods/
· http://sco optest.azaleainternet.com
· coryking's Diary

Story Views
  24 Scoop users have viewed this story.

Display: Sort:
Added Dynamic Textbox Resize Control | 2 comments (2 topical, 0 hidden)
Good! (none / 0) (#1)
by Ranieri on Wed May 29, 2002 at 12:37:57 AM PST

That one of the things that's been irritating me a bit for a while now, but not yet enough to do something about it. I guess a lot of other peple are in that stage.
BTW, I had a look on the test site, but i can't seem to find a way to post comments, let alone resize the boxes.

On an unrelated note, i was wondering about the changes you made to scoop's HTML subs to handle custom tags (<POPUP> in your case). Is this a purely ad-hoc fix for <POPUP>, or is it a more general solution? Specifically, i would be interested in coding up a way to tie (via a block) a new tag to a specific box, and letting the code in the box do whatever is needed to translate it in "true" HTML. Parameters in the tag can be passed via the CGI object to the box, or through another similarly unsightly kludge.

This has the advantage of giving administrators of scoop sites more freedom without having to touch the acutal codebase, as is already true for so much other scoop features.

My questions to you are:

  • Have you perchance already coded up something similar? If so, would you be willing to share when school/time permits?
  • As someone with previous experience of hacking up the scoop HTML parts, do you have any pointers/ideas on how to do this?
All advice is welcome. I'm still a relative newbie having coded up only a box and a simple (hello-world type) op. The idea of tearing up scoop's HTML engine makes me a bit uneasy ...



Help a newbie? (none / 0) (#2)
by mahonri on Sat Jun 08, 2002 at 07:11:15 AM PST

OK, so I've never used a .diff before. I would love to try this. Could someone give me a quick example of the command line I would need to use to apply these .diff files?

Thanks.



Added Dynamic Textbox Resize Control | 2 comments (2 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