Problem with email cloak since Update Joomla

More
10 years 1 month 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
Attachments:

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

More
10 years 1 month 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...

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

More
10 years 1 month 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
10 years 1 month 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...

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.639 seconds
Save
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