sulu / ExampleNewsBundle

Sulu news example bundle
5 stars 3 forks source link

01: Introduction Sulu-Admin-class #1

Open wachterjohannes opened 8 years ago

wachterjohannes commented 8 years ago

This part of the tutorial register a new Bundle in the Sulu-Admin and adds a link to the navigation.

Link to the Blog-Post: http://blog.sulu.io/how-to-develop-a-bundle-in-the-sulu-admin-1

gusdecool commented 8 years ago

@wachterjohannes

"Now, when you reload the Sulu-Admin you will see the newly created navigation link "navigation.news"."

I have followed your tutorial but there is no "navigation.news" on admin page. Tested using sulu 1.2.2

wachterjohannes commented 8 years ago

@gusdecool do you have added the bundle in the AbstractKernel?

I have tried this branch and although is was developed with 1.1 it works for me.

image

gusdecool commented 8 years ago

Yes i did added it into abstractkernel. But nothing changes :(

On Tue, May 17, 2016, 5:29 PM Johannes Wachter notifications@github.com wrote:

@gusdecool https://github.com/gusdecool do you have added the bundle in the AbstractKernel?

I have tried this branch and although is was developed with 1.1 it works for me.

[image: image] https://cloud.githubusercontent.com/assets/1464615/15317632/a10a9674-1c22-11e6-9479-191db388c024.png

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/sulu/ExampleNewsBundle/pull/1#issuecomment-219666149

Budi Arsana Mobile: +62 817623397

wachterjohannes commented 8 years ago

i know it sounds quite "bad" but do you also have cleared the cache and run symfony in dev environment? can you check that sulu enters the constructor of you NewsAdmin?

gusdecool commented 8 years ago

@wachterjohannes ah after delete the cache folder, now it showing the menu :+1: Strange how come app/console cache:clear not really "clearning" the cache :triumph: