Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

'Creating custom email notifications' dev doc

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #11  
Old 01-27-2020, 02:39 AM
  vasilis's Avatar 
vasilis vasilis is offline
 

X-Adept
  
Join Date: Feb 2009
Posts: 758
 

Default Re: 'Creating custom email notifications' dev doc

Quote:
You don't need to do this from the var directory. I work with the classes directory directly. And yes using IDE otherwise it will be impossible to follow the code.
Indeed Steve, I noticed that as well in 5.4.0.6. I can trace code from inside the /classes directory. According though to the developer's articles, the php scripts are executed from inside the var/run/classes directory after they have been cached by the decorator during a store re-deployment. So, I wonder how come the tracing in the IDE can take place from inside the /classes directory, which is of course is a good thing.
Reply With Quote
  #12  
Old 01-27-2020, 03:50 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,189
 

Default Re: 'Creating custom email notifications' dev doc

This has been the case for every XC version. You shouldn't work off of the var/run directory as this contains modified files ran through the decorator. You need to work with the actual raw classes.
In fact you should set your IDE to ignore the entire var directory as you don't want it to be indexing and searching files off of there.
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following user thanks cflsystems for this useful post:
vasilis (01-27-2020)
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 08:34 PM.

   

 
X-Cart forums © 2001-2020