sdebacker / TypiCMS

Multilingual CMS built with Laravel 4.2
MIT License
474 stars 119 forks source link

How to get current ID from a page #121

Closed kamekun closed 9 years ago

kamekun commented 9 years ago

Hi, im trying to get the current ID from the page/news that is currently seeing the user in master.blade. But i cant access to the variable $model, $id or something relate to the page; the only variable i can show is $title; is there a ease way to do this?

Sorry if this is simple and i just have working too much today without coffe :sake:

Regards

sdebacker commented 9 years ago

In core/master.blade.php It's not possible out of the box . You should use sections or view composer.