An option to show the email-link as an icon (in the "Form type" drop-down), would be nice, in the same way as in the print module. Preferrably with an icon that fits nicely together with the icon that comes with the print module.

Regards // Samuel

Comments

sjaakter’s picture

I agree. That would be very nice.

Regards,
Sjaak.

fm’s picture

Me too.

[subscribing]

seanr’s picture

Status: Active » Fixed

Done. Try the 5.x-dev package after the scripts update it or pull it from CVS (DRUPAL-5 branch).

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

std-developer’s picture

Version: 5.x-1.x-dev » 6.x-1.0
Assigned: Unassigned » std-developer
Category: feature » task
Priority: Normal » Critical
Status: Closed (fixed) » Active

I am currently working on replacing "email address" by "email icon" on drupal 6.X .I am using the views-views-table-directory.php and i am a new user to the drupal.I do not know how to change the email address to email icon.After user clicks on email icon, it should be able to create a form and send the email to the person on the list.
I created a form but i am unable to change email address to email icon amidst of complicated drupal code.Any help will be appreciated.


/**
 * @file views-view-table.tpl.php

 *
 * - $title : The title of this group of rows.  May be empty.
 * - $header: An array of header labels keyed by field id.
 * - $fields: An array of CSS IDs to use for each field id.
 * - $class: A class or classes to apply to the table, based on settings.
 * - $row_classes: An array of classes to apply to each row, indexed by row
 *   number. This matches the index in $rows.
 * - $rows: An array of row items. Each row is an array of content.
 *   $rows are keyed by row number, fields within rows are keyed by field ID.
 * @ingroup views_templates
 */
print $class; ">
if (!empty($title)) :

endif;

foreach ($header as $field => $label):

endforeach;

      $count = 0;
      $uri = $_SERVER['REQUEST_URI'];
      $uri = str_replace('list', 'detail', $uri);
      $uri = preg_replace('/page=[0-9]+&?/', '', $uri);
      $current_page = $view->pager['current_page'];
      $items_per_page = $view->pager['items_per_page'];
      $page_offset = $current_page * $items_per_page;

      foreach ($rows as $count => $row):
    
print implode(' ', $row_classes[$count]); ">
 $first = true;
              foreach ($row as $field => $content): 

endforeach;

endforeach;

print $title;
print $fields[$field]; ">
print $label;
print $fields[$field]; ">
 if ($first) {
              $page = '?page='. ($page_offset + $count++) .'&';
              if (strpos($uri, '?')) {
                $link = str_replace('?', $page, $uri);
              } else {
                  $link = $uri . $page;
              }
              print '<a href="'. $link .'">'. $content .'</a>';
              $first = false;
            } else {
              print $content;
            }
            
seanr’s picture

Category: task » support
Priority: Critical » Normal

One, this is a support request, and two this is not critical, regardless of how urgent your need for it is - critical should only be used for bugs that prevent a module from working.

That said, I really am not following what it is you're trying to do here. If it's just to add the email icon, that's in the module interface (admin/settings/forward). Views should have absolutely nothing to do with this. Even if you're wanting to further customize it, that can be handled in your theme by overriding theme_links().

std-developer’s picture

Title: Option to show email icon » Wiki module/Rich Text Editor module and user interaction module for Drupal 7.x
Version: 6.x-1.0 » 7.x-1.0
Priority: Normal » Minor

Can anyone suggests me any Wiki module/Rich Text Editor module and user interaction module like facebook(buddylist) for Drupal 7.x ? I am a new user to drupal community.So i would appreciate any kind of help concerning , to find these modules and how to use that in my website.

Thanks

john.oltman’s picture

Assigned: std-developer » Unassigned

I would suggest going to the Drupal home page at http://drupal.org and doing a Module search. This thread is for Forward issues not for general info requests.

vm’s picture

Title: Wiki module/Rich Text Editor module and user interaction module for Drupal 7.x » Option to show email icon
Version: 7.x-1.0 » 6.x-1.0
Priority: Minor » Normal

resetting other data shifted in #7 to preserve title

vm’s picture

Version: 6.x-1.0 » 5.x-1.x-dev

as far as I can tell this issue was squared away with the commit in #3

john.oltman’s picture

Status: Active » Closed (fixed)