-
AuthorPosts
-
August 7, 2015 at 5:32 am #658853
I’ve found an odd type of bug and it has taken me over an hour to troubleshoot and try to work out what was happening here.
I’ve figured out that on a standard article content page (i.e. where a menu item is linked to a Single Article), if a hyperlinked email address is included, then the whole page of content is duplicated below in a slightly different format.
I’m not sure why this is happening, but it is definitely happening and it was quite a frustrating process to work out what was going on.
Thought this is something you might like to take a look at.
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
August 7, 2015 at 7:50 am #658880HI
Kindly provide the details :
Your site article link where i can see issue
+ PM me your working site admin details . I will check it directly on your site .Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
August 7, 2015 at 7:50 am #744769HI
Kindly provide the details :
Your site article link where i can see issue
+ PM me your working site admin details . I will check it directly on your site .innovationmindcenter Friendinnovationmindcenter
- Join date:
- December 2014
- Posts:
- 101
- Downloads:
- 184
- Uploads:
- 13
- Thanks:
- 21
- Thanked:
- 1 times in 1 posts
October 20, 2015 at 10:12 pm #706123Here is an example of the same issue: http://erickson1.imc-website-test.info/book
innovationmindcenter Friendinnovationmindcenter
- Join date:
- December 2014
- Posts:
- 101
- Downloads:
- 184
- Uploads:
- 13
- Thanks:
- 21
- Thanked:
- 1 times in 1 posts
October 20, 2015 at 10:12 pm #752340Here is an example of the same issue: http://erickson1.imc-website-test.info/book
innovationmindcenter Friendinnovationmindcenter
- Join date:
- December 2014
- Posts:
- 101
- Downloads:
- 184
- Uploads:
- 13
- Thanks:
- 21
- Thanked:
- 1 times in 1 posts
October 20, 2015 at 10:14 pm #706124<em>@innovationmindcenter 498535 wrote:</em><blockquote>Here is an example of the same issue: http://erickson1.imc-website-test.info/book</blockquote>
Here is an link of the same post admin and pw has been submitted for admin: http://www.joomlart.com/forums/topic/duplicaterepeated-contentmodule-in-the-same-article/
innovationmindcenter Friendinnovationmindcenter
- Join date:
- December 2014
- Posts:
- 101
- Downloads:
- 184
- Uploads:
- 13
- Thanks:
- 21
- Thanked:
- 1 times in 1 posts
October 20, 2015 at 10:14 pm #752341<em>@innovationmindcenter 498535 wrote:</em><blockquote>Here is an example of the same issue: http://erickson1.imc-website-test.info/book</blockquote>
Here is an link of the same post admin and pw has been submitted for admin: http://id.joomlart.com/forums/topic/duplicaterepeated-contentmodule-in-the-same-article/
unimarconi Friendunimarconi
- Join date:
- September 2015
- Posts:
- 24
- Downloads:
- 136
- Uploads:
- 0
- Thanked:
- 1 times in 1 posts
October 21, 2015 at 4:16 pm #706313Hello, I have the same problem, doesn’t matter if the email is an hyperlink or not the content get duplicated. Haven’t debugged the code but I bet the problem could be within this code:
ja_charityhtmllayoutsjoomlacontentitemdefault.php
// split introtext & text
if ($params->get('show_intro', 0)) {
$pos = strpos($item->text, $item->introtext);
if ($pos !== false) {
$item->text = substr_replace ($item->text, '', $pos, strlen($item->introtext));
}
}I guess that for some reason the introtext get duplicated into the fulltext, if I put a read more tag on top of the article the problem disappear but that doesn’t seems the right solution to me.
unimarconi Friendunimarconi
- Join date:
- September 2015
- Posts:
- 24
- Downloads:
- 136
- Uploads:
- 0
- Thanked:
- 1 times in 1 posts
October 21, 2015 at 4:16 pm #752419Hello, I have the same problem, doesn’t matter if the email is an hyperlink or not the content get duplicated. Haven’t debugged the code but I bet the problem could be within this code:
ja_charityhtmllayoutsjoomlacontentitemdefault.php
// split introtext & text
if ($params->get('show_intro', 0)) {
$pos = strpos($item->text, $item->introtext);
if ($pos !== false) {
$item->text = substr_replace ($item->text, '', $pos, strlen($item->introtext));
}
}I guess that for some reason the introtext get duplicated into the fulltext, if I put a read more tag on top of the article the problem disappear but that doesn’t seems the right solution to me.
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
October 22, 2015 at 12:50 am #706343Hello @unimarconi
Kindly follow the suggestion given here by support team memberPankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
October 22, 2015 at 12:50 am #752449Hello @unimarconi
Kindly follow the suggestion given here by support team memberunimarconi Friendunimarconi
- Join date:
- September 2015
- Posts:
- 24
- Downloads:
- 136
- Uploads:
- 0
- Thanked:
- 1 times in 1 posts
October 22, 2015 at 7:29 am #706405Hello @pankajsharma
this is what I have done but I consider this a workaround not a solution. This way I have to remember to add the readmore tag on every page and what if I need to display those articles both as individual pages and in a category blog? Or if I need to use the read more feature and don’t want to duplicate the introtext into fulltext disabling to show the former? This is the first theme I ever met that shows this behaviourunimarconi Friendunimarconi
- Join date:
- September 2015
- Posts:
- 24
- Downloads:
- 136
- Uploads:
- 0
- Thanked:
- 1 times in 1 posts
October 22, 2015 at 7:29 am #752473Hello @pankajsharma
this is what I have done but I consider this a workaround not a solution. This way I have to remember to add the readmore tag on every page and what if I need to display those articles both as individual pages and in a category blog? Or if I need to use the read more feature and don’t want to duplicate the introtext into fulltext disabling to show the former? This is the first theme I ever met that shows this behaviourPankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
October 23, 2015 at 1:47 am #706644<em>@unimarconi 498710 wrote:</em><blockquote>Hello @pankajsharma
this is what I have done but I consider this a workaround not a solution. This way I have to remember to add the readmore tag on every page and what if I need to display those articles both as individual pages and in a category blog? Or if I need to use the read more feature and don’t want to duplicate the introtext into fulltext disabling to show the former? This is the first theme I ever met that shows this behaviour</blockquote>
Hi template will work in this way , do u want to remove the Intro text permanently ?
U can PM me your site super user details i will check it and update u.Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
October 23, 2015 at 1:47 am #752561<em>@unimarconi 498710 wrote:</em><blockquote>Hello @pankajsharma
this is what I have done but I consider this a workaround not a solution. This way I have to remember to add the readmore tag on every page and what if I need to display those articles both as individual pages and in a category blog? Or if I need to use the read more feature and don’t want to duplicate the introtext into fulltext disabling to show the former? This is the first theme I ever met that shows this behaviour</blockquote>
Hi template will work in this way , do u want to remove the Intro text permanently ?
U can PM me your site super user details i will check it and update u. -
AuthorPosts
This topic contains 25 replies, has 4 voices, and was last updated by Pankaj Sharma 9 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum