I am customizing youtube gallery component to search and display the value in seperate view file. I have create a form to get word to search and display it in same view file. Here i can able to fetch the values inside view.html.php but cannot able to display it in default.php.I do what i went wrong can anyone help me out as i am new to joomla
1 に答える
0
views-> yourview-> tmplフォルダーにテンプレートファイルを作成し、default_templatenameのように名前を付けて、結果を表示するコードを付けることができます。
_templatenameはキーワードであり、default_template1、default_resultのように指定できます。
テンプレートファイルを作成した後。これを使用して、default.phpファイルにロードできます:-
echo $this->loadTemplate('yourtemplatename');
お気に入り
echo $this->loadTemplate('default_template1');
于 2012-11-01T06:26:41.310 に答える