Topics

User Functions

Events

There are no upcoming events

What's New

Stories

No new stories

Comments last 2 weeks

No new comments

Trackbacks last 2 weeks

No new trackback comments

Links last 2 weeks

No recent new links

NEW FILES last 14 days

No new files

Welcome to Geeklog Wednesday, May 22 2013 @ 11:00 PM EDT

The following comments are owned by whomever posted them. This site is not responsible for what they say.

  • Blocks and Arguments
  • Authored by:krove on Thursday, July 11 2002 @ 09:14 AM EDT
Actually, after some thought, I figured that I had forgotten to declare the global variables I was using (i.e. GLOBAL $amode, $app_id, etc).

I made a block that allows someone on our Intranet to enter information pertaining to certain applications our customers send us (i.e. credit apps and new account applications). The block is very similar to the ShoutBox, but I needed to be able to edit and delete, so an image of a small pencil next to each app (with a short blurb) is provided. Click and the arguments are sent and only that app is presented in the block and in the proper form fields for either editting or deletion.

The block provides too little information (we really don\'t need anything more than the customer name, app type, app status and a short note) to qualify for me putting in the time to create a plugin.

My plug-in efforts have stalled on other fronts due to the rather complex setup (writing of admin side and public side), etc. The block works great in this manner, and because the block uses $PHP_SELF to define the edit link, a user can be on just about any page to edit an entry.

My next step will be to auto-archive entries that have reached an end-stage status of rejected or approved after about a week or two to another table.

Pretty sweet!