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

Webp
Webp

First of all: nice plugin (Static Pages) and good work, thanks!

Because of AJAX handling functionality for a contact form snippet, I needed a snippet created from a component. The component handles AJAX. But because of limitations (link) it is not possible to put this component on a partial and in turn create a snippet out of that partial.

Normally you can customize the markupcode of a component by 'forking' it in a partial or layout. Then the markupcode can be customized! But how can I customize the markupcode of a snippet created from component for a particular theme?

Snippet created from component in the Plugin definition class:

public function registerPageSnippets()
{
    return [
       '\RainLab\Weather\Components\Weather' => 'weather'
    ];
}

1-1 of 1

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