getTemplate(); $themepath = JPATH_THEMES . '/' . $template; $rows_file = $themepath . '/html/layouts/helix3/frontend/rows.php'; $lyt_thm_path = $themepath . '/html/layouts/helix3/'; $layout_path = (file_exists($rows_file)) ? $lyt_thm_path : JPATH_ROOT .'/plugins/system/helix3/layouts'; $data = $displayData; $output =''; $output .= '<' . $data['sematic'] . ' id="' . $data['id'] . '"' . $data['row_class'] . '>'; if ($data['componentArea']){ if (!$data['pagebuilder'] && !$data['fluidrow']){ $output .= '
'; } } else{ if (!$data['fluidrow']){ $output .= '
'; } } $getLayout = new JLayoutFile('frontend.rows', $layout_path ); $output .= $getLayout->render($data); if ($data['componentArea']){ if (!$data['pagebuilder']){ $output .= '
'; } } else{ if (!$data['fluidrow']){ $output .= '
'; } } $output .= ''; echo $output;