Display a partial view based on the current view name |
(06-22-2022, 04:16 PM)kenjis Wrote: See https://codeigniter4.github.io/CodeIgnit...o-the-view I see no direct relation to the question. I don't want to add dynamic data to my views, I (fortunately) know how to do this I am asking, how, in the view itself and based on its name (not in the controller), I can build a different display (insert or not a header). Then, is there a way to know the name of the view running in the view itself? Thank you |
Messages In This Thread |
Display a partial view based on the current view name - by b126 - 06-22-2022, 09:20 AM
RE: Display a partial view based on the current view name - by kenjis - 06-22-2022, 04:16 PM
RE: Display a partial view based on the current view name - by b126 - 06-24-2022, 12:04 AM
RE: Display a partial view based on the current view name - by kenjis - 06-24-2022, 01:08 AM
RE: Display a partial view based on the current view name - by ikesela - 06-24-2022, 07:46 AM
|