|
|
|
(Perl) HTML::Template Help !!!
|
|||
|---|---|---|---|
|
#18+
privet vsem, malenkaja problema :) polsujus HTML:Template, 1. index.cgi peredajot parametr $template->param(number => $number); 2. index.html.tmpl swjo normalno, kak w dokumantacii, mojno polsowatsja peremennim <TMPL_VAR NAME=number> 3. gdeto w index.html.tmpl <TMPL_INCLUIDE NAME=textfile-1> ili <TMPL_INCLUIDE NAME=textfile-5> 4. nado, chto INCLUDE rabotal wsawisimosti ot NUMBER !!! po idee :)) <TMPL_INCLUDE NAME=textfile- <TMPL_VAR NAME=number> > ne poluchaetsja: HTML::Template->new() : Syntax error in <TMPL_*> tag at ../template/index.html.tmpl ------------------------------------------------------------------------------------- ladno probuju po drugomu: 1. w index.cgi delaju String $string="<TMPL_INCLUIDE NAME=textfile-" . $number . ">" 2. peredaöm $template->param(string => $string); 3. stawim: <TMPL_VAR NAME=string> po idee:)) ili <TMPL_INCLUIDE NAME=textfile-1> ili <TMPL_INCLUIDE NAME=textfile-2> ili ... ne poluchaetsja: HTML::Template->new() : Syntax error in <TMPL_*> tag at ../template/index.html.tmpl -------------------------------------------------------------------------------------- ladno probuju js w index.html.tmpl <script type="text/javascript"> document.write("<TMPL_INCLUDE NAME =applFAQ/appl-", number, ">"); </script> ne poluchaetsja: HTML::Template->new() : Syntax error in <TMPL_*> tag at ../template/index.html.tmpl -------------------------------------------------------------------------------------- skolko chewo esho probowal ne snaju. pomogite please :) saranee spasibo Alex ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 26.08.2005, 17:03 |
|
||
|
|

start [/forum/topic.php?fid=23&gotonew=1&tid=1477703]: |
0ms |
get settings: |
7ms |
get forum list: |
15ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
164ms |
get topic data: |
8ms |
get first new msg: |
5ms |
get forum data: |
2ms |
get page messages: |
37ms |
get tp. blocked users: |
1ms |
| others: | 200ms |
| total: | 445ms |

| 0 / 0 |
