Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8907703
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T02:59:03+00:00 2026-06-15T02:59:03+00:00

I am creating a custom plugin, and am trying to keep all related model

  • 0

I am creating a custom plugin, and am trying to keep all related model files contained within the plugin directory structure. However, when I build the model, some files get dropped into lib/model/doctrine/… and others in plugins/userPlugin/lib/model/… . According to Doctrine docs I can add a “package” option to the schema.yml file, and generated model files will be created in the location as defined by my dot-notation entry, for example:

# plugins/userPlugin/config/doctrine/schema.yml

connection: store-rw-user

options:
  # Fully expect resulting model files to be dropped in this directory (vs the main model dir)
  package: userPlugin.lib.model.doctrine

....

As mentioned, this config setup still results in model files being dropped into the main lib/model/doctrine directory. I even tried this, to no avail:

# plugins/userPlugin/config/doctrine/schema.yml

connection: store-rw-user

options:
  package: userPlugin
  package_custom_path: /tmp/userPlugin

....

Just wanted to see if the files were dropped in the /tmp directory, but they were not.

Before I start tearing apart the source code, I figured I would ask first, to see if there is something I am missing.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T02:59:04+00:00Added an answer on June 15, 2026 at 2:59 am

    It’s perfectly normal to get model files in your project directory after building. The purpose of this is to let you customize the plugin model on per-project basis, because the classes inside these files inherit from the classes defined in the plugin’s files. I use plugins too, and most of the time, all the code I write resides in the plugin’s model files.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am creating a plugin for Sonar and I need to create a custom
I'm trying to find documentation on how one would go about creating a custom
I'm creating a custom jQuery plugin to add a few images above an input
I'm creating a browser plugin (bookmarklet) that exacts a large XML document embedded within
I'm creating a dashboard for a custom plugin. It would be nice if I
I'm creating a custom select plugin. Everything is going great, but the dropdowns (
Ran into problem with creating custom select dropdown plugin in jQuery. I'm at the
I'm starting my work on the project related to creating some custom set of
I'm in the process of creating a plugin which creates several custom post types
I am using Datatables , a jQuery plugin for creating custom tables. I am

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.