1
codefantom
Remove Tell-a friend link from module.
  • 2013/6/19 17:26

  • codefantom

  • Just popping in

  • Posts: 19

  • Since: 2013/6/19


does anyone know how to remove the tell a friend link from a module. specifically wfdownloads. I have searched everywhere for it. I even used a globally search program too. Been looking for 2 days now and Im exhausted. can anyone help?
(BTW and FYI: I don't know much PHP so I'm crawling as I learn)

Any help is appreciated.

2
brutalicuss
Re: Remove Tell-a friend link from module.

Nice module!

I think you mean "recommend" link?

Before full review:
remove line:
""<a target="_top" href="mailto:?subject=<{$down.mail_subject}>&body=<{$down.mail_body}>"><{$smarty.const._MD_WFD_TELLAFRIEND}>a> | ""

located in wfdownloads/templates/ file name: wfdownloads_download.html

In full view:
remove line:
""<a target="_top" href="mailto:?subject=<{$down.mail_subject}>&body=<{$down.mail_body}>"><{$smarty.const._MD_WFD_TELLAFRIEND}>a> | ""

located in wfdownloads/templates/ file name: wfdownloads_singlefile.html

3
codefantom
Re: Remove Tell-a friend link from module.
  • 2013/6/19 20:11

  • codefantom

  • Just popping in

  • Posts: 19

  • Since: 2013/6/19


Thanks you for your reply.

I tried deleting those instances before but I found out later that I didn't have "Check templates for modifications?" turned on in the admin area so when the page didn't update with the changes I figured I had to look elsewhere. But never attempt again after turning it on."

I'm also posting this for the next person that has this problem.

I will attempt it again.
Thanks.

4
Mamba
Re: Remove Tell-a friend link from module.
  • 2013/6/19 20:19

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


I guess, we should add it as an option in Preferences, so the user could select if they want it or not.

Can you please submit a "feature request" to SourceForge? (see my signature for a link)
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

5
codefantom
Re: Remove Tell-a friend link from module.
  • 2013/6/19 20:57

  • codefantom

  • Just popping in

  • Posts: 19

  • Since: 2013/6/19


Ok, so I tried your suggestion and the link still appears. I cleared my cache and made sure the template modifications is turned on.

Is there another reason why the link won't go away?

6
brutalicuss
Re: Remove Tell-a friend link from module.

Its strange.. Delete from xoops_data/caches/smarty_compile/ all files except index.html
Other, be sure that module cache is OFF


7
codefantom
Re: Remove Tell-a friend link from module.
  • 2013/6/20 13:40

  • codefantom

  • Just popping in

  • Posts: 19

  • Since: 2013/6/19


i delete the inde.html from the cache directory as you suggested but with no results. How do I make sure the cache is turned off. I don't see an option in the wfdownloads module preferences.

8
xoobaru
Re: Remove Tell-a friend link from module.
  • 2013/6/20 14:12

  • xoobaru

  • Just can't stay away

  • Posts: 494

  • Since: 2010/12/2


He may still be running a cached version of the page with the phantom link. Were the caches cleaned after link removal?

9
brutalicuss
Re: Remove Tell-a friend link from module.

Yes cache, no else remained..

@codefantom, dont delete index.html, delete only cached files (all others)

Also, modules cache you may set from control panel-system-preferences-general settings

10
codefantom
Re: Remove Tell-a friend link from module.
  • 2013/6/22 16:14

  • codefantom

  • Just popping in

  • Posts: 19

  • Since: 2013/6/19


Sorry guys. there was only a index.html in the cache directory, nothing else. And I went into the settings and all of the cache options are turned off. I've moved on to another modification hoping that it will eventually show the changes but 2 days later and still nothing. Is there a secondary page/area I also need to make changes to? Or is modifying the templates all that's needed to make cosmetic changes?

Login

Who's Online

383 user(s) are online (272 user(s) are browsing Support Forums)


Members: 0


Guests: 383


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