Re: how do we turn off staticpages page creation?

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 50137
interpreted = N
texte = By searching the files inside the StoreBuilder folder via BBEdit, I have learned that there are only 6 occurrences of the string staticpages in the entire StoreBuilder folder as follows:generate_page.inc - 3 occurrences generate_qbimport.tpl - 2 occurrences default.tpl - 1 occurrenceThe one occurrence in the default.tpl file appears inside an html tag, so that occurrence is obviously not related to the writing of static pages. And I can only assume that the generate_qbimport.tpl file generates new static pages when importing a QuickBooks file, so that's probably not the place to begin looking either ...So I did another BBEdit search for all occurrences of generate_page.inc in order to locate every file that may have this string in an include tag. There are only 3 occurrences of this string in the entire StoreBuilder folder, and they all occur inside include tags as follows:generate_all.tpl - 1 occurrence results.tpl - 2 occurrencesIn your last message (quoted below) you said these pages are being generated all the time (as new products are being entered). This may suggest that the offending code is in the results.tpl file, or in the code that resides in a file that is included in the results.tpl file.Therefore, I would start looking in the results.tpl file if I were you.But no matter what is actually causing this to happen, someone at SMSI really should know the answer to this question since they are the ones who wrote the StoreBuilder code in the first place. And they really should have described the behavior of StoreBuilder in some kind of documentation ... which of course brings up an important question:Is the behavior of the StoreBuilder documented somewhere, so we can simply LOOK UP THE ANSWER IN THE STOREBUILDER DOCS?Or not? >Hi all, > >Thanks for the many replies. > >To be more clear, the staticpages pages are being generated >automatically and they are being generated all the time (as new >products are entered). I don't know exactly when they are generated, >but I see timestamps of yesterday for files in the staticpages >directory. > >I checked the triggers and I don't see one that triggers the >admin/generate_all.tpl page. Also, since the admin/ directory has no >direct link to it, I don't know how a web bot/spider/etc. could find >it. Perhaps it gets generated when a new product is added. I didn't >see anything in products.inc/tpl but I haven't done an exhaustive >search yet. > >I think removing all the files that generate static pages is the best bet. > >Again, thanks for all the suggestions. > >-lucas-- Sincerely, Kenneth Grome ------------------------------------------------------------- My programmers will write WebDNA code for you at $27 an hour! -------------------------------------------------------------------------------------------------------------------------- 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: how do we turn off staticpages page creation? (Kenneth Grome 2003)
  2. Re: how do we turn off staticpages page creation? (Lucas Rockwell 2003)
  3. Re: how do we turn off staticpages page creation? (WebCat @ Inkblot Media 2003)
  4. Re: how do we turn off staticpages page creation? (Glenn Busbin 2003)
  5. Re: how do we turn off staticpages page creation? (WebCat @ Inkblot Media 2003)
  6. Re: how do we turn off staticpages page creation? (Chris List Recipient 2003)
  7. Re: how do we turn off staticpages page creation? (dbrooke 2003)
  8. Re: how do we turn off staticpages page creation? (Charles Kline 2003)
  9. Re: how do we turn off staticpages page creation? (Charles Kline 2003)
  10. how do we turn off staticpages page creation? (Lucas Rockwell 2003)
By searching the files inside the StoreBuilder folder via BBEdit, I have learned that there are only 6 occurrences of the string staticpages in the entire StoreBuilder folder as follows:generate_page.inc - 3 occurrences generate_qbimport.tpl - 2 occurrences default.tpl - 1 occurrenceThe one occurrence in the default.tpl file appears inside an html
tag, so that occurrence is obviously not related to the writing of static pages. And I can only assume that the generate_qbimport.tpl file generates new static pages when importing a QuickBooks file, so that's probably not the place to begin looking either ...So I did another BBEdit search for all occurrences of generate_page.inc in order to locate every file that may have this string in an include tag. There are only 3 occurrences of this string in the entire StoreBuilder folder, and they all occur inside include tags as follows:generate_all.tpl - 1 occurrence results.tpl - 2 occurrencesIn your last message (quoted below) you said these pages are being generated all the time (as new products are being entered). This may suggest that the offending code is in the results.tpl file, or in the code that resides in a file that is included in the results.tpl file.Therefore, I would start looking in the results.tpl file if I were you.But no matter what is actually causing this to happen, someone at SMSI really should know the answer to this question since they are the ones who wrote the StoreBuilder code in the first place. And they really should have described the behavior of StoreBuilder in some kind of documentation ... which of course brings up an important question:Is the behavior of the StoreBuilder documented somewhere, so we can simply LOOK UP THE ANSWER IN THE STOREBUILDER DOCS?Or not? >Hi all, > >Thanks for the many replies. > >To be more clear, the staticpages pages are being generated >automatically and they are being generated all the time (as new >products are entered). I don't know exactly when they are generated, >but I see timestamps of yesterday for files in the staticpages >directory. > >I checked the triggers and I don't see one that triggers the >admin/generate_all.tpl page. Also, since the admin/ directory has no >direct link to it, I don't know how a web bot/spider/etc. could find >it. Perhaps it gets generated when a new product is added. I didn't >see anything in products.inc/tpl but I haven't done an exhaustive >search yet. > >I think removing all the files that generate static pages is the best bet. > >Again, thanks for all the suggestions. > >-lucas-- Sincerely, Kenneth Grome ------------------------------------------------------------- My programmers will write WebDNA code for you at $27 an hour! -------------------------------------------------------------------------------------------------------------------------- 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/ Kenneth Grome

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:

upload pictures any solution (1999) [WebDNA] AC paymethod is missing (2008) Content-type:... (2000) Exporting a blank record (2000) [WebDNA] [OT] WebDNA Wiki - need grammar check / suggestions (2009) Help name our technology! I found it (1997) Problems getting parameters passed into email. (1997) retail integration (2000) WebCat2b13MacPlugIn - syntax to convert date (1997) Summ=T Problem (1997) Sorting error (1997) [OT] Half completed orders (2005) Multiple adding (1997) Plugin or CGI or both (1997) major search problem (1998) Help name our technology! (1997) newbies to web, spaces in email address (1998) Spaces in sendmail (1998) Fwd: virtual domain and [listfile] paths and aliases (1998) Help! WebCat2 bug (1997)