[SOLVED]UDT error with $page_alias
Posted: Thu Jan 10, 2008 2:37 pm
Hi i created an UDT called test with the content
This UDT i open in a content page
with
Now i receive following error as well in the preview as on the normal site:
How can i solve this problem?
Thanks a lot
Code: Select all
echo $params['text']
with
Code: Select all
{test text=$page_alias}
Code: Select all
string(142) "Smarty error: [in content:content_en line 1]: syntax error: invalid attribute name: 'text'
(Smarty_Compiler.class.php, line 1536)" string(126)
"Smarty error: [in content:content_en line 1]: syntax error: invalid attribute name: '=' (Smarty_Compiler.class.php, line 1536)"
string(149) "Smarty error: [in content:content_en line 1]: syntax error: invalid attribute name: '$page_alias' (Smarty_Compiler.class.php, line 1536)"
Thanks a lot