码迷,mamicode.com
首页 > Web开发 > 详细

[MODx] 1. Add Html5 template into the MODx

时间:2015-01-05 23:26:12      阅读:249      评论:0      收藏:0      [点我收藏+]

标签:

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

 

[MODx] 1. Add Html5 template into the MODx

标签:

原文地址:http://www.cnblogs.com/Answer1215/p/4204753.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!