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 recordin a particular database. Everything has seemed to work perfect so far, butthe Idea came up to have webcat generate different backgrounds for the pagesso they don't all look the same, so I just made me a database similar to thestandard Ads.db with 7 different tags in it, I'm calling it with[include RandomColors],(RandomColors being the file that performs the searchon the db of tags) but when I generated the html pages all it wouldread is the 2 quotes from the background=imagename. The output of this ofthis 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 theRandomColors just to look for a simple image, like this:this just returnedI've tried many different varieties but just keep coming up with the samethinghere is what I have for my Random.dbUniqueID
RandomTag1tile1.gif2tile2.gif3tile3.gif4tile4.gif5tile5.gif6tile6.gif7tile7.gifAnd Here is what I have in the RandomColors file[searchdb=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 planneddoes anyone have any clues about this one???any info would be gladly appreciatedSincerelyChris
Associated Messages, from the most recent to the oldest:
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 recordin a particular database. Everything has seemed to work perfect so far, butthe Idea came up to have webcat generate different backgrounds for the pagesso they don't all look the same, so I just made me a database similar to thestandard Ads.db with 7 different tags in it, I'm calling it with[include RandomColors],(RandomColors being the file that performs the searchon the db of tags) but when I generated the html pages all it wouldread is the 2 quotes from the background=imagename. The output of this ofthis 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 theRandomColors just to look for a simple image, like this:this just returnedI've tried many different varieties but just keep coming up with the samethinghere is what I have for my Random.dbUniqueIDRandomTag1tile1.gif2tile2.gif3tile3.gif4tile4.gif5tile5.gif6tile6.gif7tile7.gifAnd Here is what I have in the RandomColors file[searchdb=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 planneddoes anyone have any clues about this one???any info would be gladly appreciatedSincerelyChris
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)