<![CDATA[ Developpers guidelines - My Forums]]> https://forums.modx.com/thread/?thread=25271 <![CDATA[Re: Developpers guidelines]]> https://forums.modx.com/thread/25271/developpers-guidelines#dis-post-129746 orefice.matteo Sep 16, 2010, 08:34 AM https://forums.modx.com/thread/25271/developpers-guidelines#dis-post-129746 <![CDATA[Developpers guidelines]]> https://forums.modx.com/thread/25271/developpers-guidelines#dis-post-129745
Some usefull

  • $modx->makeUrl(’id’) to generate the url of a document.
  • $modx->regClientStartupScript to avoid multiple load of same script
  • [(base_url)] in front of path to have correct path
  • modx->config[’rb_base_dir’] for local assets path.
  • Develop with respect of standards xhtml, css, ... (so hard with full compatibility sad) but closing all tags is easy!
  • ...
]]>
Soda Sep 21, 2006, 01:36 AM https://forums.modx.com/thread/25271/developpers-guidelines#dis-post-129745