I've got a Bad Case of the Dreaded ΚΚΚΚs! Help Me STOP theΚΚΚΚs Please!
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 44909
interpreted = N
texte = Dear Webcaters,I've got a Bad Case of the Dreaded ΚΚΚΚs! Help Me Please! I have hopefully worked out a way for a different set of home page specials to come up each day of the month using the [If][Then] commands placed into the result.inc page of the store builder templates.My only problem is that I get ΚΚΚΚ appearing on the page both before the found items and after the found items. Part of the source code for the page looks like this:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ΚΚΚΚ51 item(s)------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------I am using the following source code which works for today the 6th. It will show all items marked day6 on the sixth. The relevent parts of the results.inc page are here:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------[ShowIf [url][formvariables name=--&exact=F][name][/formvariables][/url]=][!] This means we're at the home page with no params, so show Home Page Specials [/!][If [DATE format=%d]=06] [Then][search db=admin/products.db&eqH_P_SPECIALdatarq=day6&max=[MAX_FOUNDITEMS]&startat=[startat]&eqVISIBLEdatarq=T&asTITLEsort=1&[formvariables name=--&exact=f][getchars start=3][name][/getchars]=[url][value][/url]&[/formvariables]][!] The following include files determine what the results of a product search look like. Normally the brief product template is displayed, but when a visitor clicks the More Detail button, then the full include file is used. The templates for each of these is saved as a file in the ProductTemplates folder[/!][numfound] item(s)[founditems][include file=ProductTemplates/[HOME_PAGE_SPECIAL]][/founditems] [/search][/Then] [Else][/Else][/If][/ShowIf]------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------I get a similar result for a simple page with the following code:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ ABC [If [DATE format=%d]=05] [Then][date format=%d] [/Then] [Else][date][/Else][/If]------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------The webpage result is------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ΚΚΚΚ ΚΚΚΚ11/06/2002------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------The source code for the page looks like this------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Florida_Naturals ΚΚΚΚΚΚΚΚ11/06/2002------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------If anyone has any idea how to get rid of the dreaded ΚΚΚΚΚΚΚΚs, I would be ever so grateful.Thanks so much in advance,Scott-------------------------------------------------------------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://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
|
- I've got a Bad Case of the Dreaded ΚΚΚΚs! Help Me STOP theΚΚΚΚs Please! (citizen 2002)
|
Dear Webcaters,I've got a Bad Case of the Dreaded ΚΚΚΚs! Help Me Please! I have hopefully worked out a way for a different set of home page specials to come up each day of the month using the [if][Then] commands placed into the result.inc page of the store builder templates.My only problem is that I get ΚΚΚΚ appearing on the page both before the found items and after the found items. Part of the source code for the page looks like this:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ ΚΚΚΚ51 item(s)------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------I am using the following source code which works for today the 6th. It will show all items marked day6 on the sixth. The relevent parts of the results.inc page are here:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------[ShowIf [url][formvariables name=--&exact=F][name][/formvariables][/url]=][!] This means we're at the home page with no params, so show Home Page Specials [/!][If [DATE format=%d]=06] [Then][search db=admin/products.db&eqH_P_SPECIALdatarq=day6&max=[MAX_FOUNDITEMS]&startat=[startat]&eqVISIBLEdatarq=T&asTITLEsort=1&[formvariables name=--&exact=f][getchars start=3][name][/getchars]=[url][value][/url]&[/formvariables]][!] The following include files determine what the results of a product search look like. Normally the brief product template is displayed, but when a visitor clicks the More Detail button, then the full include file is used. The templates for each of these is saved as a file in the ProductTemplates folder[/!][numfound] item(s)[founditems][include file=ProductTemplates/[HOME_PAGE_SPECIAL]][/founditems] [/search][/Then] [Else][/Else][/If][/ShowIf]------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------I get a similar result for a simple page with the following code:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ ABC [If [DATE format=%d]=05] [Then][cart]&--wsSKUdatarq=8192175>[date format=%d] [/Then] [Else][date][/Else][/If]------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------The webpage result is------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ΚΚΚΚ ΚΚΚΚ11/06/2002------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------The source code for the page looks like this------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Florida_Naturals ΚΚΚΚΚΚΚΚ11/06/2002------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------If anyone has any idea how to get rid of the dreaded ΚΚΚΚΚΚΚΚs, I would be ever so grateful.Thanks so much in advance,Scott-------------------------------------------------------------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://search.smithmicro.com/
citizen
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:
Replacing a price with text (1998)
I need Typhoon Pro Tonight! (1999)
Roundup function? (1997)
Not really WebCat (1997)
problem: search crashes webstar (1997)
RE: A zip code search (1998)
syntax question, not in online refernce (1997)
Not really WebCat- (1997)
Search results templates (1996)
WebCat editing, SiteGuard & SiteEdit (1997)
[OT] ISP Windows program (2005)
authnet good news (2003)
FW: Shipping calculations (1997)
Alpha List for Catagory (1998)
WebCatalog for Postcards ? (1997)
WC2/Mac -- Forms not submitting correctly with Mac browsers (1997)
Cold Fusion Warm and Fuzzy? (1999)
Input appreciated (2000)
[LOOP]/[BREAK] bug (2000)
ADMIN: [Fwd: Out of Office AutoReply: Subtotal Taxabletotal (2005)
|
|