We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 31457
    • 5 Posts
    After 3days learning about MODx, I found it is exactly what I am looking for. Really amazing!

    But I still have some problems, need some help.

    1. How about the performance if there are thounds of document under one folder. Does it cost much time to display?
    2. Sometimes, I create one folder with template one (eg. news list) but I only permit the editor could post under this folder with another template (eg. news item), how can I do? Is it possible assign a specific template for sub documents?
    3.How can I cut the length of words(eg. title of document or summary of document), I found it is possible to use Ditto Summary extender, but I am still wondering how can I get the specific length of other values(eg. title of document) because when publishing the docuemnt as news list, I really need to cut the title for better layout. Are there any existed method to do so or how can I do so regarding ditto 2.0
    4. About cache, I disable the template switching, and caching correctly, but still can’t export to the static html files.

    That’s all, I need your help, Thanks a lot.
      • 34017
      • 898 Posts
      For #3, you can use PHx.
        Chuck the Trukk
        ProWebscape.com :: Nashville-WebDesign.com
        - - - - - - - -
        What are TV's? Here's some info below.
        http://modxcms.com/forums/index.php/topic,21081.msg159009.html#msg1590091
        http://modxcms.com/forums/index.php/topic,14957.msg97008.html#msg97008
        • 27376
        • 576 Posts
        Quote from: vFire at May 23, 2007, 12:56 PM

        1. How about the performance if there are thounds of document under one folder. Does it cost much time to display?
        As with any CMS/CMF you’re going to have performance issues on large sites. I’m running a site with 500+ documents with reasonable speed (Using PHx and SEO), around 0.9 - 0.13 seconds parse time. Bryan College has over 2000 documents running with MODx.Quote from: vFire at May 23, 2007, 12:56 PM

        2. Sometimes, I create one folder with template one (eg. news list) but I only permit the editor could post under this folder with another template (eg. news item), how can I do? Is it possible assign a specific template for sub documents?
        You could design a plugin to do this, but it’s not possible out-of-the-box.Quote from: vFire at May 23, 2007, 12:56 PM

        3.How can I cut the length of words(eg. title of document or summary of document), I found it is possible to use Ditto Summary extender, but I am still wondering how can I get the specific length of other values(eg. title of document) because when publishing the docuemnt as news list, I really need to cut the title for better layout. Are there any existed method to do so or how can I do so regarding ditto 2.0
        You could utilize the longtitle document element of your pages. Set the pagetitle to something short for ditto to display, and then in the longtitle write out the full title.

        Alternatively, take a look at PHx documentation to see if it can offer a solution. Personally, I’d use PHx as an absolute last resort, only after I’ve exhausted all other options because upgrading PHx’d site to 0.9.7 may prove to be difficult. We’ll just have to wait and see what OpenGeek has in store for upgrades.Quote from: vFire at May 23, 2007, 12:56 PM

        4. About cache, I disable the template switching, and caching correctly, but still can’t export to the static html files.
        Caching and exporting static html are two completely different functions of MODx. When exporting a site, you have to make sure that [tt]/assets/export/[/tt] is writable by your webserver.

        Enjoy!
          • 31457
          • 5 Posts
          Thanks for your kindly reply. Maybe I have to extend ditto by myself, as a suggestion I do like modx could support the variable filter or modifier like smarty do. For example {variable|length=10}.

          As the system performance, if there are 1000 docs under one folder, how can I easily search the document and edit it. I do love MODx and think Modx is really perfect for small and medium website, but I am still wondering is it suitable for portal and news sites. I love the structure of MODx. After I found modx I won’t use mambo anymore.

          Regards export function, I am sure the permission of dir is correct, but I still got the following errors:

          Could not retrieve document.