Click here to register.
      
Bazaar


     Etcetera > HTML::Template::Expr with

HTML::Template::Expr with

User lrobinson
Date 4/21/2008 10:25 am
Views 786
Rating 0    Rate [
|
]
Previous · Next
User Message
lrobinson

When I switch to HTML::Template::Expr for a particular template, and use the body.content template variable, the page content is not inserted into the template at this point, but at the end of the page, after the closing </html>.

Is that a bug or am I doing something I shouldn't?

I'm on 7.4.31.

Thanks

Luke

 

--- (Edited on 21-04-2008 4:25 pm [GMT+0100] by lrobinson) ---



Back to Top
Rate [
|
]
 
 
preaction

When using H::T::E (or Template Toolkit), you must change any "." characters in template variable names into "_" characters.

So body.content becomes body_content.

It's WebGUI policy to not add any new template variables with periods in them, but there are still some old ones out there.

--- (Edited on 4/21/2008 12:06 pm [GMT-0500] by preaction) ---



Back to Top
Rate [
|
]
 
 
arso12

I have the same problem and than when I change the body.content to body_content the outlook of the page loks fine!

The problem that I stil have going on is that the admin menu does not apear on the left side because the template engine also changes some of WebGUI functions. Do you have the same problem wiith admin menu?

My version of WebGUI is: 7.4.15-stable

I get an error in:

dragable_init is not defined
[Break on this error] dragable_init("/helper/webgui/um?func=setContentPositions;map=");
contextMenu_createWithImage is not defined
[Break on this error] var contextMenu = new contextMenu_createWithImage("/extras/asset...
contextMenu_createWithImage is not defined
[Break on this error] var contextMenu = new contextMenu_createWithImage("/extras/toolb...
contextMenu_createWithImage is not defined
[Break on this error] var contextMenu = new contextMenu_createWithImage("/extras/asset...
contextMenu_createWithImage is not defined
[Break on this error] var contextMenu = new contextMenu_createWithImage("/extras/asset...
contextMenu_createWithImage is not defined
[Break on this error] var contextMenu = new contextMenu_createWithImage("/extras/asset...
contextMenu_createWithImage is not defined
[Break on this error] var contextMenu = new contextMenu_createWithImage("/extras/asset...
createSlidePanelBar is not defined
[Break on this error] var slider = new createSlidePanelBar("WebGUIAdminBar");

So any idea how to fix this problem?

--- (Edited on 2008-04-25 11:22 [GMT+0200] by arso12) ---



Back to Top
Rate [
|
]
 
 

Re: is there a an audio/video gallery wobject? by preaction - Sat @ 09:43am

is there a an audio/video gallery wobject? by orenshani - Sat @ 02:36am

Smoketest For nightly_2008-10-11 by Visitor - Sat @ 01:55am

Smoke Test for WebGUI (Stable) (2005-01-23) by botaction - Sat @ 01:50am

Smoke Test for SVN (2005-01-23) by botaction - Sat @ 01:43am

Partner for Feature: Document Repository by JT - Fri @ 04:11pm

Error in log. by pvanthony - Fri @ 12:46pm

Re: Goals by JT - Fri @ 12:31pm

Re: Images in RSS-Syndicated asset by elnino - Fri @ 12:25pm

Re: Password Recovery info wrong by dwittenberg - Fri @ 12:04pm

Re: Password Recovery info wrong by dwittenberg - Fri @ 12:03pm

Re: WebGUI::Crypt by JT - Fri @ 11:56am

Re: Images in RSS-Syndicated asset by ehab - Fri @ 11:52am

Re: Images in RSS-Syndicated asset by elnino - Fri @ 11:47am

Re: Password Recovery info wrong by knowmad - Fri @ 11:18am