We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 53376
    • 32 Posts
    I successfully included MODX CMF in Joomla. I see that current page URL rewriting by .htaccess as
    site.com/my/page -> site.com/index.php?q=my/page

    So I specified $_GET['q'] parameter before including MODX, but MODX always show me only main page.

    This code prints MODX content in place where I included it:
    (see line 7)

    Deleted, see bottom post...


    I taken this code from MODX index.php and was do some changes.

    Also I commented this lines in /core/model/modx/modresponse.class.php:

    while (ob_get_level() && @ob_end_flush()) {}
    flush();
    exit();

    This question has been answered by i_am_bars. See the first response.

    [ed. note: i_am_bars last edited this post 6 years, 9 months ago.]
      • 53376
      • 32 Posts
      See line 7 in first code
      • discuss.answer
        • 53376
        • 32 Posts
        Solved! My new code [ed. note: i_am_bars last edited this post 6 years, 9 months ago.]