I have a master blade layout with meta_keywords, meta_description and title tags and want to populate them from database.
Should I do it within a view or controller?
Would appreciate any help.
Check out using View Composers. http://laravel.com/docs/responses#view-composers
Kindari said:
Check out using View Composers. http://laravel.com/docs/responses#view-composers
I may be wrong, but is it possible to populate meta tags for categories, posts, products and other pages?
How should I pass id of the article to get those meta tags from db?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community