#1 2011-03-17 07:45:07

indrek
Member
Registered: 2010-10-24
Posts: 14

How to disable e-mail auto-replacing?

My page doesn't support javascript and if I add e-mail address to the content, the will broke. How to disable this automatic e-mail replacing that ionize has?

Thanks,

Indrek.

Offline

#2 2011-03-17 10:23:19

aurex
Member
Registered: 2010-05-02
Posts: 49

Re: How to disable e-mail auto-replacing?

/application/libraries/Tagmanager/Page.php :: line 1908

$articles[$key]['content'] =     auto_link($articles[$key]['content'], 'both', TRUE);
to
$articles[$key]['content'] =     auto_link($articles[$key]['content'], 'url', TRUE);


AND for translations


/application/libraries/Tagmanager.php :: line 803

return auto_link($this->ci->lang->language[$term], 'both', true);
to
return auto_link($this->ci->lang->language[$term], 'url', true);

smile

Offline

#3 2011-03-20 10:53:42

toopixel
Ionize Core Team
From: Geneva
Registered: 2010-04-20
Posts: 272
Website

Re: How to disable e-mail auto-replacing?

indrek note that is you do this you will let spambots to get the email adresses and then you will get a lot of spam to your inbox.


Too Pixel is a web agency located in Geneva, Switzerland

Offline

#4 2011-03-28 20:26:20

indrek
Member
Registered: 2010-10-24
Posts: 14

Re: How to disable e-mail auto-replacing?

Thank's a lot!

Offline

What's Ionize ?

Ionize is an Open Source Content Management System created by webdesigners for webdesigners.

Created and maintained by Partikule and Toopixel, Ionize wants to be the easiest and most powerful CMS.

Can I help ?

Because talent is nothing without involvement, we are looking for motivated coders and webdesigners to join the project team.

Resources

Website : ionizecms.com
Documentation : doc.ionizecms.com

Development : Ionize on GitHub
Translations : Ionize Translations