- Posts: 15920
COMMUNITY FORUM
- Forum
- K2 Community Forum
- English K2 Community
- [SOLVED] K2 Tools archive module sort by year than month
[SOLVED] K2 Tools archive module sort by year than month
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
11 years 2 months ago #107110
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Re: K2 Tools archive module sort by year than month
You have to make sure that these script are compatible with jQuery 1.9.
You can always choose 1.8 or 1.7 through K2's parameters.
As for the nocoflict you can use the Example: Create a different alias instead of jQuery to use in the rest of the script.
Also you are loading the script from your localhost, you must change the source to it's correct location.
Finally loading scripts should be done with the Joomla! API. More on this can be found here docs.joomla.org/JDocument/addScript
You can always choose 1.8 or 1.7 through K2's parameters.
As for the nocoflict you can use the Example: Create a different alias instead of jQuery to use in the rest of the script.
var j = jQuery.noConflict();
j(function() {
j( "#k2-archive-heading" ).accordion({ heightStyle: "content" });
});
Also you are loading the script from your localhost, you must change the source to it's correct location.
Finally loading scripts should be done with the Joomla! API. More on this can be found here docs.joomla.org/JDocument/addScript
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Balgas
- Offline
- Junior Member
11 years 2 months ago #107111
by Balgas
Replied by Balgas on topic Re: K2 Tools archive module sort by year than month
NICE !!
I delete the script : <script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.3/jquery.min.js"></script>
& load on K2 jquery v.1.9.0 & it's work !
Thx a lot !!!
I delete the script : <script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.3/jquery.min.js"></script>
& load on K2 jquery v.1.9.0 & it's work !
Thx a lot !!!
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
11 years 2 months ago #107112
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Re: K2 Tools archive module sort by year than month
You 're welcome
Make sure you 've corrected that too because it will crash in all other users.
Also you are loading the script from your localhost, you must change the source to it's correct location.
Make sure you 've corrected that too because it will crash in all other users.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Balgas
- Offline
- Junior Member
11 years 2 months ago #107113
by Balgas
Replied by Balgas on topic Re: [SOLVED] K2 Tools archive module sort by year than month
Oups ! Thx a lot ^^
Please Log in or Create an account to join the conversation.
- Federico Falciani
- Offline
- New Member
Less
More
- Posts: 3
11 years 2 months ago #107114
by Federico Falciani
Replied by Federico Falciani on topic Re: [SOLVED] K2 Tools archive module sort by year than month
Thank you for the posted solution: it works, but I have a problem: it shows just the last 3 years archived, and I need it shows all the years archived.
Waiting for your response.
Thank you very much.
Federico.
Waiting for your response.
Thank you very much.
Federico.
Please Log in or Create an account to join the conversation.
- Paul76
- Offline
- New Member
Less
More
- Posts: 1
11 years 2 months ago #107115
by Paul76
Replied by Paul76 on topic Re: [SOLVED] K2 Tools archive module sort by year than month
We're having the same problem, e.g. using K2 Tools without any modifications, date navigation elements for stories older than 3 years aren't appearing. So where we have a post from November 2010, the list stops at April 2011. Any suggestions?
Please Log in or Create an account to join the conversation.
- Alaa
- Offline
- New Member
Less
More
- Posts: 3
11 years 1 month ago #107116
by Alaa
Replied by Alaa on topic Re: K2 Tools archive module sort by year than month
Hello,
Thank you indeed for your input. Please the solution didn't work on my site. The year appears but with no style and no animation! I think the JQuery didn't work. Do I have to do something to import the JQuiry animation? Can anyone just upload the file of JQuery that I should use?
Please help me. I really like this and need it.
I don't know anything about JS and JQuery.
Thank you advance.
Thank you indeed for your input. Please the solution didn't work on my site. The year appears but with no style and no animation! I think the JQuery didn't work. Do I have to do something to import the JQuiry animation? Can anyone just upload the file of JQuery that I should use?
Please help me. I really like this and need it.
I don't know anything about JS and JQuery.
Thank you advance.
Please Log in or Create an account to join the conversation.
- Nicholas Loggie
- Offline
- New Member
Less
More
- Posts: 12
10 years 11 months ago #107117
by Nicholas Loggie
Replied by Nicholas Loggie on topic Re: K2 Tools archive module sort by year than month
Great contribution - thanks very much
Please Log in or Create an account to join the conversation.
- raffaEl
- Offline
- New Member
Less
More
- Posts: 1
10 years 10 months ago #107118
by raffaEl
Replied by raffaEl on topic Re: [SOLVED] K2 Tools archive module sort by year than month
Dears!!
This is wonderfull solution!
I've got two questions, how can we improve this:
1. When clicking on monts from earlier yeras (ex. 2012) tabs get back to 2013, the same when we're inside the article. How can I modify the code to maintain year selected from archive?
2. Can we extend this to show articles list below selected month? That would be perfect, exectly like Blogger archive works!
Best Regerds,
raffaEl
This is wonderfull solution!
I've got two questions, how can we improve this:
1. When clicking on monts from earlier yeras (ex. 2012) tabs get back to 2013, the same when we're inside the article. How can I modify the code to maintain year selected from archive?
2. Can we extend this to show articles list below selected month? That would be perfect, exectly like Blogger archive works!
Best Regerds,
raffaEl
Please Log in or Create an account to join the conversation.
- Bruno Ferreira
- Offline
- New Member
Less
More
- Posts: 1
10 years 10 months ago #107119
by Bruno Ferreira
Replied by Bruno Ferreira on topic Re: K2 Tools archive module sort by year than month
Please post your code modifications.
Please Log in or Create an account to join the conversation.
- Forum
- K2 Community Forum
- English K2 Community
- [SOLVED] K2 Tools archive module sort by year than month