Download & Extend

How to remove unwanted 12 and 16 grid skin options?

Project:Fusion Accelerator
Version:7.x-2.x-dev
Component:Documentation
Category:support request
Priority:normal
Assigned:webkenny
Status:closed (works as designed)

Issue Summary

I have created a custom 19 column grid and this works fine.

But I don't want the default "Width (16 column grid)" and "Width (12 column grid)" options to still be available in my "Apply skins" block settings.

How can I remove them?

Comments

#1

Project:Fusion» Fusion Accelerator
Version:7.x-2.0-beta2» 7.x-2.x-dev
Assigned to:Anonymous» webkenny
Status:active» fixed

This is actually a function of Fusion Accelerator but it's implementing a version of it in Fusion Core. If you look in the skins directory you will see a core.inc file which has the following code:

/**
* Implements hook_fusion_apply_skin_PLUGIN_info().
*/
function fusion_core_fusion_apply_skin_core_info() {
// Bunch of Skin Definitions here
}

So one could easily reimplement the function as THEMENAME_fusion_apply_skin_core_info() and do whatever overrides are necessary. See fusion_apply.api.php in the Fusion Accelerator module's fusion_apply submodule.

(Also moving this to that queue)

#2

Thanks,

In the end I found a different solution: Visited the Fusion Accelerator "Applied skins" (/admin/appearance/fusion), and deleting the unwanted items from the list.

#3

Status:fixed» closed (works as designed)

Great. Marking closed.