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 .= "<a href='" smartsection_seo_genUrl('print'$this->itemid(), $this->short_url()) . "' target='_blank'><img src='" SMARTSECTION_URL "images/links/print.gif' title='" _MD_SSECTION_PRINT "' alt='" _MD_SSECTION_PRINT "'/></a>";
$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 .= '<a href="' $maillink '"><img src="' SMARTSECTION_URL 'images/links/friend.gif" title="' _MD_SSECTION_MAIL '" alt="' _MD_SSECTION_MAIL '"/></a>';
$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

239 user(s) are online (155 user(s) are browsing Support Forums)


Members: 0


Guests: 239


more...

Donat-O-Meter

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

Latest GitHub Commits