array(
'name' => 'dashboard',
'title' => 'Dashboard',
- 'subs' => array(
- array(
- 'name' => 'list',
- 'title' => 'Email Messages',
- ),
- array(
- 'name' => 'listTemplates',
- 'title' => 'Email Templates',
- ),
- ),
+ ),
+ array(
+ 'name' => 'search',
+ 'title' => 'Search',
+ ),
+ array(
+ 'name' => 'messages',
+ 'title' => 'Email Messages',
+ ),
+ array(
+ 'name' => 'templates',
+ 'title' => 'Email Templates',
),
);
foreach ( $helpTabs as $tab ) {
- $glmAction = isset( $_REQUEST['glm_action'] ) ? filter_var( $_REQUEST['glm_action'] ) : 'dashboard';
- if ( $glmAction === $tab['name'] ) {
- $fileName = GLM_MEMBERS_BILLING_PLUGIN_SETUP_PATH . '/help/' . $tab['name'] . '.html';
+ // $glmAction = isset( $_REQUEST['glm_action'] ) ? filter_var( $_REQUEST['glm_action'] ) : 'dashboard';
+ // if ( $glmAction === $tab['name'] ) {
+ $fileName = GLM_MEMBERS_MESSAGES_PLUGIN_SETUP_PATH . '/help/' . $tab['name'] . '.html';
+ // echo '<pre>$fileName: ' . print_r( $fileName, true ) . '</pre>';
if ( is_file( $fileName ) ) {
$screen->add_help_tab(
array(
}
$option = isset( $_REQUEST['option'] ) ? filter_var( $_REQUEST['option'] ) : 'dashboard';
// Check for subs
- if ( isset( $tab['subs'] ) && is_array( $tab['subs'] ) ) {
- foreach ( $tab['subs'] as $sub ) {
- $fileName = GLM_MEMBERS_BILLING_PLUGIN_SETUP_PATH . '/help/' . $option . '-' . $sub['name'] . '.html';
- if ( is_file( $fileName ) ) {
- $screen->add_help_tab(
- array(
- 'id' => 'glm-member-db-messages-help-'. $option . '-' . $sub['name'],
- 'title' => __( $sub['title'] ),
- 'content' => '',
- 'callback' => 'glm\messages\help\loadHelpFile',
- 'extra' => $option . '-' . $sub['name'],
- )
- );
- }
- }
- }
- }
+ // if ( isset( $tab['subs'] ) && is_array( $tab['subs'] ) ) {
+ // foreach ( $tab['subs'] as $sub ) {
+ // $fileName = GLM_MEMBERS_MESSAGES_PLUGIN_SETUP_PATH . '/help/' . $option . '-' . $sub['name'] . '.html';
+ // echo '<pre>$fileName: ' . print_r( $fileName, true ) . '</pre>';
+ // $isFile = is_file($fileName);
+ // var_dump($isFile);
+ // if ( is_file( $fileName ) ) {
+ // $screen->add_help_tab(
+ // array(
+ // 'id' => 'glm-member-db-messages-help-'. $option . '-' . $sub['name'],
+ // 'title' => __( $sub['title'] ),
+ // 'content' => '',
+ // 'callback' => 'glm\messages\help\loadHelpFile',
+ // 'extra' => $option . '-' . $sub['name'],
+ // )
+ // );
+ // }
+ // }
+ // }
+ // }
}
// Help sidebars
--- /dev/null
+<h2>Email Messages</h2>
+<p>This tab show all active messages that you have</p>
+<p>You'll also see the last updated, queued and sent times.</p>
+<p>Queued time is when your mesage was queued.</p>
+<p>Sent time is when your mesage was proccessed and sent.</p>
+<p>To preview the message click Preview. This will show the template with test message data.</p>
+<h3>Images</h3>
+<p>Most email clients will not properly align images right or left of text.</p>
+<p>Images that need to be aligned left or right of content will have to be done in a table. To add a table click Insert > Table.</p>