Random <body> tags HELP!!!!

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 23018
interpreted = N
texte = Hey guys, what's going on, I just have to be missing something simple here.I am using the [writefile] command to generate an html page for every record in a particular database. Everything has seemed to work perfect so far, but the Idea came up to have webcat generate different backgrounds for the pages so they don't all look the same, so I just made me a database similar to the standard Ads.db with 7 different tags in it, I'm calling it with [include RandomColors],(RandomColors being the file that performs the search on the db of tags) but when I generated the html pages all it would read is the 2 quotes from the background=imagename. The output of this of this just produced a black background, which makes since, because the tag was missing.. Then I tried to have the page generate the body tag and have the RandomColors just to look for a simple image, like this: this just returnedI've tried many different varieties but just keep coming up with the same thing here is what I have for my Random.dbUniqueIDRandomTag 1tile1.gif 2tile2.gif 3tile3.gif 4tile4.gif 5tile5.gif 6tile6.gif 7tile7.gifAnd Here is what I have in the RandomColors file[search db=Random.db&neRandomTagdata=0&RandomTagsort=1&RandomTagdir=ra&max=1] [foundItems][Interpret][RandomTag][/Interpret][/foundItems][/search] and again heres the code in the page generation templateI'm not sure what is going wrong here, this seems like such an easy process, its just not turning out the way planned does anyone have any clues about this one??? any info would be gladly appreciatedSincerely Chris Associated Messages, from the most recent to the oldest:

    
  1. Re: Random tags HELP!!!! (Rob Marquardt 1999)
  2. Random tags HELP!!!! (Talklist 1999)
  3. Re: Random tags HELP!!!! (Martin Bech 1999)
Hey guys, what's going on, I just have to be missing something simple here.I am using the [writefile] command to generate an html page for every record in a particular database. Everything has seemed to work perfect so far, but the Idea came up to have webcat generate different backgrounds for the pages so they don't all look the same, so I just made me a database similar to the standard Ads.db with 7 different tags in it, I'm calling it with [include RandomColors],(RandomColors being the file that performs the search on the db of tags) but when I generated the html pages all it would read is the 2 quotes from the background=imagename. The output of this of this just produced a black background, which makes since, because the tag was missing.. Then I tried to have the page generate the body tag and have the RandomColors just to look for a simple image, like this: this just returnedI've tried many different varieties but just keep coming up with the same thing here is what I have for my Random.dbUniqueIDRandomTag 1tile1.gif 2tile2.gif 3tile3.gif 4tile4.gif 5tile5.gif 6tile6.gif 7tile7.gifAnd Here is what I have in the RandomColors file[search db=Random.db&neRandomTagdata=0&RandomTagsort=1&RandomTagdir=ra&max=1] [founditems][interpret][RandomTag][/Interpret][/foundItems][/search] and again heres the code in the page generation templateI'm not sure what is going wrong here, this seems like such an easy process, its just not turning out the way planned does anyone have any clues about this one??? any info would be gladly appreciatedSincerely Chris Talklist

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:

4.0x on production server (2000) your mail (2000) ftp access on Macos X (2000) Emailer [cart] file names (1997) db=xxx.db param have to be first? (2000) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) Re:[ShowIf] and empty fields (1997) Ruby on Rails (was Looping Search) (2006) WC Database Format (1997) WebCat2 beta 11 - new prefs ... (1997) WebCat2b12 - nesting [tags] (1997) quantity minimum problem (1997) Emailer setup (1997) delete a record and ssl (2005) [isfile] ? (1997) Version f1 status (1997) WebCatalog NT beta 18 now available (1997) Summary Searches (2000) WebCatalog2 Feature Feedback (1996) Am I going senile? (Price recalc based on quantity) (1997)