Problem with email cloak since Update Joomla

More
11 years 4 months ago #49671 by coerter
since Update of Joomla version 2.5.25. We have a problem with emailcloaking. If in a categorylisting the same email is listed more than once. Appears only once the correct value. The deactivation of the plugin emailcloak unfortunately brings no success. What can we do. Take a look to the attachment.

with regards

coweb

Please Log in or Create an account to join the conversation.

More
11 years 4 months ago #49672 by ggppdk
Hello

so do you display same item twice ?
or do you display 2 items with same email ?

i see that emailcloak plugin
has changed for:
Joomla 2.5.24 --> 2.5.25
Joomla 3.3.3 --> 3.3.4


but to see if FLEXIcontent is relevant
which FC version/revision have you used
-- if had both v2.1.3 and v2.2.0 r1973 please say so


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
11 years 4 months ago #49684 by coerter
Hello,

thank for your quick reply. The Version of Flexicontent is

2.1.3 r1857
Joomla 2.4.25

I have a main category with diffrent sub-categories. The items are in several categories. The category layout display the main category with sub-categories.

I display the same item twice. I think this is now the problem. The plugin now adds a span element with an ID to the email field.

I hope you understand my bad english.

with regards

coweb

Please Log in or Create an account to join the conversation.

More
11 years 4 months ago #49687 by micker
we are on 2.2.0 r1973 => try to update first

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
11 years 4 months ago #49717 by coerter
Hello,

i update, but it is the same problem now.

with regards

coweb

Please Log in or Create an account to join the conversation.

More
11 years 4 months ago #49718 by ggppdk
Hello

we will look at this, but first trying to get some information,

-- if this is FLEXIcontent issue related to NOT triggering content plugins in the item

-- or it is a bug in Joomla plugin,
because the latest version of Joomla J2.5.25 / J3.3.4 DID change the code of the plugin



so i ask if you put other content plugins inside the the item, do they get triggered ?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
11 years 4 months ago #49719 by coerter
Hello,

I have tested also with the content plugin loadposition. This plugin works correctly. Have also created a simple text field and assigned to this Emailcloak the plugin. If a record is assigned in several sub-categories and the main category will be displayed in the category listing. Appear only the first value correctly. The problem should be the new emailcloak plugin. The plugin adds the same id to both <span> elements.

with regards

coweb

Please Log in or Create an account to join the conversation.

More
11 years 4 months ago #49720 by ggppdk
Hello

i have submitted a new issue in Joomla Issue tracker, with a suggested fix

issues.joomla.org/tracker/joomla ... il%20cloak


(you may test fix i suggested above)
- edit file:
libraries\joomla\html\html\email.php
Replace:
Code:
// Random number $rand = rand(1, 100000);

with:
Code:
static $rand = null; if ($rand === null) $rand = rand(1, 100000); // initialize to random $rand = $rand + 1; // now give unique IDs


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
11 years 4 months ago #49721 by coerter
Hello,

I have tested it, but it does not work. the span object has the same ID.

with regards

coweb

Please Log in or Create an account to join the conversation.

More
11 years 4 months ago #49724 by ggppdk
Hello

this means that probably the same item is created for the same "view" and same "method"

we have code not to create the same HTML twice for same fied/item/method triplet

-- so the bug is this:
1. trigger emailcloack on some text with emails,
2. display text 2 times in 2 places inside your web-page
3. the cloaking will not work properly on second text


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save