1
Santharian
Content Module -- please help.
  • 2005/11/9 17:28

  • Santharian

  • Just popping in

  • Posts: 11

  • Since: 2005/11/7


I did a search in hopes of finding my answer, but I did not. SO sorry if this is a redundant question.

I installed the Content Module -- however I want to remove the "Print, Email, Edit and Page Wrap" icons from the bottom of every page.

I dont have TinyContent installed... (not sure if Content is an upgrade from that) and that's all I have been able to find help on, and it was useless.

Anyone give me a hand?

BTW it's Content 0.5.

2
gestroud
Re: Content Module
  • 2005/11/9 17:49

  • gestroud

  • Home away from home

  • Posts: 1538

  • Since: 2004/12/22


Go into the module's template folder and open the ct_index.html file.

Look for a div tag that contains class="printandemail". You want to delete that entire division. Make a backup first!

3
cgunther
Re: Content Module
  • 2005/11/9 17:51

  • cgunther

  • Just popping in

  • Posts: 59

  • Since: 2005/3/27


You need to edit your template file.

The file name is ct_index.html, find it at /modules/content/templates/ct_index.html

look for:

<div class="printandemail">
<a href="print.php?id=<{$id}>" target="_new"><img src="<{$xoops_url}>/modules/content/images/print.gif" alt="" width="36" height="35" border="0" align="absmiddle"></a>&nbsp;&nbsp;&nbsp;&nbsp;
<a href="<{$mail_link}>"><img src="<{$xoops_url}>/modules/content/images/email.gif" alt="" width="35" height="35" border="0" align="absmiddle"></a></div>
</div>

remove this and upload your edited file.

Be sure to make a backup copy first just in case.

As for the edit/new icons, these won't show for people without admin access and they are handy to have when you want to fix an exiting page or make a new one fast.
"Your motherboard wears Army chips"

4
Santharian
Re: Content Module
  • 2005/11/9 18:01

  • Santharian

  • Just popping in

  • Posts: 11

  • Since: 2005/11/7


Thank you for replying, but I did that already. :(

here is what I have left on ct_index.html:

<div class="blockTitle"><{$title}></div>

<div class="blockContent">
<{$content}>

</div>

here is the site:http://callisto.dns-shield.com/~riovista/modules/content/index.php?id=10

help
*murmurs*

5
Santharian
Re: Content Module
  • 2005/11/9 18:03

  • Santharian

  • Just popping in

  • Posts: 11

  • Since: 2005/11/7


It has a huge gap of space after the icons too (which is the main problem) and... well I dont want the print or email option there either.

6
cgunther
Re: Content Module
  • 2005/11/9 18:07

  • cgunther

  • Just popping in

  • Posts: 59

  • Since: 2005/3/27


Go to module administration and try updating your content module so it sends the updated file to the database. See what happens and let us know.
"Your motherboard wears Army chips"

7
Santharian
Re: Content Module
  • 2005/11/9 18:19

  • Santharian

  • Just popping in

  • Posts: 11

  • Since: 2005/11/7


YAY! Thank you so much. :) It worked.

8
cgunther
Re: Content Module
  • 2005/11/9 18:33

  • cgunther

  • Just popping in

  • Posts: 59

  • Since: 2005/3/27


"Your motherboard wears Army chips"

Login

Who's Online

194 user(s) are online (103 user(s) are browsing Support Forums)


Members: 0


Guests: 194


more...

Donat-O-Meter

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

Latest GitHub Commits