How to fetch current component view name? - Joomla! Forum - community, help and support
hey..
i'm trying put content inside component. content dependent on 1 of 4 views i'm using same component. put on condition in code, need fetch component name view name user in. have got component name part, not find view..
how can fetch name of view user in?
i'm trying put content inside component. content dependent on 1 of 4 views i'm using same component. put on condition in code, need fetch component name view name user in. have got component name part, not find view..
how can fetch name of view user in?
code: select all
$app = jfactory::getapplication();
$jinput = $app->input;
$view = $jinput->get('view', '', 'cmd');
does help?
Comments
Post a Comment