On March 26, 2019 we launched new MODX Forums. Please join us at the new MODX Community Forums.
Subscribe: RSS
  • Hello,

    i wrote an extra for revolution that
    generates static files from resources.

    What i basicly wanted is
    a MoveableType-Like Render-System
    that makes the contents of my sites lightning fast.

    I’m shure you want it and i want to share.
    I’m setting up a github repro within the next days.

    Or is there allready a revolution-solution in the public domain i could not find?
    • Please, stop it, i can’t handle that massive amount of replies. wink
      • Thanks for this offer. This could be useful sometimes. I am interested in testing it.
        Is your github repo online?
        • Hello blixa,

          Thanks for response.

          The repro is still not on github, but every post to this topic gives me more motivation to create one.

          I use it allready for two small sites, but it is not very userfriendly to setup. That version doesn’t even use the MODxExtJs stuff for the CMPs, i just throw some jquery in, shaked, not stirred and voila! Hit’n’run-style. A prototype.

          Now the task is to make it userfriendly. I got used to ExtJS.

          I’m trying to figure out the best way to tell what resource to write to its static representation and what to left to the php-processes. TVs to the rescue. But what about resources that don’t have a template? Is there a way to setup options/settings for a resource independently from a template? As far as can tell, no, but maybe i missed something..
            • andrearicci Reply #6, 8 years ago
              Great! I made my last site in Evo because my client wanted it static - and it didn’t work! (all site navigation links were wrong).
              As I’m an occasional web designer I’ve no way to test it. Hope soon. Thank you anyway
                MODx evo 1.5~1.6 ✪ Apache v 2.2.22 ✪ PHP v 5.3.10 ✪ MySQL v 5.1.61
              • Quote from: andrearicci at Jun 04, 2011, 03:00 PM

                (all site navigation links were wrong).

                Were they generally wrong or wrong when a document changed (removed or moved or..) ?
                • andrearicci Reply #8, 8 years ago
                  I would say generally wrong.
                  As I asked in ths topic, I had this menu output:
                  <li><a href="http://localhost/" title="Home" >Home</a></li>
                  <li class="active"><a href="/multimedia-ip.htm" title="multimedia IP" >multimedia IP</a></li>
                  <li><a href="/encryption-ip.htm" title="encryption IP" >encryption IP</a></li>
                  <li><a href="/downloads.htm" title="downloads" >downloads</a></li>
                  <li class="last"><a href="/company.htm" title="company" >company</a></li>

                  While I was expecting:

                  • the first one pointing to "index.htm" instead of "http://localhost/"
                  • all the others, linking to files in the same directory, without the starting "/"
                  All the links internal to the site have similar problems.Luckilly it’s not many pages and I could run some "find & replace" in notepad++, but I can’t ask to do the same to my clients.
                  (more in ths topic)
                  Tahnk you for your interest
                    MODx evo 1.5~1.6 ✪ Apache v 2.2.22 ✪ PHP v 5.3.10 ✪ MySQL v 5.1.61
                  • Hi Purepll,

                    I tried to install your Statiker add-on, seems to be exactly what I need, thanks for that.

                    Until now I can generate all my html files, the structure is ok, but all the files have a weird content. Here an example of my index.html:

                    HTTP/1.1 200 OK
                    Date: Wed, 12 Oct 2011 23:06:16 GMT
                    Server: Apache/2.0.63 (Unix) PHP/5.2.11 DAV/2
                    Content-Length: 614
                    Content-Type: text/html;charset=ISO-8859-1
                    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
                      <title>Index of /swiss-rooms.ch/export</title>
                    <h1>Index of /swiss-rooms.ch/export</h1>
                    <pre><img src="/icons/blank.gif" alt="Icon "> <a href="?C=N;O=D">Name</a>                    <a href="?C=M;O=A">Last modified</a>      <a href="?C=S;O=A">Size</a>  <a href="?C=D;O=A">Description</a><hr><img src="/icons/back.gif" alt="[DIR]"> <a href="/swiss-rooms.ch/">Parent Directory</a>                             -   
                    <address>Apache/2.0.63 (Unix) PHP/5.2.11 DAV/2 Server at localhost Port 8888</address>

                    Did I forgot something special?
                    Thanks for your help,

                    • Is there documentation for how this is supposed to work? I still haven't had success getting it to create any files.

                      When I first went into Statiker, I wasn't sure what I was supposed to do. I clicked on Create Site, and put in a name, context and path, but it rejected the path, even though it was a legitimate path. I tried a few options, then after several attempts, I decided to try creating a new directory in the assets/components/statiker folder, and Statiker finally accepted that. I then clicked on build all, and it showed the progress bar, and said that it successfully finished, but there aren't any files anywhere that I can find. Since there is no documentation that I can find, I don't know what to do next or where to look for the files. The process took only a few seconds for 1000 pages, so I'm thinking that the process actually failed, even though it said it finished successfully.

                      What is supposed to happen? Where do I find the files?