1
benell
Editing Links / Downloads
  • 2003/12/30 17:04

  • benell

  • Just popping in

  • Posts: 63

  • Since: 2003/12/7


In the downloads / links

you have below each link:
download:
Rate this File | Modify | Report Broken File | Tell a Friend | Comments (0)

Link:
Rate this Site | Modify |Report Broken Link | Tell a Friend | Comments (0)

Now Modify is only for admins i presume, so i want to remove everything BUT NOT Report broken link/file and modify

How do i do that?

2
kahumbu
Re: Editing Links / Downloads
  • 2003/12/30 17:33

  • kahumbu

  • Documentation Writer

  • Posts: 277

  • Since: 2003/8/23


The Modify link allows users to 'suggest' modifications in the link, usually the description. The site admin would have to approve the modifications/suggestions.

For changing the contents, go to the template admin (System Admin -> Templates), and change mylinks_link.html. They can be found at the lower part of the template. I guess, the safest way to do it is to comment them out, instead of deleting them.

3
benell
Re: Editing Links / Downloads
  • 2003/12/30 18:33

  • benell

  • Just popping in

  • Posts: 63

  • Since: 2003/12/7



















<{$lang_category}> <{$link.category}>
<{$lang_visit}><{$link.title}> <{$lang_lastupdate}><{$link.updated}>
<{$link.adminlink}><{$lang_description}>

<{if $link.logourl != ""}>

<{/if}>
<{$link.description}>

<{$lang_hits}><{$link.hits}>   <{$lang_rating}><{$link.rating}> (<{$link.votes}>)
<{$lang_ratethissite}> | <{$lang_modify}> |<{$lang_reportbroken}> | <{$lang_tellafriend}> | <{$lang_comments}> (<{$link.comments}>)





How do i comment them out??
when i use // or /* */i doesnt work??

I only want to keep reportbroken link

4
kahumbu
Re: Editing Links / Downloads
  • 2003/12/30 18:51

  • kahumbu

  • Documentation Writer

  • Posts: 277

  • Since: 2003/8/23


All template files are html files. Use the HTML comments to comment out the parts you do not want.

Just go through each anchor and link in that last td to find what you need.


5
Stewdio
Re: Editing Links / Downloads
  • 2003/12/30 19:32

  • Stewdio

  • Community Support Member

  • Posts: 1560

  • Since: 2003/5/7 1


Thats right, you were 'almost' right with your comment code, except that it's for php. kahumbu's suggestion is html comments, what you are looking for.

Just thought I would point out the difference

Cheers

Login

Who's Online

191 user(s) are online (149 user(s) are browsing Support Forums)


Members: 0


Guests: 191


more...

Donat-O-Meter

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

Latest GitHub Commits