Questions tagged [symfony-3.2]

This is the Symfony 3.2.x specific tag. Use it in addition to the symfony3 tag if your question is specific to Symfony 3.2.x — not just 3.x.

Symfony is a PHP full-stack web framework developed and maintained by Sensio Labs.

Information

This tag is specific for the 3.2 version of Symfony. See the tag for general Symfony 3.x questions.

The 3.2.0 version was released on the 30th November 2016.

326 questions
-1
votes
1 answer

Can't install sonata news bundle

I have a issue when I tried to install Sonata news Bundle. I can't find a post where someone have the same issue. I tried to follow sonata documentation . Here my composer : "require": { "php": ">=7.0", "doctrine/doctrine-bundle": "^1.6", …
Pandorz
  • 3
  • 2
-1
votes
3 answers

Symfony3: Apply function to the output of every Twig render

In my Twig templates I often have assignments at the top, such as: {{ set something = value() }} Due to that, there often are a few blank lines before my opening tag. To fix that I'd like to run trim() on the output of every Twig render, be…
stevereds
  • 379
  • 1
  • 2
  • 10
-1
votes
1 answer

Missing argument 1 for method with argument being a service injection in Symfony 3

I have such service linked to one method in my entity: entity_form: class: AppBundle\Entity\EntityForm calls: - [setDoctrine, ['@doctrine']] The argument injects (or at least should) doctrine into my entity so that I can get stuff…
aln447
  • 981
  • 2
  • 15
  • 44
-1
votes
1 answer

Symfony 3 theme integration

I want to integrate custom theme for my Symfony 3.xxx application and I'm unable to find an appropriate link that how to do this, is there any tutorial? Actually, I have two separate views: 1. frontend for public 2. backend for admin purpose.…
Muhammad Shahzad
  • 9,340
  • 21
  • 86
  • 130
-1
votes
1 answer

Building symfony 3 ecommerce site

I've started learning symfony framework and I thought that it would be a great practice to build eCommerce site, but I found it difficult finding information about building it. My questions are: Witch bundles would be useful for building an…
Giedidius
  • 75
  • 1
  • 10
-1
votes
1 answer

How to use redirect users to different sub-website based on user information based on symfony3

In my system, it will be multiple front-end portal for consumer. All the different portals contains same logic but different css style only. For example: Portal Default : www.myweb.com Portal A : a.myweb.com And a user belongs to portal A could…
Bob
  • 71
  • 1
  • 11
-1
votes
1 answer

symfony3 vendor's console commands not available

I just created a new symfony3.2.6. project and added a few vendors (FOS User Bundle, Propel2 and Twig) but no new console seem to be available. At least I do not see any of them when using 'app/console' or 'bin/console' command. /app/autoload.php is…
-2
votes
1 answer

How to deploy Symfony3 Application on CentOS

I still cannot understand what happening in my server when i push my code throught the server in /public_html and wanna get the homepage of my application like this: http:/www.example.com/web/ Server shows me the content of /web (the files and…
M. Hanafi
  • 66
  • 1
  • 11
-2
votes
2 answers

How to use Symfony parameters in User Entity

This is a Symfony 3 project. In User entity, i need to implement the method getRoles(). I have a private member $roles that is an array and I added it into serialize and unserialize methods. public function getRoles() { if (count($this->roles)…
user3429660
  • 2,420
  • 4
  • 25
  • 41
-3
votes
2 answers

Unable to find template Symfony 3

After some template renaming mystery happens – twig looking for wrong template and did not find it even it really exists: Unable to find template "form/bootstrap_3_horizontal_layout.html.twig" (looked into: /home/travel/www/gai/app/Resources/views,…
dMedia
  • 809
  • 1
  • 10
  • 18
-4
votes
1 answer

How to generate symfony 3.x documentation?

Is there any tool (method )to generate code documentation for Symfony 3.x? For example, the tool should generate classes methods, fields etc.
Sam
  • 122
  • 1
  • 12
1 2 3
21
22