-
AuthorPosts
-
June 12, 2012 at 8:16 am #178054
Hello,
I need an urgent assistance. On my page (links and stuff provided) the pager plugin doesn’t work. I’m using K2 for all articles. Are there any solution or configuration?
Thank you for your help.
Wall Crasher DeveloperWall Crasher
- Join date:
- December 2011
- Posts:
- 1113
- Downloads:
- 0
- Uploads:
- 15
- Thanks:
- 66
- Thanked:
- 361 times in 300 posts
June 13, 2012 at 4:07 am #457157Hi csuki,
I have checked and see that infinity-scroll.js plugin is in conflict with ‘sh404sef’ plugin.
I have disabled ‘sh404sef’ and your site is working fine now.
If you need to use ‘sh404sef’, you may need to customize javascript infinity-scroll.js.
Regards
July 4, 2012 at 3:23 pm #459884After hiring a developer to find a way to fix this problem here is the solution he found.
He changed the file located at templatesja_walljswall.js with the attached file in this post.
He also said that other people may have to change the line 101 of this javascript depending of their joomla configurations.
If anyone would like to see it working, have a look at http://www.brandpress.com.br
Hope it helps,
Best Regards,
Felipe
July 16, 2012 at 4:23 am #460976<em>@brandpress 328663 wrote:</em><blockquote>After hiring a developer to find a way to fix this problem here is the solution he found.
He changed the file located at templatesja_walljswall.js with the attached file in this post.
He also said that other people may have to change the line 101 of this javascript depending of their joomla configurations.
If anyone would like to see it working, have a look at http://www.brandpress.com.br
Hope it helps,
Best Regards,
Felipe</blockquote><3 very much.
August 6, 2012 at 9:03 pm #463391<em>@brandpress 328663 wrote:</em><blockquote>After hiring a developer to find a way to fix this problem here is the solution he found.
He changed the file located at templatesja_walljswall.js with the attached file in this post.
He also said that other people may have to change the line 101 of this javascript depending of their joomla configurations.
If anyone would like to see it working, have a look at http://www.brandpress.com.br
Hope it helps,
Best Regards,
Felipe</blockquote>Hello brandpress,
The file you provided works great on the front page, but it doesn’t work when viewing separate categories:
On he home page the pagination link is /?page=2, so this code works great:
catch(err){
this.path = '/?page=2';
this.number = this.path.match(/(page[=-])(d*)&*/i)[2] || 2;
}But when viewing a menu item with k2 category layout, the pagination link is /category-name/Page-1 and other pages do not load 🙁
Is there any way to fix this?Wall Crasher DeveloperWall Crasher
- Join date:
- December 2011
- Posts:
- 1113
- Downloads:
- 0
- Uploads:
- 15
- Thanks:
- 66
- Thanked:
- 361 times in 300 posts
August 7, 2012 at 2:23 am #463401Hi mynde,
Can you please pm your ftp/admin access information to me?
I will try to look in more details.Meanwhile, please try this block of code to see if it work or not.
var pathObject = {
init: function(){
this.path = ($('#page-next-link').attr('href') || '');
var match = this.path.match(/((page|start)[=-])(d*)(&*)/i);
if(match){
this.type = match[2];
this.number = match[3];
this.limit = this.type == 'page' ? 1 : this.number;
this.number = this.type == 'page' ? this.number : 2;
} else {
this.type = 'unk';
this.number = 2;
this.path = this.path + (this.path.indexOf('?') == -1 ? '?' : '') + 'page=';
}
},join: function(page){
if(this.type == 'unk'){
return this.path + this.number++;
} else{
return this.path.replace(/((page|start)[=-])(d*)(&*)/i, '$1' + (this.limit * this.number++) + '$4');
}
}
};Hope it helps.
Regards
-
AuthorPosts
This topic contains 6 replies, has 5 voices, and was last updated by Wall Crasher 12 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum