We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28508
    • 73 Posts
    Hello,

    I wanted to create a guestbook-component by modifying Quip.
    Of course you could use Quip as a guestbook by just implementing the call on one single page,
    but then you have no commenting-tool any more. Furthermore, I need two seperate components in the backend-menu.

    I copied the database-tables and the snippets, and of course renamed every ’Quip’ to ’Guestbook’ (case-sensitive).
    Now I’ve troubles with the reply-call: The call doesn’t deliver any result.

    The problem is this getObject() call in the reply-snippet. I guess there is something wrong with the xPDO stuff.
    Maybe I’ve forgotten to replace something..

    /* get thread */
    $thread = $modx->getOption('guestbook_thread',$_REQUEST,$modx->getOption('thread',$scriptProperties,''));
    if (empty($thread)) return '';
    $thread = $modx->getObject('guestbookThread',$thread);
    if (!$thread) return '';
    


    Any hints?

    Thank you!