D
D
DileSoft2011-03-07 19:36:39
symfony
DileSoft, 2011-03-07 19:36:39

How to add displayed field headers to Symphony Doctrines?

Here's the point. I create a doctrine, a model and forms are generated. But everywhere in HTML, the name of the field in the database is used as field designations. And I want to write “Phone” instead of phone, for example. How to do it?
In general, are there any plugins for using additional properties of doctrines, so that the description for the field should be indicated, the icon, etc.?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
F
f0rk, 2011-03-07
@f0rk

It seems to me that someone confused the framework with the CMS ...

M
MuXaJIbI4, 2011-03-08
@MuXaJIbI4

Don't panic ahead of time. Everything can be done.
Formulate a clear task before you and you will find a solution to it.
Specifically for your task, you can set the names of the fields that you need in the form class.

V
Vladimir Chernyshev, 2011-03-08
@VolCh

Read www.symfony-project.org/jobeet/1_4/Doctrine/ru/12 - if I understood correctly (the question is worded somehow very chaotically “I create a doctrine”, etc. - obviously not symfony terms and indeed not terms at all :) ), then we are talking about the generation of the admin panel.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question