NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Smarty highlight error ?


Joined: 01 Mar 2006
Posts: 42
Location: Poland
Reply with quote
Smarty hightlight doesn't seem to work when a smarty variable appears in <form> fields.

Example from PhpED's tpl template with modification


Dynamic highlighting turned on.

I'm using PhpED 4.6 Professional
View user's profileFind all posts by ertiusSend private message


Joined: 01 Mar 2006
Posts: 42
Location: Poland
Reply with quote
no suggestions how to have smarty work like this ? (PhpED 4.6 b. 4621)
View user's profileFind all posts by ertiusSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8340
Reply with quote
Thanks, ertius,
passed on to QA.
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Veteran

Joined: 30 Aug 2006
Posts: 116
Reply with quote
Has anyone experienced any problems with syntax highlighting where the smarty tags are inside href attributes?

eg:

<a href="index.php?id={$id}">

In the above, the {$id} would not be recognized as a smarty tag.
View user's profileFind all posts by rudderSend private message


Joined: 01 Mar 2006
Posts: 42
Location: Poland
Reply with quote
rudder wrote:
Has anyone experienced any problems with syntax highlighting where the smarty tags are inside href attributes?

I did, see screenshot in 1st post Smile (PhpED 4.6.1 Pro build 4624)
View user's profileFind all posts by ertiusSend private message
Veteran

Joined: 30 Aug 2006
Posts: 116
Reply with quote
Ah ok, I saw your screenshot and assumed you indicated your bug only applied to <form> tags. For me it occurs anytime the {$variable} is inside ANY html tag.
View user's profileFind all posts by rudderSend private message


Joined: 01 Mar 2006
Posts: 42
Location: Poland
Reply with quote
rudder: Same here, guess I pick up wrong code to show that highlighting doesn't work. Hope NuSphere Team fix in comming relase.
View user's profileFind all posts by ertiusSend private message
Smarty highlight error ?
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