1
golteb
Remove white space for print and email icon in tinycontent
  • 2005/7/9 9:32

  • golteb

  • Just popping in

  • Posts: 31

  • Since: 2004/4/14


Guys

I have disabled the option of sending email and printing a tinycontent.

But there is still a space for theses icons.

How do we remove the space.

thanks.

2
dickinsd
Re: Remove white space for print and email icon in tinycontent
  • 2005/7/9 16:21

  • dickinsd

  • Quite a regular

  • Posts: 278

  • Since: 2004/11/14


Hey.

This is how I removed the icons completely.

open the following file:

../modules/tinycontent/templates/tc_index.html

You should see something very similar to this:

<{$content}>

<
div style="padding: 5px; text-align: right; margin-right:3px;">
[
b]<a href="print.php?id=<{$id}>"><img src="images/print.gif" border="0" alt="<{$lang_printerpage}>" />a>
<
a href="<{$mail_link}>" target="_top"><img src="images/friend.gif" border="0" alt="<{$lang_sendstory}>" />a>[/b]
div>

<{if 
$nocomments == 0}>
<
br /><br />
<
div style="text-align: center; padding: 3px; margin: 3px;">
  <{
$commentsnav}>
  <{
$lang_notice}>
div>

<
div style="margin: 3px; padding: 3px;">

<{if 
$comment_mode == "flat"}>
  <{include 
file="db:system_comments_flat.html"}>
<{elseif 
$comment_mode == "thread"}>
  <{include 
file="db:system_comments_thread.html"}>
<{elseif 
$comment_mode == "nest"}>
  <{include 
file="db:system_comments_nest.html"}>
<{/if}>

div>
<{/if}>


The bold text calls the images/links.

I backed up the file, removed the bold lines above and no longer have the icons for email and print AND there is no white space on my page. (my test site has a yellow background and there are no white areas where the icons used to be)

Hope this is what you are looking for.

Dave

3
golteb
Re: Remove white space for print and email icon in tinycontent
  • 2005/7/11 0:15

  • golteb

  • Just popping in

  • Posts: 31

  • Since: 2004/4/14


Thanks for the reply

I ahve modified the file but nothing happens.

I have cloned tinycontents in my site i ahev overwritten the tinycontent_index on both modules for tinycontent and tinycontent0.

I even deleted the temp file under templates_c

I also tried to remove everything and leave

<{$content}>

on the tinycontent_index file.

please help, thanks.

Login

Who's Online

201 user(s) are online (53 user(s) are browsing Support Forums)


Members: 0


Guests: 201


more...

Donat-O-Meter

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

Latest GitHub Commits