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

2samp262819
2samp262819

Hello, I'm trying to write the first plugin according to the instructions, there was a question about the url. When creating a page, the plugin must have an identifier, for example / blog /: id Can't figure out how to add it?

2samp262819
2samp262819

The problem has been resolved. In the plugin component added:

public function defineProperties() { return [ 'slug' => [ 'title' => 'Title', 'default' => '{{ :slug }}', 'type' => 'string', ], ]; }

1-2 of 2

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