Jump to content
DevFuse Forums

Forms Plugin


tomtucka

Recommended Posts

  • Management
3 hours ago, tomtucka said:

I have purchased the forms plugin off the market place, Is it possible to create multiple topics from one form submission? If not is there anyway I could do this?

No not currently. Were you looking to create identical topics or something else in mind?

Link to comment
Share on other sites

  • Management
On 1/17/2020 at 7:10 PM, tomtucka said:

Identical topics with different names if possible 

Different names won't be possible with out more substantial changes but here is a patch to get it to have multiple topics.

Open applications/form/sources/Log/Log.php

Find and copy this code.

        /* Create topic alert */
        if( $topic = \IPS\form\Alerts::_createTopic( $this, $topicSettings, $member, $this->container(), $tags ) )
        {
            /* Save topic id */
            $this->topic = $topic;
        }

e.g.

        /* Create topic alert */
        if( $topic = \IPS\form\Alerts::_createTopic( $this, $topicSettings, $member, $this->container(), $tags ) )
        {
            /* Save topic id */
            $this->topic = $topic;
        }

        /* Create topic alert */
        if( $topic = \IPS\form\Alerts::_createTopic( $this, $topicSettings, $member, $this->container(), $tags ) )
        {
            /* Save topic id */
            $this->topic = $topic;
        } 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...