[MODx] 1. Add Html5 template into the MODx

时间:2021-06-26 16:07:29

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:

[MODx] 1. Add Html5 template into the MODx

[MODx] 1. Add Html5 template into the MODx

2. Upload an HTML5 template


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

[MODx] 1. Add Html5 template into the MODx

  • 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

[MODx] 1. Add Html5 template into the MODx

  • 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'

[MODx] 1. Add Html5 template into the MODx

[MODx] 1. Add Html5 template into the MODx

  • View page