By: Jorge
Date: 2004-01-13
Time: 14:55
|
1.90 b [tbs_include.onshow;file=test.txt] bug
I've tryed to include a simple text file on my template like :
<html>
<head>
<title>Document sans titre</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="styles/style.css" rel="stylesheet" type="text/css">
</head>
<body>
[tbs_include.onshow;file=test.txt]
</body>
</html>
|
where test.txt only have one word:
RESULT is
HELLO HELLO HELLO HELLO HELLO HELLO HELLO HELLO HELLO HELLO
is this a bug? it always repeat 10 times wathever the content of test.txt.
I've tryed with ';once' paramater....still get the bug
|
By: Jorge
Date: 2004-01-13
Time: 15:31
|
Re: 1.90 b [tbs_include.onshow;file=test.txt] bug
Well..don't know if it is a bug..
But it seems it comes from my PHP file, where a have a few SQL queries
and IF conditions (10!)
strange
I'm going to rewrite queries and see, if it still do the same
|
By: Skrol29
Date: 2004-01-13
Time: 15:35
|
Re: 1.90 b [tbs_include.onshow;file=test.txt] bug
I've tested your exmple with 1.90b14 and I have no problem.
Could you send your files (template.htm, test.php, tbs_class.php,test.txt) so I could check deeper.
|
By: Jorge
Date: 2004-01-13
Time: 15:37
|
Re: 1.90 b [tbs_include.onshow;file=test.txt] NOT A BUG
Ok found it:
Block start / end wasn't defined, ans as i'm working on 10 results per page...
it prints 10 times the result
Sorry
|
|
Posting in progress.
Please wait...
|