How would one remove one or multiple of the predefined layouts? I tried removing them from the directory but only their pictures disappear. They are still selectable (although they don't really work).

Comments

nath’s picture

There also seems to be trouble when trying to add a new layout, see http://drupal.org/node/214952

Can someone please explain, how one can change the list of layouts?

merlinofchaos’s picture

Sorry, right now this feature isn't supported. It needs to be in there, but at the moment Panels doesn't do it.

moshe weitzman’s picture

Still an open issue? Would be nce to resolve it before final release.

sdboyer’s picture

Yeah, the resolution for this ultimately rides on building the API we talked about in #228089: API allowing programmatic determination of available layout types, but a UI-based implementation of it probably won't be around until RC.

sun’s picture

Title: Removing Layouts? » Disable layouts via UI
Version: 5.x-2.0-beta2 » 5.x-2.x-dev
Category: support » feature

subscribing

sdboyer’s picture

Just to update this - see the link in #4, as I've made the necessary additions to the API that allow this. However, I'm sticking with what I said before - building a UI for this isn't a priority at the moment.

esmerel’s picture

Version: 5.x-2.x-dev » 6.x-3.x-dev
Status: Active » Fixed

In panels 3, you can remove the layout from the \panels\plugins\layouts folder entirely and it will be removed from the selection page. When administering the types of panels, you can also deselect a given layout so that panel creators will not be able to choose it.

esmerel’s picture

Version: 6.x-3.x-dev » 5.x-2.x-dev

bah, changed the version by accident.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.