S
|
spintz author 3/11/2008 |
As a workaround, I can setup my code inside the {php}{/php} block, then go directly the Build or Next. If I ever go to the WYSIWYG Visual Editor for that page, then PHPR reformats that code for me, and I have to change it back before building my app. Please, please fix this soon! <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=26864&image=1&table=forumreplies' class='bbc_emoticon' alt=':D' /> |
![]() |
Sergey Kornilov admin 3/11/2008 |
If you need to insert PHP code into the template use Insert PHP code snippet button in Visual Editor. |
S
|
spintz author 3/12/2008 |
That's a sufficient workaround, but not, IMO, a solution. The {php}{/php} tag is supported by smarty, so it should be properly handled in the HTML editor. |
J
|
Jane 3/13/2008 |
Hi, //you code for Menu page: before process event ... }//end of menu event //your function here function YourCustomFunction() { //your code ... |
S
|
spintz author 3/13/2008 |
To add global events use one of the global event, for example Menu page: before process event.
|