Questions tagged [template-toolkit]

The Template Toolkit is a fast, flexible and, highly extensible template processing system for Perl. There are also Python and JavaScript implementations.

The Template Toolkit is a fast, flexible and highly extensible template processing system. It is Free (in both senses: free beer and free speech), Open Source software and runs on virtually every modern operating system known to man. It is mature, reliable and well documented, and is used to generate content for countless web sites ranging from the very small to the very large.

It is written in the Perl programming language but you don't need to know any Perl to use it. In fact, it was specifically created to allow web designers and developers to concentrate on generating web pages without getting bogged down in programming matters. We call this a "Clear Separation of Concerns" and it makes the whole processes of building, updating and maintaining a web site or web application significantly easier.

References:

266 questions
0
votes
1 answer

storing the current value of countdown timer in variable for using in the template toolkit file

I have a count down timer in the Hours left field, to find the hours left. I also have a field to enter the total estimated time and upon enetering the value of total estimated time, the timer will start. Now my requirement is when ever i changed…
Jenifer_justin
  • 167
  • 1
  • 20
0
votes
1 answer

Adding count down timer in perl template tool kit

I have checked some possibilities for adding a count down timer in a cgi page.But i couldn't find anything helpful. I have written the file to add countdown timer, 'Timer.js' and is calling from the html file 'timer.html'.My problem is i want to…
0
votes
1 answer

perl Template::Alloy with Catalyst not displaying properly

From my understanding, Template::Alloy::TT should be interchangable with Template Toolkit, however I am having some issues trying to swap one out with the other. Here is the config for my view file: package maypp::View::HTML; use strict; use base…
srchulo
  • 5,143
  • 4
  • 43
  • 72
0
votes
1 answer

Dropdown box on change event for multiple list box

my ($self, $c) = @_; $c->stash->{buildallinfo}=$c->model('DB::misc')->getTestInformation(); Buildall info dump is like : Apple => type2=>[2,3] type4=>[2,1] Mango => type6=>[2,3] type2=>[2,1] How to render them in drop down box if drop…
joe
  • 34,529
  • 29
  • 100
  • 137
0
votes
3 answers

How to display HTML tags in UTF8 Translations in Template tool kit

I am working in a web based website, where we are using Perl, MySQL 5, Apache and Template Toolkit. we are planning to introduce the support for multiple Language in our website. What we have done isIF we have a line in our template file,
Ash_and_Perl
  • 356
  • 5
  • 21
0
votes
1 answer

want to make the select boxes selected in perl

i want to make the select boxes selected based on the values from the database. code : my $bug_id = $cgi->param('id'); #query for fetching the datas from the table category_bug_map for updating the select box my $selectboxcategoryQuery = "SELECT…
Jenifer_justin
  • 167
  • 1
  • 20
0
votes
2 answers

Perl, Template-Toolkit and SEO

I'm not sure how to deploy best practice for SEO in a new project. I'm building a CMS that will be used by a group of writers to post news articles to a website. I'm developing the site using Perl and Template-Toolkit (TT2). I've also embedded an…
0
votes
1 answer

Perl Template Toolkit: get root variable

short version of question: is there any way to get the $var-hash (not its subvars) from the template that is given to the process-call my $tt = Template->new({ VARIABLES => { version => 3.14, release => 'Sahara', }, }); my…
vlad_tepesch
  • 6,681
  • 1
  • 38
  • 80
0
votes
1 answer

How to pass my dropdown options to show the UTF-8 characters in template tool kit

I am implementing UTF-8 character support in my project. we use template tool kit. In one of the templates I have this hard coded drop down code that is not allowing me to translate the text. here is the code snippet.