Alright, I removed the META tag and replaced it with the equivalent
hard-coded page.title and page.about values and it works fine thank you.

-- 
Kiffin Rex Gish
Gouda, The Netherlands

 



> -----Original Message-----
> From: Randal L. Schwartz [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, October 25, 2005 20:35
> To: Kiffin Gish
> Cc: [EMAIL PROTECTED]; [email protected]
> Subject: Re: [Templates] Submerged META via PROCESS ...
> 
> 
> >>>>> "Kiffin" == Kiffin Gish <[EMAIL PROTECTED]> writes:
> 
> Kiffin> Indeed page.title get set from template.title as follows:
> 
> Kiffin> So something is definitely going wrong hear -- scratch my 
> Kiffin> (balding) head.
> 
> No.  It's as I said before.  "template.title" is the value of 
> the META for the top-level file ONLY.
> 
> Kiffin> $tt->process('main.html.tmpl', $vars)
> Kiffin>     || die $tt->error();
> 
> The top level file is main.html.tmpl:
> 
> Kiffin> src/main.html.tmpl:
> Kiffin> ------------------
> 
> Kiffin> [%
> Kiffin>     IF session.logged_in;
> Kiffin>         tmpl_file = q.param('page') or 'index';
> Kiffin>     ELSE;
> Kiffin>         tmpl_file = 'login';
> Kiffin>         CALL q.param( 'page', 'login' );
> Kiffin>     END
> Kiffin> %]
> 
> And there's no META there.
> 
> So, you need to change your strategy.  Set page.title from 
> something other than template.title, and life will be good.
> 
> -- 
> Randal L. Schwartz - Stonehenge Consulting Services, Inc. - 
> +1 503 777 0095 <[email protected]> 
> <URL:http://www.stonehenge.com/merlyn/>
> Perl/Unix/security consulting, Technical writing, Comedy, 
> etc. etc. See PerlTraining.Stonehenge.com for onsite and 
> open-enrollment Perl training!
> 


_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to