This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

The50
The50

Hello I am trying to run a Autumn Messages plugin, it can be found here https://github.com/gpasztor87/oc-messages-plugin

Everything is working except create new message modal window.

The modal itself is called like this:

    <a
        href="nojavascript...;"
        class="btn btn-info pull-right"
        data-handler="onInit"
        data-control="ajax-modal"
        data-update-partial="{{ __SELF__ }}::create_message">
        New message
    </a>

Partial create_message has the form inside it. If I click on this button nothing happens, is this the right way to give the partial path to Ajax function? I can't find any data-update-partial parameter in October documentation. How could I make this work?

michal.walkowiak028952
michal.walkowiak028952
michal.walkowiak028952

The50 said:

Hello I am trying to run a Autumn Messages plugin, it can be found here https://github.com/gpasztor87/oc-messages-plugin

Everything is working except create new message modal window.

The modal itself is called like this:

   <a
       href="nojavascript...;"
       class="btn btn-info pull-right"
       data-handler="onInit"
       data-control="ajax-modal"
       data-update-partial="{{ __SELF__ }}::create_message">
       New message
   </a>

Partial create_message has the form inside it. If I click on this button nothing happens, is this the right way to give the partial path to Ajax function? I can't find any data-update-partial parameter in October documentation. How could I make this work?

Have you solved this problem?

Last updated

LMBdev
LMBdev

Any luck with this problem?

1-4 of 4

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.