Question about Webcatalog and Webstar for Mac OS X
This WebDNA talk-list message is from
1998
It keeps the original formatting.
numero = 20656
interpreted = N
texte = Below is a snippet from Apple's developer news? Perhaps someone fromPacific Coast could answer... Are you going to make Webcatalog work with Webstar forMac OS X?Regards,Al Booth[6] Mac OS X Tool News: StarNine TechnologiesStarNine Technologies has announced plans to develop a CarbonAPI-based version of WebSTAR for use on Mac OS X (ten), whileproviding a smooth transition with Mac OS 8.5-compatible versions ofWebSTAR. Available after Apple's release of Mac OS X, the new CarbonAPI-based version of WebSTAR will take advantage of the powerfulfeatures of Mac OS X, including preemptive multitasking, memoryprotection, and advanced virtual memory.http://www.smithmicro.com/WebDNA-Talk wrote:> -> Problems with upload / WebCat> by Per Christian Lied > -> Re: BIG PROBLEMS with Checkboxes!!!> by Chris W. > -> RE: RE: Digest for 10/19/98> by Puchalski, Steve > -> RE: RE: Digest for 10/19/98> by Puchalski, Steve > -> Checkboxes and neSKUdata=[blank]> by Chris W. > -> [ShowIf] a either fields are blank> by akcat@shentel.net> -> Re: textA> by John G. Miller III > -> Re: [ShowIf] a either fields are blank> by Brian Willson > -> Tiny Store / Checkboxes> by John Hill > -> Re: [ShowIf] a either fields are blank> by John Hill > -> Re: textA> by PCS Technical Support > -> Re: Problems with upload / WebCat> by PCS Technical Support > -> Re: [ShowIf] a either fields are blank> by bdrum@aecsoft.com> -> Re: [ShowIf] a either fields are blank> by akcat@shentel.net> -> Re: [ShowIf] a either fields are blank> by Scott Szretter > -> need help with [sendmail] and [showif]s> by Dale Stokdyk > -> Re: need help with [sendmail] and [showif]s> by Will Starck > -> Re: need help with [sendmail] and [showif]s> by Christer Olsson > -> WC2 or 3: Displaying Search Result Relevance> by Nathan Hyde > -> Re: [ShowIf] a either fields are blank> by Kenneth Grome > -> Re: WC2 or 3: Displaying Search Result Relevance> by Grant Hulbert > -> WC 3.0.1 Mac days_to_date> by Nathan Hyde > -> Thanks Will and Christer (was: need help with [sendmail] and [showif]s)> by Dale Stokdyk > -> Sherlock and WebCat> by kmuelle3@ix.netcom.com>> ---------------------------------------------------------------------->> Date: 19 Oct 1998 03:04:18> From: Per Christian Lied > Subject: Problems with upload / WebCat>> I have buildt a simple publishing system in webcat.> The users use a form to supply text + picture.>> I use the NetDreams upoload plugin with the option enabled,> and thus get control over the picture. So far all is working superb.>> When I include a [protect] tag in my WebCat templates, the browser gets> into a loop when submitting the form to the upload plugin (or when> redirecting to the next wc template). It asks for username/password over> and over again.>> Anyone have a clue of what is going on?>> I guess this has something to do with the upload PI, but I just want to ask> the question on this group because it has NEVER failed me.>> Per Christian Lied>> ---------------------------------------------------------------------->> Date: 19 Oct 1998 07:43:03> From: Chris W. > Subject: Re: BIG PROBLEMS with Checkboxes!!!>> Well I figured out what was going on , it had nothing to do with my fields> being numerical or text , it was simply this>> [Search db=engine.txt&neSKUdata=[blank]&horsepowersort=1] <------the> horsepowersort is the problem> [foundItems]>
> > [/foundItems]> [/Search]>> so that fixed the problem with the wrong items showing up after the results> page , but now , I really need a way to sort all these items...> anything I put in the [Search] tag , causes a mix of data , and I cant put> a sort in the link going to the results page because the [Search]> will override it....>> anybody got any clues ??? I'll be around.....heh heh>> thanks,>> Chris>> At 02:53 PM 10/16/98, you wrote:> >Hey there , I'm back..heh heh and the problem is not solved , I got a few> >more questions also, what in the Invoice template refers> >to numerically indexed names ? the only thing I could get out of it was> >that you meant the [Interpret] tags , but those are not specific> >on numerical or text characters , In deed I did not have to Interpret all> >of the fields but the wrong items where still displayed.> >and you asked about the {search][founditems] and sugested useing> >[formvaribles] , well that didnt work ethier , the search is used to find> >the neSKUdata and thus with the show if check[index] finding the multiple> >SKU's being sent in at one time , I tried adding and neSKUdata=[blank]> >into the formvaribles command but that made it go hay wire..heh heh> >and last on the Results Template how do you see [part#] and [category] and> >having numerical prefixes ?> >> >I appreciate the effort , but the problem still exists , anyone else got a> >clue ?> >> >> >> >Thanks> >> >Chris> >> >> >> >> >> >> >> >At 11:15 AM 10/16/98, you wrote:> >>On 10/16/98 11:54 AM, Chris W. so noted...> >>> >>I think I've got a cold today, so I may not be the clearest, but this> >>jumped out at first glance.> >>> >>Your Invoice template refers to numerically indexed names for [check],> >>[part#] and [category] (also, why is [ModelDescription] being> >>[interpret]ed here?) ...> >>> >>>Invoice Template :> >>>> >>>[OrderFile cart=[cart]]> >>> >>>[Search db=[db]&neSKUdata=[blank]]> >>>[FoundItems]> >>>[ShowIf [Interpret][check[index]][/Interpret]=T]> >>>> >>>[AddLineItem db=[db]&cart=[cart]> >>>&sku=[sku]]part#=[Interpret][part#[index]][/Interpret]&Category=[Interpre> t][> >>>Category[index]][/Interpret]&ModelDescription=[Interpret]> >>>[ModelDescription][/Interpret][/AddLineItem]> >>>[/ShowIf]> >>>[/FoundItems]> >>>[/Search]> >>> >>But in the Results page, only [check] gets a numerical suffix. [part#]> >>and [category] do not ...> >>> >>>Results page :> >>> >>>[Search db=engine.txt&neSKUdata=[blank]&horsepowersort=1&cart=[cart]]> >>>[foundItems]> >>>> >>>
> >>>> >>>> >>>> >>>[/foundItems]> >>>[/Search]> >>> >>There may be other problems of a similar nature on the two pages as well,> >>but I think that this discrepancy between numbered and non-numbered> >>variables is at the root of your trouble.> >>> >>I should know better than to be posting : )> >>> >>> >>Rob Marquardt> >===================> >Part two. (see, *knew* I'd get into trouble! )> >Why are you doing a search on the Invoice Template to process the form?> >Instead of [search][founditems] shouldn't this be [formvariables]? Mixing> >commands and contexts always gets me confused -- even on a good day! ; )> >>Invoice Template :>> >>> >>[OrderFile cart=[cart]]> >>> >>> >>[Search db=[db]&neSKUdata=[blank]]> >>[FoundItems]> >>[ShowIf [Interpret][check[index]][/Interpret]=T]> >>> >>[AddLineItem db=[db]&cart=[cart]> >>&sku=[sku]]part#=[Interpret][part#[index]][/Interpret]&Category=[Interpret> ][> >>Category[index]][/Interpret]&ModelDescription=[Interpret]> >>[ModelDescription][/Interpret][/AddLineItem]> >>[/ShowIf]> >>[/FoundItems]> >>[/Search]> >>[include Fulfillment.txt]> >>[showif [email]!][include file=ThankYou.txt&v.email=[email]][/showif]> >> >Rob Marquardt> >=======================> >>> ---------------------------------------------------------------------->> Date: 19 Oct 1998 07:55:07> From: Puchalski, Steve > Subject: RE: RE: Digest for 10/19/98>> Will do, thanks!>> -----Original Message-----> From: WebDNA-Talk [SMTP:WebDNA-Talk@smithmicro.com]> Sent: Monday, October 19, 1998 9:48 AM> To: Puchalski, Steve> Subject: Re: RE: Digest for 10/19/98>> Your message could not be posted because the subject is not> meaningful.> Please resend your message with a meaningful subject.>> -------------------- Original Message Follows --------------------> Karel,> We have the client software on order for you, I will check to see> when we> expect it in here. Once we have it, we will just turn around and> send it off> to you.>> Regards,> Steve>> -----Original Message-----> From: WebDNA-Talk> [SMTP:WebDNA-Talk@smithmicro.com]> Sent: Monday, October 19, 1998 2:25 AM> To: WebDNA-Talk> Subject: Digest for 10/19/98>> -> Re: Search Results> by PCS Technical Support > -> Re: textA> by PCS Technical Support >>>> - ---------------------------------------------------------------------->> Date: 18 Oct 1998 14:12:59> From: PCS Technical Support > Subject: Re: Search Results>> >Is there a way to format search results into a matrix. For> example, I have> >a photo database and I would like to display my photos in a> matirx> after> >performing a data-base search.>> Yes, the GeneralStore example provided with WebCatalog 2.x> (also> available> separately via ftp://ftp.smithmicro.com/webDNA_Examples/> shows a> grid of> search results in the main store page.>> Technical Support | ==== eCommerce and> Beyond ====> Pacific Coast Software | WebCatalog, WebMerchant,> 11770 Bernardo Plaza Court | SiteEdit Pro,> PhotoMaster,> San Diego, CA 92128 | Typhoon> 619/675-1106 Fax: 619/675-0372 |> http://www.smithmicro.com/>>>> - ---------------------------------------------------------------------->> Date: 18 Oct 1998 14:13:17> From: PCS Technical Support > Subject: Re: textA>> >How do we move [size] info into [textA-E] so that it may be> stored> in the> >Order?>> Set the name of your size popup to textC>> Technical Support | ==== eCommerce and> Beyond ====> Pacific Coast Software | WebCatalog, WebMerchant,> 11770 Bernardo Plaza Court | SiteEdit Pro,> PhotoMaster,> San Diego, CA 92128 | Typhoon> 619/675-1106 Fax: 619/675-0372 |> http://www.smithmicro.com/>>>> - ------------------------------------------------------------------------->>> ---------------------------------------------------------------------->> Date: 19 Oct 1998 08:00:55> From: Puchalski, Steve > Subject: RE: RE: Digest for 10/19/98>> Oooops, sent to the wrong place>> -----Original Message-----> From: WebDNA-Talk [SMTP:WebDNA-Talk@smithmicro.com]> Sent: Monday, October 19, 1998 9:48 AM> To: Puchalski, Steve> Subject: Re: RE: Digest for 10/19/98>> Your message could not be posted because the subject is not> meaningful.> Please resend your message with a meaningful subject.>> -------------------- Original Message Follows --------------------> Karel,> We have the client software on order for you, I will check to see> when we> expect it in here. Once we have it, we will just turn around and> send it off> to you.>> Regards,> Steve>> -----Original Message-----> From: WebDNA-Talk> [SMTP:WebDNA-Talk@smithmicro.com]> Sent: Monday, October 19, 1998 2:25 AM> To: WebDNA-Talk> Subject: Digest for 10/19/98>> -> Re: Search Results> by PCS Technical Support > -> Re: textA> by PCS Technical Support >>>> - ---------------------------------------------------------------------->> Date: 18 Oct 1998 14:12:59> From: PCS Technical Support > Subject: Re: Search Results>> >Is there a way to format search results into a matrix. For> example, I have> >a photo database and I would like to display my photos in a> matirx> after> >performing a data-base search.>> Yes, the GeneralStore example provided with WebCatalog 2.x> (also> available> separately via ftp://ftp.smithmicro.com/webDNA_Examples/> shows a> grid of> search results in the main store page.>> Technical Support | ==== eCommerce and> Beyond ====> Pacific Coast Software | WebCatalog, WebMerchant,> 11770 Bernardo Plaza Court | SiteEdit Pro,> PhotoMaster,> San Diego, CA 92128 | Typhoon> 619/675-1106 Fax: 619/675-0372 |> http://www.smithmicro.com/>>>> - ---------------------------------------------------------------------->> Date: 18 Oct 1998 14:13:17> From: PCS Technical Support > Subject: Re: textA>> >How do we move [size] info into [textA-E] so that it may be> stored> in the> >Order?>> Set the name of your size popup to textC>> Technical Support | ==== eCommerce and> Beyond ====> Pacific Coast Software | WebCatalog, WebMerchant,> 11770 Bernardo Plaza Court | SiteEdit Pro,> PhotoMaster,> San Diego, CA 92128 | Typhoon> 619/675-1106 Fax: 619/675-0372 |> http://www.smithmicro.com/>>>> - ------------------------------------------------------------------------->>> ---------------------------------------------------------------------->> Date: 19 Oct 1998 08:25:06> From: Chris W. > Subject: Checkboxes and neSKUdata=[blank]>> one simple question , can checkboxes be used WITHOUT the neSKUdata=[blank]> ? if so ... SHOW ME THE WAY....hehheh> the checkboxes work great to display every item in the database but I want> to just pull up a few certain ones from a search form.> anyone with helpful tips ?>> thanks>> Chris>> ---------------------------------------------------------------------->> Date: 19 Oct 1998 09:23:06> From: akcat@shentel.net> Subject: [ShowIf] a either fields are blank>> I want text to show only if certain fields were left blank. As long as I> specify only one field, this works fine: [ShowIf [eMail]!] Your forgot> your email address[/ShowIf]> But I have 10 fields which I would like for the customer to fill out. I> any of these are left blank, I would like something to show. How do you> indicate that if [eMail] or [FirstName] or etc... are blank, then show a> certain text?> This does not work> [ShowIf [email]1&[FirstName]!]Your forgot....[/ShowIf]> I want to avoid using the standard RequiredFields command> Any suggestions?>> ---------------------------------------------------------------------->> Date: 19 Oct 1998 09:49:05> From: John G. Miller III > Subject: Re: textA>> At 4:11 PM 10/18/98, you wrote:>> >>How do we move [size] info into [textA-E] so that it may be stored in the> >>Order?> >> >Set the name of your size popup to textC> >>> We got it to work, but we needed to set the popup name to textC[lineIndex]> <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>> John G. Miller III> The Miller Group> Web Development for Business> http://www.miller-burns.com> http://www.springfield-mall.com>> ---------------------------------------------------------------------->> Date: 19 Oct 1998 10:47:10> From: Brian Willson > Subject: Re: [ShowIf] a either fields are blank>> At 10/19/98 7:27 am, Mike Eberly wrote:>> >But I have 10 fields which I would like for the customer to fill out. I> >any of these are left blank, I would like something to show. How do you> >indicate that if [eMail] or [FirstName] or etc... are blank, then show a> >certain text?>> I don't know if it's the easiest way, but we use a couple variables, like> so:>> > >> The errflag variable keeps track of any required field left empty;> incrementing errnum keeps track of which one. Like so:>> [showif [name]=]> [showif [math]errflag[/math]=0]> > > [/showif]> [/showif]>> [showif [address]=]> [showif [math]errflag[/math]=0]> > > [/showif]> [/showif]>> Then check for the errnum/errflag combos:>> [showif [math]errflag[/math]>0]>> Oops! You've forgotten to fill out a required field!> Please use your browser's Back button and>> [showif [math]errnum[/math]=1]> tell us your name. Thanks!> [/showif]>> [showif [math]errnum[/math]=2]> supply us with your mailing address. Thanks!> [/showif]>> [/showif]>> [hideif [math]errflag[/math]>0]>> >> [/hideif]>> Like I say, there's probably an easier way.>> Brian> 3IP>> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .> Brian Willson Three Islands Press> willson@3ip.com http://www.3ip.com/>> ---------------------------------------------------------------------->> Date: 19 Oct 1998 10:52:22> From: John Hill > Subject: Tiny Store / Checkboxes>> I think some of the confusion comes down to the method used in the Tiny Store> to add items to the cart. The method used is dependent on a particular sort> order, but does not specify the order. It would be better to do the following> on the entry page:>> [Search db=catalog.db&neSKUdata=[blank]]> [FoundItems]> Buy> Size:> Qty:> [title]: $[price]> > [/foundItems]> [/Search]>> Then, on the invoice page, use the [formvariables] context to add the skus of> all the form varaibles checked:>> [formvariables name=item&exact=f]> [math show=f]the_index=[getchars start=6][name][/getchars][/math]>> [AddLineItem> db=[db]&cart=[cart]&sku=[url][value][/url]]quantity=[interpret][qty_[math]the_index[/math]][/interpret]&textA=[interpret][size_[math]the_index[/math]][/interpret]> [/AddLineItem]> [/formvariables]>> This eliminates the guess-work out of which items to add to the cart and> hopefully makes the interaction easier to understand.>> John.> John A. Hill, V.P. Marketing> Pacific Coast Software> eCommerce / Web Developer Tools> http://www.smithmicro.com>> ---------------------------------------------------------------------->> Date: 19 Oct 1998 11:10:26> From: John Hill > Subject: Re: [ShowIf] a either fields are blank>> I would make a little include file with something like this:>> [showif [email]=]> text> [/showif]> [showif [firstname]=]>> [/showif]>> The advantage of this is that you can tell the user exactly which field needs> to be fixed.>> John.> >I want text to show only if certain fields were left blank. As long as I> >specify only one field, this works fine: [ShowIf [eMail]!] Your forgot> >your email address[/ShowIf]> >But I have 10 fields which I would like for the customer to fill out. I> >any of these are left blank, I would like something to show. How do you> >indicate that if [eMail] or [FirstName] or etc... are blank, then show a> >certain text?> >This does not work> >[ShowIf [email]1&[FirstName]!]Your forgot....[/ShowIf]> >I want to avoid using the standard RequiredFields command> >Any suggestions?>> John A. Hill, V.P. Marketing> Pacific Coast Software> eCommerce / Web Developer Tools> http://www.smithmicro.com>> ---------------------------------------------------------------------->> Date: 19 Oct 1998 11:40:25> From: PCS Technical Support > Subject: Re: textA>> >We got it to work, but we needed to set the popup name to textC[lineIndex]>> Yes, there are two ways to do it. Simply setting textC=blah is sufficient> for times when you are Adding a single item to the cart, but when you've> got a page full of popups with a list of lineitems, it's necessary to put> the [lineIndex] after the popup name so it's unambiguous as to which> lineitem you want changed.>> Technical Support | ==== eCommerce and Beyond ====> Pacific Coast Software | WebCatalog, WebMerchant,> 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,> San Diego, CA 92128 | Typhoon> 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/>> ---------------------------------------------------------------------->> Date: 19 Oct 1998 11:40:43> From: PCS Technical Support > Subject: Re: Problems with upload / WebCat>> >When I include a [protect] tag in my WebCat templates, the browser gets> >into a loop when submitting the form to the upload plugin (or when> >redirecting to the next wc template). It asks for username/password over> >and over again.>> My guess is that your upload plugin has a different username/password than> the WebCatalog [protect] group does. So both programs are asking for> different passwords on the *same* page.>> Technical Support | ==== eCommerce and Beyond ====> Pacific Coast Software | WebCatalog, WebMerchant,> 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,> San Diego, CA 92128 | Typhoon> 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/>> ---------------------------------------------------------------------->> Date: 19 Oct 1998 12:10:31> From: bdrum@aecsoft.com> Subject: Re: [ShowIf] a either fields are blank>> > I want text to show only if certain fields were left blank. As long> > as I specify only one field, this works fine: [ShowIf [eMail]!] Your> > forgot your email address[/ShowIf] But I have 10 fields which I would> > like for the customer to fill out. I any of these are left blank, I> > would like something to show. How do you indicate that if [eMail] or> > [FirstName] or etc... are blank, then show a certain text?> > This does not work [ShowIf [email]1&[FirstName]!]Your forgot....> > [/ShowIf] I want to avoid using the standard RequiredFields command> > Any suggestions?>> I use the RequiredFields command, but edited the ErrorMessages.db to> redirect to a custom error page:>> RequiredField [redirect /errors/forms.html?command=showpage¶m1=[param1]]>> This sends the browser and the first missing field (param1) to a page> that includes showIf's for each possible missing field:>>
[showif [param1]=name]You forgot to enter your name.[/showif]> [showif [param1]=age]You forgot to enter your age.[/showif]> Please use your browser's Back button and complete the form.
>> The first empty field was enough for me; if you want to list all the> missing information, I sure you could come up with a loop that checks> param1, param2, param3, etc. Good luck,>> Brian>> ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::> : Brian.Drum :::::::::::::::::::::::::::::::: mailto:bdrum@aecsoft.com :> : Web.Designer :::::::::::::::::::::::::::::::: http://www.aecsoft.com :> : AEC.Software;.Inc.:::::::::::::::::::::::::::: tel:703.450.1980 ::::::> ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::>> ---------------------------------------------------------------------->> Date: 19 Oct 1998 12:13:58> From: akcat@shentel.net> Subject: Re: [ShowIf] a either fields are blank>> Where would you put this?> If you have required fields, and the customer leaves one or more of them> blank, an automatic error message is generated (at least that is what I> thought). Would the examples that you sent in your email override this?> I don't quite understang where these variables would be used.>> ---------------------------------------------------------------------->> Date: 19 Oct 1998 14:03:04> From: Scott Szretter > Subject: Re: [ShowIf] a either fields are blank>> I beleive you would remove the 'required fields' line from your> invoiceinfo.txt, and then on the thankyou.tpl page, use the code to check each> of the fields, and set the flag...>> >Where would you put this?> >If you have required fields, and the customer leaves one or more of them> >blank, an automatic error message is generated (at least that is what I> >thought). Would the examples that you sent in your email override this?> >I don't quite understang where these variables would be used.>> ---------------------------------------------------------------------->> Date: 19 Oct 1998 14:09:05> From: Dale Stokdyk > Subject: need help with [sendmail] and [showif]s>> Hi. Am having trouble getting this to work...>> I've set up a simple form for people to subscribe to our company newsletter> (see at http://www.me2u.com/LoveLore/Newsletter/archive.tmpl ). The form> gives you 3 options:>> 1) subscribe> 2) unsubscribe> 3) get help>> and asks for your email address.>> This info is passed to the next page (currently> http://wwww.me2u.com/LoveLore/Newsletter/subscription.tmpl ), where I'm> using [ShowIf] with [SendMail] in order to send an email message to the> correct email address (subscribe, unsubscribe, or help):>> [showif [choose]=sub][SendMail> to=LoveLetter-on@mail-list.com&from=[subscriber_address]&subject=> ][/SendMail][/showif]>> [showif [choose]=unsub][SendMail> to=LoveLetter@mail-list.com&from=[subscriber_address]&subject=> ][/SendMail][/showif]>> [showif [shoose]=help][SendMail> to=LoveLetter-help@mail-list.com&from=[subscriber_address]&subject=> ][/SendMail]]/showif]>> The emails are getting sent OK, but something is happening with the> multiple [showif]s -- I think! -- to cause the rest of the page (HTML) from> showing. Am I right about this? Thanks in advance for help with this!>> Dale>> ps -- the variables passed are shown at the top of the second page using> the following DNA:>> [formvariables]> [name] = [value] > [/formvariables]>> ---------------------------------------------------------------------->> Date: 19 Oct 1998 14:49:09> From: Will Starck > Subject: Re: need help with [sendmail] and [showif]s>> - ----------> >From: Dale Stokdyk > >To: WebDNA-Talk@smithmicro.com> >Subject: need help with [sendmail] and [showif]s> >Date: Mon, Oct 19, 1998, 5:16 PM> >>> >[showif [shoose]=help][SendMail> ^^^^^^^^>> This IS spelled properly, no?>> >to=LoveLetter-help@mail-list.com&from=[subscriber_address]&subject=> >][/SendMail]]/showif]>> Will> +++++++++++++> >> ---------------------------------------------------------------------->> Date: 19 Oct 1998 15:04:15> From: Christer Olsson > Subject: Re: need help with [sendmail] and [showif]s>> >Hi. Am having trouble getting this to work...> >> >I've set up a simple form for people to subscribe to our company newsletter> >(see at http://www.me2u.com/LoveLore/Newsletter/archive.tmpl ). The form> >gives you 3 options:> >> >1) subscribe> >2) unsubscribe> >3) get help> >> >and asks for your email address.> >> >This info is passed to the next page (currently> >http://wwww.me2u.com/LoveLore/Newsletter/subscription.tmpl ), where I'm> >using [ShowIf] with [SendMail] in order to send an email message to the> >correct email address (subscribe, unsubscribe, or help):> >> >> >[showif [choose]=sub][SendMail> >to=LoveLetter-on@mail-list.com&from=[subscriber_address]&subject=> >][/SendMail][/showif]> >> >[showif [choose]=unsub][SendMail> >to=LoveLetter@mail-list.com&from=[subscriber_address]&subject=> >][/SendMail][/showif]> >> >[showif [shoose]=help][SendMail> >to=LoveLetter-help@mail-list.com&from=[subscriber_address]&subject=> >][/SendMail]]/showif]> >> >> >The emails are getting sent OK, but something is happening with the> >multiple [showif]s -- I think! -- to cause the rest of the page (HTML) from> >showing. Am I right about this? Thanks in advance for help with this!>> I found one miss spelled option and one bad bracket:>> >[showif [shoose]=help][SendMail> ^> >to=LoveLetter-help@mail-list.com&from=[subscriber_address]&subject=> >][/SendMail]]/showif]> ^>> *************************************************************> Christer Olsson Stora Nygatan 21 Phone +46 40 791 50> Ljusa Ideer AB S-211 37 Malmoe Fax +46 40 97 99 77> Sweden http://www.ljusaideer.se>> ---------------------------------------------------------------------->> Date: 19 Oct 1998 16:42:31> From: Nathan Hyde > Subject: WC2 or 3: Displaying Search Result Relevance>> Is it possible to display the relevance of the results for each entry. (I do> know that if I do not specify a field to sort by that the results will> display by relevance but would like to display something like by percent> like a search engine...)>> Thanks.>> Nathan Hyde> Casady & Greene> email: nh_is@casadyg.com, nhyde@mail3.casadyg.com> web page: http://www.casadyg.com> MacBundle.com: http://www.macbundle.com> WinBundle.com: http://www.winbundle.com>> ---------------------------------------------------------------------->> Date: 19 Oct 1998 18:28:43> From: Kenneth Grome > Subject: Re: [ShowIf] a either fields are blank>> >I want text to show only if certain fields were left blank. As long as I> >specify only one field, this works fine: [ShowIf [eMail]!] Your forgot> >your email address[/ShowIf]> >But I have 10 fields which I would like for the customer to fill out. I> >any of these are left blank, I would like something to show. How do you> >indicate that if [eMail] or [FirstName] or etc... are blank, then show a> >certain text?> >This does not work> >[ShowIf [email]1&[FirstName]!]Your forgot....[/ShowIf]> >I want to avoid using the standard RequiredFields command> >Any suggestions?>> Try using ten [showif]'s instead of one.> Each [showif] needs to be separated from the others ... :)>> Sincerely,> Ken Grome> 808-737-6499> WebDNA Solutions> mailto:ken@webdna.net> http://www.webdna.net>> ---------------------------------------------------------------------->> Date: 19 Oct 1998 19:20:34> From: Grant Hulbert > Subject: Re: WC2 or 3: Displaying Search Result Relevance>> >Is it possible to display the relevance of the results for each entry. (I do> >know that if I do not specify a field to sort by that the results will> >display by relevance but would like to display something like by percent> >like a search engine...)>> Sorry, we do not expose the relevance information. I think it's a good> idea, and we've talked about it, but there are some technical reasons why> it's not available right now.>> Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ====> Pacific Coast Software | WebCatalog, WebMerchant,> 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,> San Diego, CA 92128 | Typhoon> 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/>> ---------------------------------------------------------------------->> Date: 19 Oct 1998 21:02:40> From: Nathan Hyde > Subject: WC 3.0.1 Mac days_to_date>> Hi.>> I am unable to get [format days_to_date %B][math]{[date]}[/math][/format]> to work properly. The code above returns December when using today's date,> 10/19/1998. I'm using the Mac cgi, v3.0.1 with WebStar 2.1. (WC 2.x likes> the above code.)>> Any hints as to how I can correct this?>> Thanks.>> Nathan Hyde> Casady & Greene> email: nh_is@casadyg.com, nhyde@mail3.casadyg.com> web page: http://www.casadyg.com> MacBundle.com: http://www.macbundle.com> WinBundle.com: http://www.winbundle.com>> ---------------------------------------------------------------------->> Date: 19 Oct 1998 21:14:36> From: Dale Stokdyk > Subject: Thanks Will and Christer (was: need help with [sendmail] and> [showif]s)>> Thanks Will and Christer!>> I was staring so hard at the subscribe and unsubscribe code (which was> what I needed to work), that I *completely* ignored the problems with the> third line for help!>> It's working as should now (sigh of relief!)...>> Dale>> ---------------------------------------------------------------------->> Date: 19 Oct 1998 22:01:09> From: kmuelle3@ix.netcom.com> Subject: Sherlock and WebCat>> Check out http://www.apple.com/sherlock/plugindev.html on the apple web> site.>> I am interested in writing a plug-in for Sherlock, the Mac OS 8.5> built-in search feature which allows OS 5.8 users to search the Web, and> also individual sites right from their desktop.>> Is is possible to search the db's in my WebCat site using such a> plug-in?>> Writing a Sherlock plug-in looks very similar to HTML but will it work> with WebCat's search method and database format?>> This seems like a great feature to provide for customers, just have them> download the plug-in and give them instant access to your products!>> Kevin Mueller> iFolio Digital Image Library>> -------------------------------------------------------------------------
Associated Messages, from the most recent to the oldest:
Question about Webcatalog and Webstar for Mac OS X (Allen Booth 1998)
Below is a snippet from Apple's developer news? Perhaps someone fromPacific Coast could answer... Are you going to make Webcatalog work with Webstar forMac OS X?Regards,Al Booth[6] Mac OS X Tool News: StarNine TechnologiesStarNine Technologies has announced plans to develop a CarbonAPI-based version of WebSTAR for use on Mac OS X (ten), whileproviding a smooth transition with Mac OS 8.5-compatible versions ofWebSTAR. Available after Apple's release of Mac OS X, the new CarbonAPI-based version of WebSTAR will take advantage of the powerfulfeatures of Mac OS X, including preemptive multitasking, memoryprotection, and advanced virtual memory.http://www.smithmicro.com/WebDNA-Talk wrote:> -> Problems with upload / WebCat> by Per Christian Lied > -> Re: BIG PROBLEMS with Checkboxes!!!> by Chris W. > -> RE: RE: Digest for 10/19/98> by Puchalski, Steve > -> RE: RE: Digest for 10/19/98> by Puchalski, Steve > -> Checkboxes and neSKUdata=[blank]> by Chris W. > -> [showif] a either fields are blank> by akcat@shentel.net> -> Re: textA> by John G. Miller III > -> Re: [showif] a either fields are blank> by Brian Willson > -> Tiny Store / Checkboxes> by John Hill > -> Re: [showif] a either fields are blank> by John Hill > -> Re: textA> by PCS Technical Support > -> Re: Problems with upload / WebCat> by PCS Technical Support > -> Re: [showif] a either fields are blank> by bdrum@aecsoft.com> -> Re: [showif] a either fields are blank> by akcat@shentel.net> -> Re: [showif] a either fields are blank> by Scott Szretter > -> need help with [sendmail] and [showif]s> by Dale Stokdyk > -> Re: need help with [sendmail] and [showif]s> by Will Starck > -> Re: need help with [sendmail] and [showif]s> by Christer Olsson > -> WC2 or 3: Displaying Search Result Relevance> by Nathan Hyde > -> Re: [showif] a either fields are blank> by Kenneth Grome > -> Re: WC2 or 3: Displaying Search Result Relevance> by Grant Hulbert > -> WC 3.0.1 Mac days_to_date> by Nathan Hyde > -> Thanks Will and Christer (was: need help with [sendmail] and [showif]s)> by Dale Stokdyk > -> Sherlock and WebCat> by kmuelle3@ix.netcom.com>> ---------------------------------------------------------------------->> Date: 19 Oct 1998 03:04:18> From: Per Christian Lied > Subject: Problems with upload / WebCat>> I have buildt a simple publishing system in webcat.> The users use a form to supply text + picture.>> I use the NetDreams upoload plugin with the option enabled,> and thus get control over the picture. So far all is working superb.>> When I include a [protect] tag in my WebCat templates, the browser gets> into a loop when submitting the form to the upload plugin (or when> redirecting to the next wc template). It asks for username/password over> and over again.>> Anyone have a clue of what is going on?>> I guess this has something to do with the upload PI, but I just want to ask> the question on this group because it has NEVER failed me.>> Per Christian Lied>> ---------------------------------------------------------------------->> Date: 19 Oct 1998 07:43:03> From: Chris W. > Subject: Re: BIG PROBLEMS with Checkboxes!!!>> Well I figured out what was going on , it had nothing to do with my fields> being numerical or text , it was simply this>> [Search db=engine.txt&neSKUdata=[blank]&horsepowersort=1] <------the> horsepowersort is the problem> [founditems]>
> > [/foundItems]> [/Search]>> so that fixed the problem with the wrong items showing up after the results> page , but now , I really need a way to sort all these items...> anything I put in the [search] tag , causes a mix of data , and I cant put> a sort in the link going to the results page because the [search]> will override it....>> anybody got any clues ??? I'll be around.....heh heh>> thanks,>> Chris>> At 02:53 PM 10/16/98, you wrote:> >Hey there , I'm back..heh heh and the problem is not solved , I got a few> >more questions also, what in the Invoice template refers> >to numerically indexed names ? the only thing I could get out of it was> >that you meant the [interpret] tags , but those are not specific> >on numerical or text characters , In deed I did not have to Interpret all> >of the fields but the wrong items where still displayed.> >and you asked about the {search][founditems] and sugested useing> >[formvaribles] , well that didnt work ethier , the search is used to find> >the neSKUdata and thus with the show if check[index] finding the multiple> >SKU's being sent in at one time , I tried adding and neSKUdata=[blank]> >into the formvaribles command but that made it go hay wire..heh heh> >and last on the Results Template how do you see [part#] and [category] and> >having numerical prefixes ?> >> >I appreciate the effort , but the problem still exists , anyone else got a> >clue ?> >> >> >> >Thanks> >> >Chris> >> >> >> >> >> >> >> >At 11:15 AM 10/16/98, you wrote:> >>On 10/16/98 11:54 AM, Chris W. so noted...> >>> >>I think I've got a cold today, so I may not be the clearest, but this> >>jumped out at first glance.> >>> >>Your Invoice template refers to numerically indexed names for [check],> >>[part#] and [category] (also, why is [ModelDescription] being> >>[interpret]ed here?) ...> >>> >>>Invoice Template :> >>>> >>>[OrderFile cart=[cart]]> >>> >>>[Search db=[db]&neSKUdata=[blank]]> >>>[founditems]> >>>[ShowIf [interpret][check[index]][/Interpret]=T]> >>>> >>>[AddLineItem db=[db]&cart=[cart]> >>>&sku=[sku]]part#=[interpret][part#[index]][/Interpret]&Category=[Interpre> t][> >>>Category[index]][/Interpret]&ModelDescription=[interpret]> >>>[ModelDescription][/Interpret][/AddLineItem]> >>>[/ShowIf]> >>>[/FoundItems]> >>>[/Search]> >>> >>But in the Results page, only [check] gets a numerical suffix. [part#]> >>and [category] do not ...> >>> >>>Results page :> >>> >>>[Search db=engine.txt&neSKUdata=[blank]&horsepowersort=1&cart=[cart]]> >>>[founditems]> >>>> >>>
> >>>> >>>> >>>> >>>[/foundItems]> >>>[/Search]> >>> >>There may be other problems of a similar nature on the two pages as well,> >>but I think that this discrepancy between numbered and non-numbered> >>variables is at the root of your trouble.> >>> >>I should know better than to be posting : )> >>> >>> >>Rob Marquardt> >===================> >Part two. (see, *knew* I'd get into trouble! )> >Why are you doing a search on the Invoice Template to process the form?> >Instead of [search][founditems] shouldn't this be [formvariables]? Mixing> >commands and contexts always gets me confused -- even on a good day! ; )> >>Invoice Template :>> >>> >>[OrderFile cart=[cart]]> >>> >>> >>[Search db=[db]&neSKUdata=[blank]]> >>[founditems]> >>[ShowIf [interpret][check[index]][/Interpret]=T]> >>> >>[AddLineItem db=[db]&cart=[cart]> >>&sku=[sku]]part#=[interpret][part#[index]][/Interpret]&Category=[Interpret> ][> >>Category[index]][/Interpret]&ModelDescription=[interpret]> >>[ModelDescription][/Interpret][/AddLineItem]> >>[/ShowIf]> >>[/FoundItems]> >>[/Search]> >>[include Fulfillment.txt]> >>[showif [email]!][include file=ThankYou.txt&v.email=[email]][/showif]> >> >Rob Marquardt> >=======================> >>> ---------------------------------------------------------------------->> Date: 19 Oct 1998 07:55:07> From: Puchalski, Steve > Subject: RE: RE: Digest for 10/19/98>> Will do, thanks!>> -----Original Message-----> From: WebDNA-Talk [SMTP:WebDNA-Talk@smithmicro.com]> Sent: Monday, October 19, 1998 9:48 AM> To: Puchalski, Steve> Subject: Re: RE: Digest for 10/19/98>> Your message could not be posted because the subject is not> meaningful.> Please resend your message with a meaningful subject.>> -------------------- Original Message Follows --------------------> Karel,> We have the client software on order for you, I will check to see> when we> expect it in here. Once we have it, we will just turn around and> send it off> to you.>> Regards,> Steve>> -----Original Message-----> From: WebDNA-Talk> [SMTP:WebDNA-Talk@smithmicro.com]> Sent: Monday, October 19, 1998 2:25 AM> To: WebDNA-Talk> Subject: Digest for 10/19/98>> -> Re: Search Results> by PCS Technical Support > -> Re: textA> by PCS Technical Support >>>> - ---------------------------------------------------------------------->> Date: 18 Oct 1998 14:12:59> From: PCS Technical Support > Subject: Re: Search Results>> >Is there a way to format search results into a matrix. For> example, I have> >a photo database and I would like to display my photos in a> matirx> after> >performing a data-base search.>> Yes, the GeneralStore example provided with WebCatalog 2.x> (also> available> separately via ftp://ftp.smithmicro.com/webDNA_Examples/> shows a> grid of> search results in the main store page.>> Technical Support | ==== eCommerce and> Beyond ====> Pacific Coast Software | WebCatalog, WebMerchant,> 11770 Bernardo Plaza Court | SiteEdit Pro,> PhotoMaster,> San Diego, CA 92128 | Typhoon> 619/675-1106 Fax: 619/675-0372 |> http://www.smithmicro.com/>>>> - ---------------------------------------------------------------------->> Date: 18 Oct 1998 14:13:17> From: PCS Technical Support > Subject: Re: textA>> >How do we move [size] info into [textA-E] so that it may be> stored> in the> >Order?>> Set the name of your size popup to textC>> Technical Support | ==== eCommerce and> Beyond ====> Pacific Coast Software | WebCatalog, WebMerchant,> 11770 Bernardo Plaza Court | SiteEdit Pro,> PhotoMaster,> San Diego, CA 92128 | Typhoon> 619/675-1106 Fax: 619/675-0372 |> http://www.smithmicro.com/>>>> - ------------------------------------------------------------------------->>> ---------------------------------------------------------------------->> Date: 19 Oct 1998 08:00:55> From: Puchalski, Steve > Subject: RE: RE: Digest for 10/19/98>> Oooops, sent to the wrong place>> -----Original Message-----> From: WebDNA-Talk [SMTP:WebDNA-Talk@smithmicro.com]> Sent: Monday, October 19, 1998 9:48 AM> To: Puchalski, Steve> Subject: Re: RE: Digest for 10/19/98>> Your message could not be posted because the subject is not> meaningful.> Please resend your message with a meaningful subject.>> -------------------- Original Message Follows --------------------> Karel,> We have the client software on order for you, I will check to see> when we> expect it in here. Once we have it, we will just turn around and> send it off> to you.>> Regards,> Steve>> -----Original Message-----> From: WebDNA-Talk> [SMTP:WebDNA-Talk@smithmicro.com]> Sent: Monday, October 19, 1998 2:25 AM> To: WebDNA-Talk> Subject: Digest for 10/19/98>> -> Re: Search Results> by PCS Technical Support > -> Re: textA> by PCS Technical Support >>>> - ---------------------------------------------------------------------->> Date: 18 Oct 1998 14:12:59> From: PCS Technical Support > Subject: Re: Search Results>> >Is there a way to format search results into a matrix. For> example, I have> >a photo database and I would like to display my photos in a> matirx> after> >performing a data-base search.>> Yes, the GeneralStore example provided with WebCatalog 2.x> (also> available> separately via ftp://ftp.smithmicro.com/webDNA_Examples/> shows a> grid of> search results in the main store page.>> Technical Support | ==== eCommerce and> Beyond ====> Pacific Coast Software | WebCatalog, WebMerchant,> 11770 Bernardo Plaza Court | SiteEdit Pro,> PhotoMaster,> San Diego, CA 92128 | Typhoon> 619/675-1106 Fax: 619/675-0372 |> http://www.smithmicro.com/>>>> - ---------------------------------------------------------------------->> Date: 18 Oct 1998 14:13:17> From: PCS Technical Support > Subject: Re: textA>> >How do we move [size] info into [textA-E] so that it may be> stored> in the> >Order?>> Set the name of your size popup to textC>> Technical Support | ==== eCommerce and> Beyond ====> Pacific Coast Software | WebCatalog, WebMerchant,> 11770 Bernardo Plaza Court | SiteEdit Pro,> PhotoMaster,> San Diego, CA 92128 | Typhoon> 619/675-1106 Fax: 619/675-0372 |> http://www.smithmicro.com/>>>> - ------------------------------------------------------------------------->>> ---------------------------------------------------------------------->> Date: 19 Oct 1998 08:25:06> From: Chris W. > Subject: Checkboxes and neSKUdata=[blank]>> one simple question , can checkboxes be used WITHOUT the neSKUdata=[blank]> ? if so ... SHOW ME THE WAY....hehheh> the checkboxes work great to display every item in the database but I want> to just pull up a few certain ones from a search form.> anyone with helpful tips ?>> thanks>> Chris>> ---------------------------------------------------------------------->> Date: 19 Oct 1998 09:23:06> From: akcat@shentel.net> Subject: [showif] a either fields are blank>> I want text to show only if certain fields were left blank. As long as I> specify only one field, this works fine: [ShowIf [eMail]!] Your forgot> your email address[/ShowIf]> But I have 10 fields which I would like for the customer to fill out. I> any of these are left blank, I would like something to show. How do you> indicate that if [eMail] or [FirstName] or etc... are blank, then show a> certain text?> This does not work> [ShowIf [email]1&[FirstName]!]Your forgot....[/ShowIf]> I want to avoid using the standard RequiredFields command> Any suggestions?>> ---------------------------------------------------------------------->> Date: 19 Oct 1998 09:49:05> From: John G. Miller III > Subject: Re: textA>> At 4:11 PM 10/18/98, you wrote:>> >>How do we move [size] info into [textA-E] so that it may be stored in the> >>Order?> >> >Set the name of your size popup to textC> >>> We got it to work, but we needed to set the popup name to textC[lineIndex]> <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>> John G. Miller III> The Miller Group> Web Development for Business> http://www.miller-burns.com> http://www.springfield-mall.com>> ---------------------------------------------------------------------->> Date: 19 Oct 1998 10:47:10> From: Brian Willson > Subject: Re: [showif] a either fields are blank>> At 10/19/98 7:27 am, Mike Eberly wrote:>> >But I have 10 fields which I would like for the customer to fill out. I> >any of these are left blank, I would like something to show. How do you> >indicate that if [eMail] or [FirstName] or etc... are blank, then show a> >certain text?>> I don't know if it's the easiest way, but we use a couple variables, like> so:>> > >> The errflag variable keeps track of any required field left empty;> incrementing errnum keeps track of which one. Like so:>> [showif [name]=]> [showif [math]errflag[/math]=0]> > > [/showif]> [/showif]>> [showif [address]=]> [showif [math]errflag[/math]=0]> > > [/showif]> [/showif]>> Then check for the errnum/errflag combos:>> [showif [math]errflag[/math]>0]>> Oops! You've forgotten to fill out a required field!> Please use your browser's Back button and>> [showif [math]errnum[/math]=1]> tell us your name. Thanks!> [/showif]>> [showif [math]errnum[/math]=2]> supply us with your mailing address. Thanks!> [/showif]>> [/showif]>> [hideif [math]errflag[/math]>0]>> >> [/hideif]>> Like I say, there's probably an easier way.>> Brian> 3IP>> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .> Brian Willson Three Islands Press> willson@3ip.com http://www.3ip.com/>> ---------------------------------------------------------------------->> Date: 19 Oct 1998 10:52:22> From: John Hill > Subject: Tiny Store / Checkboxes>> I think some of the confusion comes down to the method used in the Tiny Store> to add items to the cart. The method used is dependent on a particular sort> order, but does not specify the order. It would be better to do the following> on the entry page:>> [Search db=catalog.db&neSKUdata=[blank]]> [founditems]> Buy> Size:> Qty:> [title]: $[price]> > [/foundItems]> [/Search]>> Then, on the invoice page, use the [formvariables] context to add the skus of> all the form varaibles checked:>> [formvariables name=item&exact=f]> [math show=f]the_index=[getchars start=6][name][/getchars][/math]>> [AddLineItem> db=[db]&cart=[cart]&sku=[url][value][/url]]quantity=[interpret][qty_[math]the_index[/math]][/interpret]&textA=[interpret][size_[math]the_index[/math]][/interpret]> [/AddLineItem]> [/formvariables]>> This eliminates the guess-work out of which items to add to the cart and> hopefully makes the interaction easier to understand.>> John.> John A. Hill, V.P. Marketing> Pacific Coast Software> eCommerce / Web Developer Tools> http://www.smithmicro.com>> ---------------------------------------------------------------------->> Date: 19 Oct 1998 11:10:26> From: John Hill > Subject: Re: [showif] a either fields are blank>> I would make a little include file with something like this:>> [showif [email]=]> text> [/showif]> [showif [firstname]=]>> [/showif]>> The advantage of this is that you can tell the user exactly which field needs> to be fixed.>> John.> >I want text to show only if certain fields were left blank. As long as I> >specify only one field, this works fine: [ShowIf [eMail]!] Your forgot> >your email address[/ShowIf]> >But I have 10 fields which I would like for the customer to fill out. I> >any of these are left blank, I would like something to show. How do you> >indicate that if [eMail] or [FirstName] or etc... are blank, then show a> >certain text?> >This does not work> >[ShowIf [email]1&[FirstName]!]Your forgot....[/ShowIf]> >I want to avoid using the standard RequiredFields command> >Any suggestions?>> John A. Hill, V.P. Marketing> Pacific Coast Software> eCommerce / Web Developer Tools> http://www.smithmicro.com>> ---------------------------------------------------------------------->> Date: 19 Oct 1998 11:40:25> From: PCS Technical Support > Subject: Re: textA>> >We got it to work, but we needed to set the popup name to textC[lineIndex]>> Yes, there are two ways to do it. Simply setting textC=blah is sufficient> for times when you are Adding a single item to the cart, but when you've> got a page full of popups with a list of lineitems, it's necessary to put> the [lineIndex] after the popup name so it's unambiguous as to which> lineitem you want changed.>> Technical Support | ==== eCommerce and Beyond ====> Pacific Coast Software | WebCatalog, WebMerchant,> 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,> San Diego, CA 92128 | Typhoon> 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/>> ---------------------------------------------------------------------->> Date: 19 Oct 1998 11:40:43> From: PCS Technical Support > Subject: Re: Problems with upload / WebCat>> >When I include a [protect] tag in my WebCat templates, the browser gets> >into a loop when submitting the form to the upload plugin (or when> >redirecting to the next wc template). It asks for username/password over> >and over again.>> My guess is that your upload plugin has a different username/password than> the WebCatalog [protect] group does. So both programs are asking for> different passwords on the *same* page.>> Technical Support | ==== eCommerce and Beyond ====> Pacific Coast Software | WebCatalog, WebMerchant,> 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,> San Diego, CA 92128 | Typhoon> 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/>> ---------------------------------------------------------------------->> Date: 19 Oct 1998 12:10:31> From: bdrum@aecsoft.com> Subject: Re: [showif] a either fields are blank>> > I want text to show only if certain fields were left blank. As long> > as I specify only one field, this works fine: [ShowIf [eMail]!] Your> > forgot your email address[/ShowIf] But I have 10 fields which I would> > like for the customer to fill out. I any of these are left blank, I> > would like something to show. How do you indicate that if [eMail] or> > [FirstName] or etc... are blank, then show a certain text?> > This does not work [ShowIf [email]1&[FirstName]!]Your forgot....> > [/ShowIf] I want to avoid using the standard RequiredFields command> > Any suggestions?>> I use the RequiredFields command, but edited the ErrorMessages.db to> redirect to a custom error page:>> RequiredField [redirect /errors/forms.html?command=showpage¶m1=[param1]]>> This sends the browser and the first missing field (param1) to a page> that includes showIf's for each possible missing field:>>
[showif [param1]=name]You forgot to enter your name.[/showif]> [showif [param1]=age]You forgot to enter your age.[/showif]> Please use your browser's Back button and complete the form.
>> The first empty field was enough for me; if you want to list all the> missing information, I sure you could come up with a loop that checks> param1, param2, param3, etc. Good luck,>> Brian>> ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::> : Brian.Drum :::::::::::::::::::::::::::::::: mailto:bdrum@aecsoft.com :> : Web.Designer :::::::::::::::::::::::::::::::: http://www.aecsoft.com :> : AEC.Software;.Inc.:::::::::::::::::::::::::::: tel:703.450.1980 ::::::> ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::>> ---------------------------------------------------------------------->> Date: 19 Oct 1998 12:13:58> From: akcat@shentel.net> Subject: Re: [showif] a either fields are blank>> Where would you put this?> If you have required fields, and the customer leaves one or more of them> blank, an automatic error message is generated (at least that is what I> thought). Would the examples that you sent in your email override this?> I don't quite understang where these variables would be used.>> ---------------------------------------------------------------------->> Date: 19 Oct 1998 14:03:04> From: Scott Szretter > Subject: Re: [showif] a either fields are blank>> I beleive you would remove the 'required fields' line from your> invoiceinfo.txt, and then on the thankyou.tpl page, use the code to check each> of the fields, and set the flag...>> >Where would you put this?> >If you have required fields, and the customer leaves one or more of them> >blank, an automatic error message is generated (at least that is what I> >thought). Would the examples that you sent in your email override this?> >I don't quite understang where these variables would be used.>> ---------------------------------------------------------------------->> Date: 19 Oct 1998 14:09:05> From: Dale Stokdyk > Subject: need help with [sendmail] and [showif]s>> Hi. Am having trouble getting this to work...>> I've set up a simple form for people to subscribe to our company newsletter> (see at http://www.me2u.com/LoveLore/Newsletter/archive.tmpl ). The form> gives you 3 options:>> 1) subscribe> 2) unsubscribe> 3) get help>> and asks for your email address.>> This info is passed to the next page (currently> http://wwww.me2u.com/LoveLore/Newsletter/subscription.tmpl ), where I'm> using [showif] with [sendmail] in order to send an email message to the> correct email address (subscribe, unsubscribe, or help):>> [showif [choose]=sub][SendMail> to=LoveLetter-on@mail-list.com&from=[subscriber_address]&subject=> ][/SendMail][/showif]>> [showif [choose]=unsub][SendMail> to=LoveLetter@mail-list.com&from=[subscriber_address]&subject=> ][/SendMail][/showif]>> [showif [shoose]=help][SendMail> to=LoveLetter-help@mail-list.com&from=[subscriber_address]&subject=> ][/SendMail]]/showif]>> The emails are getting sent OK, but something is happening with the> multiple [showif]s -- I think! -- to cause the rest of the page (HTML) from> showing. Am I right about this? Thanks in advance for help with this!>> Dale>> ps -- the variables passed are shown at the top of the second page using> the following DNA:>> [formvariables]> [name] = [value] > [/formvariables]>> ---------------------------------------------------------------------->> Date: 19 Oct 1998 14:49:09> From: Will Starck > Subject: Re: need help with [sendmail] and [showif]s>> - ----------> >From: Dale Stokdyk > >To: WebDNA-Talk@smithmicro.com> >Subject: need help with [sendmail] and [showif]s> >Date: Mon, Oct 19, 1998, 5:16 PM> >>> >[showif [shoose]=help][SendMail> ^^^^^^^^>> This IS spelled properly, no?>> >to=LoveLetter-help@mail-list.com&from=[subscriber_address]&subject=> >][/SendMail]]/showif]>> Will> +++++++++++++> >> ---------------------------------------------------------------------->> Date: 19 Oct 1998 15:04:15> From: Christer Olsson > Subject: Re: need help with [sendmail] and [showif]s>> >Hi. Am having trouble getting this to work...> >> >I've set up a simple form for people to subscribe to our company newsletter> >(see at http://www.me2u.com/LoveLore/Newsletter/archive.tmpl ). The form> >gives you 3 options:> >> >1) subscribe> >2) unsubscribe> >3) get help> >> >and asks for your email address.> >> >This info is passed to the next page (currently> >http://wwww.me2u.com/LoveLore/Newsletter/subscription.tmpl ), where I'm> >using [showif] with [sendmail] in order to send an email message to the> >correct email address (subscribe, unsubscribe, or help):> >> >> >[showif [choose]=sub][SendMail> >to=LoveLetter-on@mail-list.com&from=[subscriber_address]&subject=> >][/SendMail][/showif]> >> >[showif [choose]=unsub][SendMail> >to=LoveLetter@mail-list.com&from=[subscriber_address]&subject=> >][/SendMail][/showif]> >> >[showif [shoose]=help][SendMail> >to=LoveLetter-help@mail-list.com&from=[subscriber_address]&subject=> >][/SendMail]]/showif]> >> >> >The emails are getting sent OK, but something is happening with the> >multiple [showif]s -- I think! -- to cause the rest of the page (HTML) from> >showing. Am I right about this? Thanks in advance for help with this!>> I found one miss spelled option and one bad bracket:>> >[showif [shoose]=help][SendMail> ^> >to=LoveLetter-help@mail-list.com&from=[subscriber_address]&subject=> >][/SendMail]]/showif]> ^>> *************************************************************> Christer Olsson Stora Nygatan 21 Phone +46 40 791 50> Ljusa Ideer AB S-211 37 Malmoe Fax +46 40 97 99 77> Sweden http://www.ljusaideer.se>> ---------------------------------------------------------------------->> Date: 19 Oct 1998 16:42:31> From: Nathan Hyde > Subject: WC2 or 3: Displaying Search Result Relevance>> Is it possible to display the relevance of the results for each entry. (I do> know that if I do not specify a field to sort by that the results will> display by relevance but would like to display something like by percent> like a search engine...)>> Thanks.>> Nathan Hyde> Casady & Greene> email: nh_is@casadyg.com, nhyde@mail3.casadyg.com> web page: http://www.casadyg.com> MacBundle.com: http://www.macbundle.com> WinBundle.com: http://www.winbundle.com>> ---------------------------------------------------------------------->> Date: 19 Oct 1998 18:28:43> From: Kenneth Grome > Subject: Re: [showif] a either fields are blank>> >I want text to show only if certain fields were left blank. As long as I> >specify only one field, this works fine: [ShowIf [eMail]!] Your forgot> >your email address[/ShowIf]> >But I have 10 fields which I would like for the customer to fill out. I> >any of these are left blank, I would like something to show. How do you> >indicate that if [eMail] or [FirstName] or etc... are blank, then show a> >certain text?> >This does not work> >[ShowIf [email]1&[FirstName]!]Your forgot....[/ShowIf]> >I want to avoid using the standard RequiredFields command> >Any suggestions?>> Try using ten [showif]'s instead of one.> Each [showif] needs to be separated from the others ... :)>> Sincerely,> Ken Grome> 808-737-6499> WebDNA Solutions> mailto:ken@webdna.net> http://www.webdna.net>> ---------------------------------------------------------------------->> Date: 19 Oct 1998 19:20:34> From: Grant Hulbert > Subject: Re: WC2 or 3: Displaying Search Result Relevance>> >Is it possible to display the relevance of the results for each entry. (I do> >know that if I do not specify a field to sort by that the results will> >display by relevance but would like to display something like by percent> >like a search engine...)>> Sorry, we do not expose the relevance information. I think it's a good> idea, and we've talked about it, but there are some technical reasons why> it's not available right now.>> Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ====> Pacific Coast Software | WebCatalog, WebMerchant,> 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,> San Diego, CA 92128 | Typhoon> 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/>> ---------------------------------------------------------------------->> Date: 19 Oct 1998 21:02:40> From: Nathan Hyde > Subject: WC 3.0.1 Mac days_to_date>> Hi.>> I am unable to get [format days_to_date %B][math]{[date]}[/math][/format]> to work properly. The code above returns December when using today's date,> 10/19/1998. I'm using the Mac cgi, v3.0.1 with WebStar 2.1. (WC 2.x likes> the above code.)>> Any hints as to how I can correct this?>> Thanks.>> Nathan Hyde> Casady & Greene> email: nh_is@casadyg.com, nhyde@mail3.casadyg.com> web page: http://www.casadyg.com> MacBundle.com: http://www.macbundle.com> WinBundle.com: http://www.winbundle.com>> ---------------------------------------------------------------------->> Date: 19 Oct 1998 21:14:36> From: Dale Stokdyk > Subject: Thanks Will and Christer (was: need help with [sendmail] and> [showif]s)>> Thanks Will and Christer!>> I was staring so hard at the subscribe and unsubscribe code (which was> what I needed to work), that I *completely* ignored the problems with the> third line for help!>> It's working as should now (sigh of relief!)...>> Dale>> ---------------------------------------------------------------------->> Date: 19 Oct 1998 22:01:09> From: kmuelle3@ix.netcom.com> Subject: Sherlock and WebCat>> Check out http://www.apple.com/sherlock/plugindev.html on the apple web> site.>> I am interested in writing a plug-in for Sherlock, the Mac OS 8.5> built-in search feature which allows OS 5.8 users to search the Web, and> also individual sites right from their desktop.>> Is is possible to search the db's in my WebCat site using such a> plug-in?>> Writing a Sherlock plug-in looks very similar to HTML but will it work> with WebCat's search method and Database format?>> This seems like a great feature to provide for customers, just have them> download the plug-in and give them instant access to your products!>> Kevin Mueller> iFolio Digital Image Library>> -------------------------------------------------------------------------
Allen Booth
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...