Can you extend "_layouts/cp" in a plugin settings page? I'm aware that I could enable the plugin to have it's own CP section, but I don't feel that this would be the right place for it to live due to its nature, when you view the settings page it wouldn't be a list of inputs, it would be a table view.

Ideally the plugin page would reside in settings &gt; plugins &gt; myPlugin but have the same template as a plugin with a CP section, just like the sections settings page.

This is my template in pluginHandle/settings.html

{% extends "_layouts/cp" %}
{% import "_includes/forms" as forms %}

{% set title = "My Plugin" %}

{% set content %}
  Some content should appear here maybe?
{% endset %}


I don't get any errors when I view the page it just looks like this:



As you can see the title variable gets ignored and has taken the plugin name, but if I remove the {% set title = '' %} part it throws an error of Variable "title" does not exist.

I tried to match the basics of what the sections settings template that craft has. Am I just trying to do something that was never an intended purpose or is just bad practice ?

Any clearance would be great, thanks!
Your settings page doesn't need to include {% extends "_layouts/cp" %}.

Also there's no need to define any block section. What's in your template/settings.html file will be shown within that CP-area per default.