forum.easy-joomla.org

Projects/Projekte => J! 1.5.x Serie - EasyCreator => Thema gestartet von: rvp am 30. 09. 2009 04:30



Titel: Ampersand problem in code editor -> EasyCreator 0.0.11
Beitrag von: rvp am 30. 09. 2009 04:30
Hi, im a newbie in developing Joomla Components. EasyCreator did significantly sped my time in learning and generating the skeleton of extensions...Great work guys! On the otherhand, the easycreator 0.0.11 got me stuck at the beginning of the coding phase....re: Code editor strips off everything after an ampersand...my code got lost which ended me rewriting all of the missing code. Below is a snippet....

Code Block Sample:

class HelloViewHello extends JView
{
   function display($tpl = null)
   {
      $model =& $this->getModel();
      $greeting = $model->getGreeting();
      $this->assignRef( 'greeting',   $greeting );

      parent::display($tpl);
   }
}

After clicking the Save button, it still displays correctly. But, if you close the file or clicked another code file then returned to the previous coding (which was saved), everything starting from the ampersand is no longer there...see end effect below...

class HelloViewHello extends JView
{
   function display($tpl = null)
   {
      $model =

I've tried registering a project and created a new project, both has the same problem. If the code is just being viewed, code is not stripped off but once you click the save button, codes get stripped off starting from the ampersand.

BTW, I'm using Joomla 1.5.14 on a WAMP platform. WinXP Pro, Apache 2.2.10, MySQL 5.0.67 (UTF), PHP 5.2.6

Is there a patch for this problem...Really need to continue using EasyCreator.

Thanks.


Powered by SMF 1.1.8 | SMF © 2006, Simple Machines LLC