Development

#5697 (overriding default admin generator theme files)

You must first sign up to be able to contribute.

Ticket #5697 (new defect)

Opened 6 years ago

Last modified 5 years ago

overriding default admin generator theme files

Reported by: kingpin393 Assigned to: fabien
Priority: minor Milestone:
Component: generator Version: 1.2.0 DEV
Keywords: Cc:
Qualification: Unreviewed

Description

According to the documentation (Chapter 14 in the Definitive Guide) when creating a custom theme you only need to override the files you need changed in your own theme. In actuality you need to copy all the files over. Not sure if this is a documentation error or a symfony bug.

To recreate: in a project that uses the admin generator create a new directory in data/generator/sfPropelModule/mytheme. Then in the generator.yml change the theme to mytheme. There is an error when run. If you copy the entire contents of sfPropelPlugin/data/generator/sfPropelModule/admin to the mytheme directory it works.

Change History

02/04/09 23:05:53 changed by kingpin393

  • version changed from 1.2.2 to 1.2.0 DEV.

03/17/09 20:22:26 changed by kingpin393

  • milestone set to 1.2.5.

03/28/09 17:49:47 changed by FabianLange

  • milestone changed from 1.2.5 to 1.2.6.

04/16/09 13:51:54 changed by FabianLange

  • milestone deleted.

04/29/09 15:48:34 changed by kingpin393

  • milestone set to 1.2.7.

(follow-up: ↓ 7 ) 04/29/09 16:10:31 changed by FabianLange

  • milestone deleted.

please do not set milestones

(in reply to: ↑ 6 ) 05/02/09 12:53:07 changed by kingpin393

Replying to FabianLange:

please do not set milestones

Ok, my apologies.

05/01/10 00:34:04 changed by songecko

Do you try use Doctrine? It happens anyway?