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:
[isfolder] and [filename] (1997)
ShipCosts database (1997)
writing db to disk (1997)
Email within tmpl ? (1997)
Credit Card Number checking (1997)
WebCatalog for Postcards ? (1997)
Upgrading old WebCat Database Files (1997)
Date Bug (1998)
Preserving form data (1999)
WebCatalog 4.0.2b5 install problems (2000)
Checking for blank form fields (sort of...) (1998)
Associative lookup style? + bit more (1997)
WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)
[WebDNA] webdna.us Problem??? (2009)
WebMerchant - MacAuthorize (1999)
WebCat & Liststar ... & Rumpus, too! (1997)
[WebDNA] help with writefile (2012)
check out page (SSL) not loading on Netscape 4.0+ - fixed? (1999)
Having trouble installing on Windows XP Pro... (2006)
FREE Web Server Monitor FREE (1997)
|
|