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

  • SEARCH
  • Home
  • 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 1091149
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T23:28:47+00:00 2026-05-16T23:28:47+00:00

In symfony the default plugin folder is /plugin, I’m wondering if there is a

  • 0

In symfony the default plugin folder is /plugin, I’m wondering if there is a way to use more than one folder to categorize different types of plugins?

There is a sf_plugin_dir but I’m not sure that can be configured to be an array, something like

array(
  '/plugin-folder1/..',
  '/plugin-folder2/..',
)

and still keeps everything working? Like the plugin:publish-assets task.

Any ideas?

  • 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-05-16T23:28:48+00:00Added an answer on May 16, 2026 at 11:28 pm

    You’ll find the solution here: http://gist.github.com/572781

    Let me copy it here for convenience and future reference:

    class ProjectConfiguration extends sfProjectConfiguration
    {
      public function setup()
      {
        $this->setupProjectPlugins();
      }
    
      /**
       * Responsible for initiating any plugins and pointing vendor plugins
       * to the "vendor" subdirectory
       */
      protected function setupProjectPlugins()
      {
        $this->enableAllPluginsExcept(array('sfPropelPlugin'));
    
        $vendorPlugins = array(
          'ioMenuPlugin',
          'sfCKEditorPlugin',
          'vjCommentPlugin',
          'sfThemePlugin',
          'sfDoctrineSlotPlugin',
          'sfFormExtraPlugin',
          'sfFeed2Plugin',
          'sfImageTransformPlugin',
          'sfDoctrineGuardPlugin',
          'isicsBreadcrumbsPlugin',
          'sfDoctrineActAsTaggablePlugin',
          'sfInlineObjectPlugin',
          'ioEditableContentPlugin',
        );
    
        foreach ($vendorPlugins as $plugin)
        {
          $this->setPluginPath($plugin, sfConfig::get('sf_plugins_dir').'/vendor/'.$plugin);
        }
        $this->enablePlugins($vendorPlugins);
      }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a symfony module for my GenericImport class. Rather than the default method
How do I add an extra check to the default Symfony login_check? Most documentation
In Symfony how to set default values to sfWidgetFormDateRange from action
I am using Symfony 1.3.2 on Ubuntu 9.10 I want to set the default
Using Symfony and Doctrine, I have a multi-select list box. The multiple default values
I need to edit primary keys in several tables. By default, symfony hides primary
I want symfony to use my own sfConfigCache.class.php, but I don't know how to
Symfony crud generator by default create two forms, for create and update. I want
In symfony 2, one can embed a controller in a template. For example, I
I use symfony 1.4.15 with doctrine. And I have category and subcategory: Category: actAs:

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.