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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T14:02:31+00:00 2026-05-26T14:02:31+00:00

I am trying to create a list action in the admin generator. I have

  • 0

I am trying to create a list action in the admin generator.

I have the following in my generator.yml file:

 ......
  list:
    title: Sales
    actions: { _export: ~ }
    display: [=id, created_at]

So I have the export action in my actions.class.php

public function executeList_export(sfWebRequest $request)
{

}

And I have a template named: List_exportSuccess.php

The problem is, when I click the export link, I get: Empty module and/or action after parsing the URL "/sales/List_export/action" (/).

Am i naming these files/methods correctly?

Thanks

EDIT:
routing.yml

sales:
  class: sfDoctrineRouteCollection
  options:
    model:                sales
    module:               sales
    prefix_path:          /sales
    column:               id
    with_wildcard_routes: true

homepage:
  url:   /
  param: { module: dash, action: index }

sf_guard_signin:
  url:   /login
  param: { module: sfGuardAuth, action: signin }

sf_guard_signout:
  url:   /logout
  param: { module: sfGuardAuth, action: signout }

sf_guard_password:
  url:   /request_password
  param: { module: sfGuardAuth, action: password }
  • 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-26T14:02:32+00:00Added an answer on May 26, 2026 at 2:02 pm

    ok. There’s your problem. Add this to the very end of your routing.yml

    default:
      url:   /:module/:action/*
    

    or create a specific route for that action (which I don’t recommend)

    sales_export:
      url: /sales/List_export/action
      param: { module: sales, action: List_export }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an the following class I'm trying to create a list of with
Trying to create a list to return some JSON data to a view. Following
Admin: Please create image urls as images I'm trying to achieve the following output:
I'm trying to create a list of tasks that I've read from some text
I am trying to create a list of a certain type. I want to
I am trying to create a list that adds a new row of data
I'm trying to create a list that some of the elements are defined and
I've been trying to create a list definition based on the SharePoint Discussion Board
Working in C# win forms, I'm trying to create a list of items where
What's going on here? I'm trying to create a list of functions: def f(a,b):

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.