how can i get current page name and its parent page name in the view (index.cshtml) file directly?
please suggest
thanks
Are you using page builder? If so I believe the only way would be to pass the page you get in the controller to view.
Otherwise a view doesn't necessarily line up with a page.
thanks zach, i'm not using page builder but i'm returning my view from controller, please suggest
you have to get the page in the controller and pass it to the view then.
Please, sign in to be able to submit a new answer.