Discussions and requests related to new CMSimple features, plugins, templates etc. and how to develop.
Please don't ask for support at this forums!
-
Tata
- Posts: 3588
- Joined: Tue May 20, 2008 5:34 am
- Location: Slovakia
-
Contact:
Post
by Tata » Tue May 10, 2016 6:13 am
I have a webpage with a set of addresses containing e-mail contacts. There are e-mails with the domain "post.sk". This returns
Code: Select all
21196mmmm@post.sk blablabla ✉ ...">
behind the <body...> tag inserting it on the very beginning of the webpage. No other domain used in other e-mails makes this. The number on the very beginning of the inserted code changes after each reload. What does it mean?
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
-
cmb
- Posts: 14225
- Joined: Tue Jun 21, 2011 11:04 am
- Location: Bingen, RLP, DE
-
Contact:
Post
by cmb » Tue May 10, 2016 10:48 am
Does that happen when the Encmail plugin is installed? IIRC, there has been already another thread about this issue.
-
Tata
- Posts: 3588
- Joined: Tue May 20, 2008 5:34 am
- Location: Slovakia
-
Contact:
Post
by Tata » Tue May 10, 2016 1:34 pm
Yes, exactly that's it. I just couldn't find the thread. It seems to me as if the Plugin wrongly interprets the domain as a PHP command. But it occured again only yesterday (after about a week of problemless running). I tried to show the adress with spaces as
/ this has helped.
I tried:
1.
Code: Select all
<a href="mailto:blablabla@post.sk">blablabla@post.sk</a>
This made no change.
2.
Code: Select all
<a href="mailto:blablabla@post.sk">blablabla@post . sk</a>
This has worked but didn't look nice.
3.
Code: Select all
<a href="mailto:blablabla@post.sk">blablabla@post<span></span>.<span><span></span>sk</a>
This worked, but after saving the spans were gone. The wrong code was back. There must be something in the plugin that can't handle this very address correctly.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
-
manu
- Posts: 1090
- Joined: Wed Jun 04, 2008 12:05 pm
- Location: St. Gallen - Schweiz
-
Contact:
Post
by manu » Tue May 10, 2016 2:05 pm
Hi Tata
Just to find out what the problem is. Is there a link to that specific page? How did you implement the encmail plugin? Hos does the plugin config file look alike?
regards
manu
-
Tata
- Posts: 3588
- Joined: Tue May 20, 2008 5:34 am
- Location: Slovakia
-
Contact:
Post
by Tata » Tue May 10, 2016 2:31 pm
Well,
setting the plugin to
Code: Select all
<?php $plugin_cf['encmail']['obfuscate']="manual";
and adding
Code: Select all
<!DOCTYPE html>
<?php if (!$adm || !$edit) encMail($c[$s]); ?>
made the result OK.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
-
manu
- Posts: 1090
- Joined: Wed Jun 04, 2008 12:05 pm
- Location: St. Gallen - Schweiz
-
Contact:
Post
by manu » Wed May 11, 2016 8:58 am
What was the other setting which caused the error?
Code: Select all
<?php $plugin_cf['encmail']['obfuscate']="global";
and
at the very end of the template?
-
Tata
- Posts: 3588
- Joined: Tue May 20, 2008 5:34 am
- Location: Slovakia
-
Contact:
Post
by Tata » Wed May 11, 2016 9:26 am
I am not sure. But removin the call from the end of template and inserting the call on the beginning with the dafault cf setting (manual) has solved it.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.