[MODx] 1. Add Html5 template into the MODx

1. Connet MODx by SSH:


  • Go to the MODx cloud;
  • Find you current user and right click selet Edit Cloud;
  • Find your SSH connect information:

技术分享

技术分享

 

2. Upload an HTML5 template


 

  • You can grap one from www.html5up.com
  • Upload the files to the root dir (for learning propuse)

技术分享

  • We didn‘t upload the index.hmtl into SSH, we use it as template.

 

3. Set up your first template:


  • Copy the content of index.html 
  • Create a new template: Learn Template

技术分享

  • Parse the whole html into it

 

4. Using the tempalte:


  • Go to the Resources tab
  • Add a new document call ‘learn‘
  • In the ‘Uses Template‘ select box select ‘Learn Template‘

技术分享

技术分享

  • View page

 

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。