1
JamesSAEP
smartsection icon removal
  • 2006/10/30 18:13

  • JamesSAEP

  • Just can't stay away

  • Posts: 732

  • Since: 2005/2/28


I want to remove the "print, email" icons at the bottom of each article. Where would I do this? I can't find the reference in the template files anywhere.

Thanks.

2
McDonald
Re: smartsection icon removal
  • 2006/10/30 19:24

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


You can remove these icons in the file /class/item.php

For the Print button comment out the following 2 lines (539-540):

$adminLinks .= "smartsection_seo_genUrl('print'$this->itemid(), $this->short_url()) . "' target='_blank'>SMARTSECTION_URL "images/links/print.gif' title='" _MD_SSECTION_PRINT "' alt='" _MD_SSECTION_PRINT "'/>";
$adminLinks .= " ";


For the Email button comment out the following 3 lines (543-545):

$maillink "mailto:?subject=" sprintf(_MD_SSECTION_INTITEM$xoopsConfig['sitename']) . "&body=" sprintf(_MD_SSECTION_INTITEMFOUND$xoopsConfig['sitename']) . ": " $this->getItemUrl();
$adminLinks .= '$maillink '">SMARTSECTION_URL 'images/links/friend.gif" title="' _MD_SSECTION_MAIL '" alt="' _MD_SSECTION_MAIL '"/>';
$adminLinks .= " ";

3
JamesSAEP
Re: smartsection icon removal
  • 2006/10/30 19:32

  • JamesSAEP

  • Just can't stay away

  • Posts: 732

  • Since: 2005/2/28


Thanks for the reply. That is exactly what I needed.

J

Login

Who's Online

321 user(s) are online (109 user(s) are browsing Support Forums)


Members: 0


Guests: 321


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Oct 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits