Author Topic: How to disable Sef Advance in a module  (Read 2335 times)

Darietto

  • Newbie
  • *
  • Posts: 3
    • View Profile
How to disable Sef Advance in a module
« on: 07 June 2007, 00:55 »
hello, i recently installed a module that shows all the links i have on my site using the core component weblinks. I woul like to disable saf advane in this module becouse i would like to show the real url.

Can you tell me how to disable it?

thank you in advance, best regards

Darietto

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,500
    • View Profile
    • Sakic.Net
Re: How to disable Sef Advance in a module
« Reply #1 on: 07 June 2007, 19:51 »
You must edit the module then. Nothing that SEF Advance can handle.

Darietto

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: How to disable Sef Advance in a module
« Reply #2 on: 08 June 2007, 23:48 »
can you tell me how to edit it?

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,500
    • View Profile
    • Sakic.Net
Re: How to disable Sef Advance in a module
« Reply #3 on: 09 June 2007, 02:40 »
You need to edit the module in question (modules/mod_something.php) and remove sefRelToAbs() functions in it leaving the non-sef URLs only.

Darietto

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: How to disable Sef Advance in a module
« Reply #4 on: 10 June 2007, 03:54 »
ok, now i disabled the sef component, but there is another problem.

Suppose i have a site like www.sakic.net

the link for this site is http://www.mysite.com/index.php?option=com_weblinks&task=view&catid=3&id=31

but i don't want links to be redirected....how can i modify the module?

Thank you in advance

Best Regards