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?

code: select all

      $app        = jfactory::getapplication();
      $jinput  = $app->input;
      $view    = $jinput->get('view', '', 'cmd');


does help?





Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support