0
如何添加新頁面並顯示簡單文本,我還需要在oragehrm的pim部分中的菜單中添加鏈接?是否有可能?我嘗試通過添加像這樣的新頁面。如何在oragehrm中的pim部分添加新頁面
Path : symfony/plugins/orangehrmPimPlugin/modules/pim/actions
viewtestDetailsAction.class.php
class viewMyDetails extends basePimAction {
private $userService;
/**
* @param sfForm $form
* @return
*/
public function setForm(sfForm $form) {
if (is_null($this->form)) {
$this->form = $form;
}
}
/**
* Get ConfigService
* @return ConfigService
*/
public function getConfigService() {
if (is_null($this->configService)) {
$this->configService = new ConfigService();
}
return $this->configService;
}
public function execute($request) {
}
protected function viewMyDetails() {
$this->redirect('pim/viewtestDetails');
}
}
symfony/plugins/orangehrmPimPlugin/modules/pim/templates
viewtestDetails.php
<?php
echo "teset";
?>
難道我做錯了嗎?還是怎麼做一步一步在PIM部分