NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
smarty syntax highlighting change the smarty delimiter


Joined: 20 Feb 2008
Posts: 17
Reply with quote
Hello,

I have just started evaluating PhpEd..
Is there a way to change the syntax
left_delimiter
right_delimiter

for the smarty syntax highlighting. As I do not use the default { } as they conflict with Javascript alot.

Thanks
Joe
View user's profileFind all posts by jozwikjpSend private message


Joined: 20 Feb 2008
Posts: 17
Reply with quote
Sorry I found a thread about it. Working on it..

Thanks.
Joe
View user's profileFind all posts by jozwikjpSend private message


Joined: 27 Feb 2008
Posts: 1
Reply with quote
Where? How?

It would be nice if you could provide this information to everybody else...
View user's profileFind all posts by mmarschingSend private message


Joined: 28 Jan 2008
Posts: 2
Reply with quote
Code:

$smarty = new Smarty;
$smarty->left_delimiter = '<!--{';
$smarty->right_delimiter = '}-->';
$smarty->assign('foo', 'bar');
$smarty->display('example.tpl');

Arrow .... as to find in smartys manual Exclamation
View user's profileFind all posts by tomakoSend private message
smarty syntax highlighting change the smarty delimiter
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic