E
E
ezodoc2013-12-02 17:33:49
symfony
ezodoc, 2013-12-02 17:33:49

Symfony + Menu + Template?

I was given a project based on the Symfony framework
; I used to read the documentation on it; but here is the first (simplest) task
- for one Url, change the template (1)
- and / or display a link to an external resource in the menu (2)
* I don’t know how to do it yet
(1) here you probably need to edit the template + route (and in it is this possible?)
(2) there are probably two ways - to drive impudently into html / template, or to implement this feature in the admin panel

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Nikita Gusakov, 2013-12-02
@hell0w0rd

In symphony, the url is mapped to a controller method with an Action ending, and the controller decides which template to render.

E
Eugene, 2013-12-11
@helycopternicht

If the controller does not explicitly specify which template to render, then the template will be rendered by the name of the action.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question