Sharing with you my Online help system

This WebDNA talk-list message is from

2006


It keeps the original formatting.
numero = 66296
interpreted = N
texte = The list has been so slow lately, I thought I'd share a tidy little bit of code with the diehards still on board. This is a help system. Just customize for your DB path. On the page help.html, put the following: =========== [text]db=^path/to/help.db[/text] [showif [submit]=update] Updated. [replace db=[db]&eqhskudatarq=[hsku]][formvariables][name]=[url][value][/url]&[/formvariables][/replace] [/showif] Online Help
[search db=[db]&eqhskudatarq=[hsku]] [showif [numfound]=0][append db=[db]]hsku=[hsku][/append][/showif] [founditems] [showif [edit]=t]
Title

Text

hsku=[hsku]


[/showif] [convertchars][title][/convertchars]

[convertchars][desc][/convertchars] [/founditems] [/search] [showif [ipaddress]=you.rIP.add.res]edit[/showif] ============== Here is the link going into it: (I put a javascript snippet on the link to make it open up as a small clean window, but left it out here for simplicity. Also, in this case, I favor meaningful English words for the hsku rather than numbers.) ============== Database: hskutitledesc =============== This is one of the simplest pieces of code I've written, and I like the way it automatically generates the new record. 1. Create link in your html page 2. Click link in browser 3. New record is created (if new) 4. Click 'edit' link on that page; type away. 5. Your IP address or other showif scheme will always show you the editing link. The usual permissions given... it's original code; feel free to use it; give me credit; don't resell it; I own copyright. Enjoy! Terry -- Terry Wilson | terry@terryfic.com | http://terryfic.com http://WhosComing.com - a simplified, affordable online reservation system http://TightPods.com -- stylish protection for your laptop -------------------------------------------------------------------------- Attitude is the only difference between ordeal and adventure. ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Sharing with you my Online help system ( Gary Krockover 2006)
  2. Sharing with you my Online help system ( Terry Wilson 2006)
The list has been so slow lately, I thought I'd share a tidy little bit of code with the diehards still on board. This is a help system. Just customize for your DB path. On the page help.html, put the following: =========== [text]db=^path/to/help.db[/text] [showif [submit]=update] Updated. [replace db=[db]&eqhskudatarq=[hsku]][formvariables][name]=[url][value][/url]&[/formvariables][/replace] [/showif] Online Help
[search db=[db]&eqhskudatarq=[hsku]] [showif [numfound]=0][append db=[db]]hsku=[hsku][/append][/showif] [founditems] [showif [edit]=t]
[thisurl]"> Title
[input][title][/input]" size=35>

Text

hsku=[hsku]


[/showif] [convertchars][title][/convertchars]

[convertchars][desc][/convertchars] [/founditems] [/search] [showif [ipaddress]=you.rIP.add.res][thisurl]?hsku=[hsku]&edit=t">edit[/showif] ============== Here is the link going into it: (I put a javascript snippet on the link to make it open up as a small clean window, but left it out here for simplicity. Also, in this case, I favor meaningful English words for the hsku rather than numbers.) ============== Database: hskutitledesc =============== This is one of the simplest pieces of code I've written, and I like the way it automatically generates the new record. 1. Create link in your html page 2. Click link in browser 3. New record is created (if new) 4. Click 'edit' link on that page; type away. 5. Your IP address or other showif scheme will always show you the editing link. The usual permissions given... it's original code; feel free to use it; give me credit; don't resell it; I own copyright. Enjoy! Terry -- Terry Wilson | terry@terryfic.com | http://terryfic.com http://WhosComing.com - a simplified, affordable online reservation system http://TightPods.com -- stylish protection for your laptop -------------------------------------------------------------------------- Attitude is the only difference between ordeal and adventure. ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Terry Wilson

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Nested tags count question (1997) Loop context to replace items (1998) OT: CT Scan might have saved my life!! (2006) Country & Ship-to address & other fields ? (1997) Redirect frame targets (1998) Running _every_ page through WebCat ? (1997) WebCat2: Items xx to xx shown, etc. (1997) NT [delete] (1998) Giving out error pages (1997) Part Html part WebDNA (1997) Event ticketing code? (2000) Nav. 4 probs with cart (1997) Windows 95/NT tip of the month (1998) Is this possible, WebCat2.0 and checkboxes (1997) [SearchString] problem with [search] context (1997) WebCat2b13MacPlugIn - [shownext method=post] ??? (1997) What am I missing (1997) Lots of bounce errors (2007) WebDNA Grep help wanted (2004) OT: MacAuthorize (2001)