Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
PT not getting compiled(iw_include tag usage)
maverick83
hi experts,
i am not able to compile a pt,i have a component PT called toc.tpl which is getting called from article_news14.tpl ,
a call is being made from article_news14.tpl to toc.tpl through
[php]
<br> $iw_param{toc_directory}= "/default/main/training/WORKAREA/****/news/articles";<br>
[/php]
but toc.tpl is not getting compiled and i am getting the following mesasge
[php]
Scalar found where operator expected at (eval 19) line 61, near "
$1"
(Missing operator before $1?)
Bareword found where operator expected at (eval 19) line 68, near "/a>
}
}
}
# (Might be a runaway multi-line // string starting on line 61)
(Missing operator before w_perl?)
Could not process template: Y:/default/main/training/WORKAREA/****/templatedata
/componentsR/toc.tpl
Try debugging like this: iwpt_compile ... -ocode ****.ipl; ****.ipl
[/php]
i think there is something wrong in my toc.tpl but i am not able to solve it ,looking forward for a favorable response from yur side.
regards,
mav
Find more posts tagged with
Comments
ISCBorisB
i think there is something wrong in my toc.tpl...
# Error - Bare HTML Code within iw_perl Tag: <a href='$dir_path/$file_name'>$1</a>. Instead:
iwpt_output(qq(
<a href='$dir_path/$file_name'>$1</a>
));
maverick83
thanks ,it is working correctly now
regards,
mav