1

I need to create something like a node with settings. This will have custom fields, images, etc... Just like a content type, but without having to create one of them.

Why? I think it's strange having to create a content type when I need to create only one node with that structure.

I know this sounds weird, but just wonder if there is another way?

Thanks

1 Answer 1

4

The clean way is to create a custom module or theme with settings you need. Examples For Developers shows you how to do it.

If you need settings, you need them because something will use them. So just adding a proper form shouldn't be too big overhead. And if you keep your settings in a way that makes possible for field to cease existing, you need to add more lines of code to safeguard against such situations. You don't want that. It's disaster waiting to happen.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.