Skip to content

Allow extension of existing model #4

@ReplicaObscura

Description

@ReplicaObscura

I'm not sure exactly how it would be implemented yet, so I thought I'd ask here and get your opinion.

I would like to be able to extend the BlogPost model and use that instead of the default one inside the plugin. This is because I'd like to be able to store multiple images with each blog post using the davidpersson's 'Media' plugin (which I'm working on converting to cake 2.0).

Naturally a dependence on the Media plugin to use the Blog plugin wouldn't necessarily be a good thing, but being able to use custom fields, validation, methods, and behaviors for the BlogPost model would be an important feature for many use cases.

Not sure if you have any ideas on how that could be achieved, or if you have any other ideas in mind for allowing custom field types, especially image attachments.

Thanks!

Ben

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions