We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 24017
    • 88 Posts
    Ok, I have installed revolution to test it.... a bit complicated but surely only a question of time.... I have creatde a template ... well I am just about , only I can’t see any info about what path should be put to the images, css and other things such as reference to javascripts etc...I read that templates are stored in databse, not in file system ... so what are we supposed to reference within the html?
    Many thanks in advance
      • 32055
      • 11 Posts
      It’s really up to you ... MODx doesn’t dictate a folder structure.

      Personally, we use /assets and then /css, /images, /js, etc. and then in your template, you just call normal HTML:

      	<!-- CSS --> 
          <link href="assets/css/styles.css" rel="stylesheet" media="all" /> 
          <link href="assets/css/theme.css" rel="stylesheet" media="all" />  
      	<!-- /CSS --> 
          
      	<!-- JQuery and Plugins --> 
          <script type="text/javascript" src="assets/js/jquery-1.4.1.min.js"></script> 
          <script type="text/javascript" src="assets/js/jquery.flow.1.2.min.js"></script> 
              <!-- /JQuery and Plugins -->
        AKTA Web Studio
        Interface design and app development
        weareakta.com
        @weareakta

        Snippets / Plugins
        MODx + Gravatar
        RSSGen - RSS generator
        • 24017
        • 88 Posts
        thanks for the reply... but there is no assets folder in revolution structure.... shocked
          • 32055
          • 11 Posts
          Just make a new folder smiley

          In the same area as ’core’, ’manager’, etc. just add ’assets’.
            AKTA Web Studio
            Interface design and app development
            weareakta.com
            @weareakta

            Snippets / Plugins
            MODx + Gravatar
            RSSGen - RSS generator