Debug parse error!

From: Date: Sat, 09 Nov 2002 02:01:28 +0000
Subject: Debug parse error!
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6368@lists.php.net to get a copy of this message
Well, what I did regarding the path problem I was having (look below) finally is to modify the smartyclass file paths (it uses realative path so :) I've downloaded the latest smarty 2.3.0 I think, and I'm getting a debugger parse error, I'm using the default values and haven't modified anything. Parse error: parse error, unexpected ')' in c:\apache\htdocs\templates_c\%%263\%%263604845\debug.tpl.php on line 65 Any suggestions on how to fix this??? Thanks! NPM NPM> I´m having some trouble convincing graphic designers to work with NPM> templates. The main reason being that their wysiwyg editors don´t NPM> display the images they are working with because smarty uses path NPM> relatives to the file that called the image not the template NPM> file… Can anyone tell me how can I change this behavior and still NPM> use compiled templates?? 1. You can check on Smarty's WIKI, there is a FAQ about this: http://smarty.incutio.com/?page=SmartyFrequentlyAskedQuestions 2. My personnal answer: if your webserver is a linux / unix one, you can set a symbolic link from the document root to the templates path and the WYSIWYG crap will not see the difference :) (i just noticed that i've added this answer to the wiki) NPM> Another issue I’m having is with images roll-overs, since I have NPM> to preload images separate for each page, so I will have to NPM> manually edit some constants to specified witch to load depending NPM> on the current page. It will be great to be able to do it from NPM> dreamweaver or golive, and still being able to separate parts of NPM> the page ie. Header.tpl body.tpl footer.tpl, Hmmm... maybe it's possible to make something using prefilters, but i'm too tired to think deeper about it this evening :) Bertrand / Katana

« previous php.smarty.general (#6368) next »