* CRM/Memberdashboard/Page/Info.php: New file.
* templates/CRM/Memberdashboard/Page/Info.tpl: New file.
* templates/CRM/Memberdashboard/Page/MemberDashboard.tpl: Add link.
* xml/Menu/memberdashboard.xml (<menu>): Add item for info page.
--- /dev/null
+<?php
+/**
+ * FSF Member Dashboard
+ * Copyright © 2014 Free Software Foundation, Inc.
+ *
+ * This file is a part of FSF Member Dashboard.
+ *
+ * FSF Member Dashboard is free software; you can copy, modify, and
+ * distribute it under the terms of the GNU Affero General Public
+ * License Version 3, 19 November 2007 and the CiviCRM Licensing
+ * Exception.
+ *
+ * FSF Member Dashboard is distributed in the hope that it will be
+ * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
+ * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with FSF Member Dashboard. If not, see
+ * <http://www.gnu.org/licenses/>.
+ */
+
+require_once 'CRM/Core/Page.php';
+
+class CRM_Memberdashboard_Page_Info extends CRM_Core_Page {
+ function run() {
+ CRM_Utils_System::setTitle('My Info');
+
+ parent::run();
+ }
+}
--- /dev/null
+{*
+ FSF Member Dashboard
+ Copyright © 2014 Free Software Foundation, Inc.
+
+ This file is a part of FSF Member Dashboard.
+
+ FSF Member Dashboard is free software: you can redistribute it
+ and/or modify it under the terms of the GNU Affero General Public
+ License as published by the Free Software Foundation, either version
+ 3 of the License, or (at your option) any later version.
+
+ FSF Member Dashboard is distributed in the hope that it will be
+ useful, but WITHOUT ANY WARRANTY; without even the implied warranty
+ of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with FSF Member Dashboard. If not, see
+ <http://www.gnu.org/licenses/>.
+*}
+
+<h3>Contact info goes here</h3>
<http://www.gnu.org/licenses/>.
*}
-<a href="{crmURL p='civicrm/member-dashboard/communications'}">Go to Communications</a>
+<ul>
+ <li>
+ <a href="{crmURL p='civicrm/member-dashboard/communications'}">
+ Go to Communications
+ </a>
+ </li>
+ <li>
+ <a href="{crmURL p='civicrm/member-dashboard/info'}">
+ Go to Info
+ </a>
+ </li>
+</ul>
{include file="CRM/Memberdashboard/Page/DashboardElement.tpl"
element=$dashboardElements.CiviMember }
<title>MemberDashboard</title>
<access_arguments>access CiviCRM</access_arguments>
</item>
+ <item>
+ <path>civicrm/member-dashboard/info</path>
+ <page_callback>CRM_Memberdashboard_Page_Info</page_callback>
+ <title>MemberDashboard</title>
+ <access_arguments>access CiviCRM</access_arguments>
+ </item>
</menu>