Re: Random <body> tags HELP!!!!
This WebDNA talk-list message is from 1999
It keeps the original formatting.
numero = 23015
interpreted = N
texte = Try with this one:the randomColor file[search db=random.db&neUNIQUEIDdata=[blank]&raUNIQUEIDsort=1&MAX=1][founditems][RandomTag][/founditems][/search]your body should stay the way it is/Martin>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 returned>>>>>I've tried many different varieties but just keep coming up with the same>thing>here is what I have for my Random.db>>UniqueID
RandomTag>1tile1.gif>2tile2.gif>3tile3.gif>4tile4.gif>5tile5.gif>6tile6.gif>7tile7.gif>>And 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 template>>>>I'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 appreciated>>Sincerely>Chris
Associated Messages, from the most recent to the oldest:
Try with this one:the randomColor file[search db=random.db&neUNIQUEIDdata=[blank]&raUNIQUEIDsort=1&MAX=1][founditems][RandomTag][/founditems][/search]your body should stay the way it is/Martin>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 returned>>>>>I've tried many different varieties but just keep coming up with the same>thing>here is what I have for my Random.db>>UniqueIDRandomTag>1tile1.gif>2tile2.gif>3tile3.gif>4tile4.gif>5tile5.gif>6tile6.gif>7tile7.gif>>And 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 template>>>>I'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 appreciated>>Sincerely>Chris
Martin Bech
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:
Can I do these? (1997)
ShipTotal Yet Again (1998)
[group] ? (1997)
[quantity] solved (1997)
Webcat/Webmerchant (1998)
remotely add + sign (1997)
Software & Sites (1998)
[WebDNA] [BULK] WebDNA 7 & Amazon Cloud (2011)
no global [username] or [password] displayed ... (1997)
Tax Laws for Online Sales (2003)
Help formatting search results w/ table (1997)
Spell Check (2000)
Q: old cart serial problem (2000)
[Sum] function? (1997)
More Applescript (1997)
Security Issue (1997)
Emailer (WebCat2) (1997)
Partner Edition question ... (2003)
How to append text after the sign & (1997)
WC 2.0 frames feature (1997)