Hi everyone, Does anyone have experience on how to put html content under a new tab in the member area? My goal is to embed any object (flash, images) and text under my custom tab. Is this possible? Thanks in advance. I was able to add successfully the tab with this: class MyPageController extends Am_Controller { function indexAction() { $user = $this->getDi()->user; $this->view->title = "My Page"; $this->view->content = "Page content"; $this->view->display('layout.phtml'); } }
Hey, You can add new page from admin interface at aMember CP -> Protect Content -> Pages Here you can find info about how to add new tab to menu http://www.amember.com/docs/How_to_customize_user_tabs_in_member's_area
Hi Caesar, Thanks for that! I'm able to do this part easily. My problem is how to put real html content on this page which will be shown when I press MyTab. I want to put the content(with object and texts) on this member area and not just assign a URL to the tab.
You can create new page at admin interface at aMember CP -> Protect Content -> Pages and then add url of this page to tabs. You can insert any html content in page settings. This page will be shown in aMember layout.