<div dir="ltr"><div><div>Hi,<br><br></div>I checked from following article that config.yml is correct for template toolkit parameters:<br><br><a href="http://search.cpan.org/~xsawyerx/Dancer2-0.157001/lib/Dancer2/Manual/Migration.pod">http://search.cpan.org/~xsawyerx/Dancer2-0.157001/lib/Dancer2/Manual/Migration.pod</a><br><br></div>Why does not my code use '<%' and '%>' tags although they are defined at config.yml? <br>It is working by using default tags '[%' '%]'. I am writing config.yml content again:<br><br>template: "template_toolkit"<br>engines:<br> template:<br> template_toolkit:<br> start_tag: '<%'<br> end_tag: '%>'<br><div><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jan 16, 2016 at 12:54 AM, Kadir Beyazlı <span dir="ltr"><<a href="mailto:kadirbeyazli@gmail.com" target="_blank">kadirbeyazli@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">When I changed tag from <% %> to [% %] at .tt file it worked. But it is defined as follow at config.yml so <% %> tags should work.<br><br>template: "template_toolkit" # I deleted this line<span class=""><br>engines:<br> template:<br> template_toolkit:<br> start_tag: '<%'<br> end_tag: '%>'<br></span></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Sat, Jan 16, 2016 at 12:40 AM, Kadir Beyazlı <span dir="ltr"><<a href="mailto:kadirbeyazli@gmail.com" target="_blank">kadirbeyazli@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hi All,<br><br></div>My project at my local pc was working when I tried 2 weeks ago.<br></div>Now I tried but realized that template toolkit parameters are not set.<br></div>I see following when I click on "View Page Source"<br><br><html lang="tr"><br><head><br><br><title>adopen</title><br> <meta charset="<% settings.charset %>"><br> <meta name="viewport" content="width=device-width, initial-scale=1"><br> <link rel="stylesheet" href="<% request.uri_base %>/css/bootstrap.min.css"><br> <script src="<% request.uri_base %>/javascripts/jquery.min.js"></script><br> <script src="<% request.uri_base %>/javascripts/bootstrap.min.js"></script><br> <link rel="stylesheet" href="<% request.uri_base %>/css/mystyle.css" /><br><br><br><div><div><div><div>I checked config.yml whether I changed start-end tag of template toolkit but I see that it is corrrect.<br><br></div><div># config.yml<br></div><div>template: "template_toolkit"<br>engines:<br> template:<br> template_toolkit:<br> start_tag: '<%'<br> end_tag: '%>'<br><br></div><div>What may problem be? Last week I upgraded Ubuntu version from 15.04 to 15.10 but this should not be reason.<br>I installed Dancer2, Template again in case upgrade caused a problem but nothing changed<br><br></div><div>I am starting my project with plackup command<span><font color="#888888"><br></font></span></div><span><font color="#888888"><div><div><div dir="ltr"><div><b><i><br>Kadir Beyazlı</i></b><br></div><div><b><i>GSM : <a href="tel:%2B90%20535%20821%2050%2000" value="+905358215000" target="_blank">+90 535 821 50 00</a></i></b><br></div></div></div>
</div></font></span></div></div></div></div>
</blockquote></div><br><br clear="all"><br></div></div><span class="HOEnZb"><font color="#888888">-- <br></font></span><div><div dir="ltr"><span class="HOEnZb"><font color="#888888"><div><b><i>Kadir Beyazlı<br>Computer Engineer</i></b></div></font></span><span class=""><div><b><i>GSM : <a href="tel:%2B90%20535%20821%2050%2000" value="+905358215000" target="_blank">+90 535 821 50 00</a></i></b><br></div></span></div></div>
</div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><b><i>Kadir Beyazlı<br>Computer Engineer</i></b></div><div><b><i>GSM : +90 535 821 50 00</i></b><br></div></div></div>
</div>