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 7872579
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T02:14:32+00:00 2026-06-03T02:14:32+00:00

I created an admin module in Symfony . I would like to show the

  • 0

I created an admin module in Symfony. I would like to show the table list but without filters.

By default I get all filters. I managed to unset all the filters by hand -using unset, in the filterForm file of the module. Even more, I enabled just one filter and unset it. Used the unset($this->widgetSchema['filter'], ...) for that. I don’t like this solution.

I would like to do it using the generator.yml:

I tried:

  I)   filter: false

  II)  filter:
         display: false 

  III) filter:
        display: [] <-- empty!

None worked. I read that using credentials could be possible but I would like to do it in a more simple a concrete way.

Thank you.

EDIT:
My actual generator. Is the default really:

generator:
class: sfPropelGenerator
param:
  model_class:           halt
  theme:                 admin15
  non_verbose_templates: true
  with_show:             false
  singular:              Halt
  plural:                Halts
  route_prefix:          halt
  with_propel_route:     1
  actions_base_class:    sfActions

config:
  actions: ~
  fields:  ~
  list:
    object_actions: {}
    batch_actions: {}
  filter:  ~
  form:    ~
  edit:    ~
  new:     ~
  • 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-03T02:14:34+00:00Added an answer on June 3, 2026 at 2:14 am

    You are almost done but you don’t test everything 🙂

    filter:
      class: false
    

    http://www.symfony-project.org/reference/1_4/en/06-Admin-Generator#chapter_06_filter

    To completely remove the filtering feature, set the class to false.

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

Sidebar

Related Questions

I have created an admin module and I'd like the items in the list
I have 2 modules: default and admin. For default module I created custom and
I'm migrating code from Symfony1.0 to Symfony 1.4. Created a admin module called: mymodel
I created db-table like this, # ./zf.sh create db-table TestModel admin and now I
I created module for admin specific operations. I don't want to write the same
I want to rename a project which I created with: django-admin.py startproject But after
I have a project created using Symfony 1.4.15. Because I like Doctrine :) I
in an admin generator created module I added a fictif field using a partial.
I have created a module called Admin and created a controller Admin through zend
I have a strange error in an admin module created by the admin generator:

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.