2017-03-06 54 views
0

我不知道在哪裏可以找到該功能,或者負責選擇pstpl將在「歡迎頁面」上顯示的對象。LimeSurvey - 選擇將顯示哪個pstpl

在admin/templates.php我已經找到了在管理面板的主題編輯器中定義pstpl的varialbes。但這一切,我發現。

回答

0

你知道welcom.pstpl所示,使用grep來找到在哪裏

$ grep -r 'welcome.pstpl' * 
application/controllers/admin/templates.php:   'welcome.pstpl', 
application/controllers/admin/templates.php:   'welcome.pstpl', 
application/helpers/frontend_helper.php: echo templatereplace(file_get_contents($sTemplateViewPath."welcome.pstpl"),array(),$redata,'frontend_helper[2762]')."\n"; 
application/helpers/SurveyRuntimeHelper.php:    echo templatereplace(file_get_contents($sTemplateViewPath."welcome.pstpl"), array(), $redata) . "\n"; 
application/config/internal.php:   'excludeFiles' => array("config.xml", "assessment.pstpl", "clearall.pstpl", "completed.pstpl", "endgroup.pstpl", "endpage.pstpl", "groupdescription.pstpl", "load.pstpl", "navigator.pstpl", "printanswers.pstpl", "print_group.pstpl", "print_question.pstpl", "print_survey.pstpl", "privacy.pstpl", "question.pstpl", "register.pstpl", "save.pstpl", "startgroup.pstpl", "startpage.pstpl", "surveylist.pstpl", "survey.pstpl", "welcome.pstpl"), 

然後:在應用程序/傭工/ SurveyRuntimeHelper.php和應用程序/傭工/公衆意見frontend_helper.php。

下一次:你不需要問,但使用grep :)