Matchreport K2

General JoomLeague Discussions

Moderator: And_One

User avatar
Atletic Rodenc
.
Posts: 313
Joined: Mon Feb 15, 2010 10:28 am
Joomleague version: 2.0.x
Location: Roda de Ter
Contact:

Matchreport K2

Postby Atletic Rodenc » Mon Jan 02, 2012 6:44 pm

Hello guys !

Is possible relation Matchreport JL with K2 ?

Thanks in advance.

Regards.

User avatar
kubik
.
Posts: 618
Joined: Tue Nov 03, 2009 7:20 pm
Joomleague version: 2.0.x
Location: Oberschlesien
Contact:

Re: Matchreport K2

Postby kubik » Tue Jan 03, 2012 8:24 pm

Atletic Rodenc wrote:Hello guys !

Is possible relation Matchreport JL with K2 ?

Thanks in advance.

Regards.


I've started using K2 with Joomleague and its great solution. Im sayin' YES to K2&JL :cool:
Joomla 2.5.x & 3.x
JoomLeague - Latest Git Version
GG Network No : 5739578
www.RegioLiga.pl

TheWelshOne
.
Posts: 20
Joined: Thu Aug 20, 2009 3:40 pm

Re: Matchreport K2

Postby TheWelshOne » Wed Jan 04, 2012 12:44 am

How can I achieve this?

Thanks

User avatar
kubik
.
Posts: 618
Joined: Tue Nov 03, 2009 7:20 pm
Joomleague version: 2.0.x
Location: Oberschlesien
Contact:

Re: Matchreport K2

Postby kubik » Wed Jan 04, 2012 5:36 pm

TheWelshOne wrote:How can I achieve this?

Thanks

K2?
http://www.getk2.org
Joomla 2.5.x & 3.x
JoomLeague - Latest Git Version
GG Network No : 5739578
www.RegioLiga.pl

User avatar
Atletic Rodenc
.
Posts: 313
Joined: Mon Feb 15, 2010 10:28 am
Joomleague version: 2.0.x
Location: Roda de Ter
Contact:

Re: Matchreport K2

Postby Atletic Rodenc » Wed Jan 04, 2012 8:30 pm

kubik wrote:
Atletic Rodenc wrote:Hello guys !

Is possible relation Matchreport JL with K2 ?

Thanks in advance.

Regards.


I've started using K2 with Joomleague and its great solution. Im sayin' YES to K2&JL :cool:


How to relation K2 and JL ??

Thanks.

User avatar
kubik
.
Posts: 618
Joined: Tue Nov 03, 2009 7:20 pm
Joomleague version: 2.0.x
Location: Oberschlesien
Contact:

Re: Matchreport K2

Postby kubik » Wed Jan 04, 2012 10:32 pm

Atletic Rodenc wrote:
kubik wrote:
Atletic Rodenc wrote:Hello guys !

Is possible relation Matchreport JL with K2 ?

Thanks in advance.

Regards.


I've started using K2 with Joomleague and its great solution. Im sayin' YES to K2&JL :cool:


How to relation K2 and JL ??

Thanks.

I mean - K2 content replaced joomla content, as we now joomleague is connected with joomla content but K2 content is more powerfull. Check my test website with K2 and JL
www.lzs-skalagi.pl
Joomla 2.5.x & 3.x
JoomLeague - Latest Git Version
GG Network No : 5739578
www.RegioLiga.pl

Bioinformatiker
Newbie
Posts: 8
Joined: Sat Jul 30, 2011 2:04 pm

Re: Matchreport K2

Postby Bioinformatiker » Tue Jan 10, 2012 2:52 pm

I think, what Atletic Rodenc really mean is how to link, for example, a Joomleague Matchreport with a K2 Article. I tried to do that, and the only idea I had was to create an extended field for the matchreport (http://wiki.joomleague.at/doku.php?id=faq:extended) where I can add a link to the K2 Article. Its not very pretty but it works.

Now I want to make this link to be shown on the Clubplan, but you cant create an extended field for Clubplan and I'm not very good at PHP, so I dont kow how to edit the Clubplan view in order to show an especific extended field from the Matchreport.

Could anybody with PHP knowledge help us?? :confused:
Joomla 1.5.25
Joomleague 1.5.4

And_One
Joomleague Project Manager, Donator
Joomleague Project Manager, Donator
Posts: 3611
Joined: Fri Sep 11, 2009 4:00 pm
Joomleague version: 2.0.x
Location: Graz
Contact:

Re: Matchreport K2

Postby And_One » Tue Jan 10, 2012 3:46 pm

if have added yesterday the support for content plugins for the nextmatch / matchreport view. so there should be no need to add an own external article now. you can use the provided preview / summary field on the match details.

Bioinformatiker
Newbie
Posts: 8
Joined: Sat Jul 30, 2011 2:04 pm

Re: Matchreport K2

Postby Bioinformatiker » Tue Jan 10, 2012 4:37 pm

And_One wrote:if have added yesterday the support for content plugins for the nextmatch / matchreport view. so there should be no need to add an own external article now. you can use the provided preview / summary field on the match details.


And how does it work? I dont know if K2 has a content plugin...

Is that not the same as to duplicate the content of an K2 article and paste it on the matchreport/preview?? Or what is the content plugin really doing?? Could you explain it?

Thanks
Joomla 1.5.25
Joomleague 1.5.4

And_One
Joomleague Project Manager, Donator
Joomleague Project Manager, Donator
Posts: 3611
Joined: Fri Sep 11, 2009 4:00 pm
Joomleague version: 2.0.x
Location: Graz
Contact:

Re: Matchreport K2

Postby And_One » Tue Jan 10, 2012 4:52 pm

try to understand how a content plugin work http://docs.joomla.org/Creating_a_content_plugin

User avatar
Atletic Rodenc
.
Posts: 313
Joined: Mon Feb 15, 2010 10:28 am
Joomleague version: 2.0.x
Location: Roda de Ter
Contact:

Re: Matchreport K2

Postby Atletic Rodenc » Tue Jan 10, 2012 5:19 pm

Bioinformatiker wrote:I think, what Atletic Rodenc really mean is how to link, for example, a Joomleague Matchreport with a K2 Article. I tried to do that, and the only idea I had was to create an extended field for the matchreport (http://wiki.joomleague.at/doku.php?id=faq:extended) where I can add a link to the K2 Article. Its not very pretty but it works.

Now I want to make this link to be shown on the Clubplan, but you cant create an extended field for Clubplan and I'm not very good at PHP, so I dont kow how to edit the Clubplan view in order to show an especific extended field from the Matchreport.

Could anybody with PHP knowledge help us?? :confused:


That's what I want mean.

If anybody devolope this plugin please tell me, I'm interested with this conection.

Thanks.

Bioinformatiker
Newbie
Posts: 8
Joined: Sat Jul 30, 2011 2:04 pm

Re: Matchreport K2

Postby Bioinformatiker » Wed Jan 11, 2012 4:20 pm

And_One wrote:try to understand how a content plugin work http://docs.joomla.org/Creating_a_content_plugin


You´re also meaning, with such a plugin, you could add in the preview/matchreport editor a syntax, like "{k2 article id=150}", and in the fronted its showing the K2 article with the id 150. am i right??

Ok, but I dont have enought knowledge of PHP to do that, if someone could develope such a plugin it would be great. The only problem is, then you have the content "duplicated" (I know, its not duplicated, because with the content plugin youre showing the same article, you are targeting to the article, and not creating a second article with the same content), but at the end you have, on the one hand a K2 Article, that has no relation to the Joomleague Matchreport, and on the other hand, a Joomleague Matchreport, that is "linked" with the K2 Article content. Do you understand me?? ;)

The best solution would be, linking Joomleague and K2 in a way that you only have one "Content Display" wiht Joomleague´s and K2´s content in one, so that when you click on the K2 article or in the Joomleague link to Mathcreport, you came to the same page. But I know, that surely a lot of work... >:D
Joomla 1.5.25
Joomleague 1.5.4

And_One
Joomleague Project Manager, Donator
Joomleague Project Manager, Donator
Posts: 3611
Joined: Fri Sep 11, 2009 4:00 pm
Joomleague version: 2.0.x
Location: Graz
Contact:

Re: Matchreport K2

Postby And_One » Wed Jan 11, 2012 4:51 pm

"{k2 article id=150}"
is exactly what i ment. so you would have button on bottom of the editor "Link K2 Article" and the plugin would get the K2 article content onPrepareContent ... shouldn´t be to hard to code ... but as always, we are to many devs to fulfill every wish .... check out the long bugtracker list ;)

User avatar
Harrie
.
Posts: 333
Joined: Thu Aug 16, 2007 9:55 am
Joomleague version: 2.0.x
Location: The Netherlands
Contact:

Re: Matchreport K2

Postby Harrie » Tue Jan 17, 2012 4:36 pm

Ok then, here's the solution ;)

Use Mike Reumer's plugin "Plugin Include Component" (see JED).

Now you can include a matchreport in a K2 article.

Good luck
Using Joomleague since version 0.90
Production: Latest Joomla version, Latest JoomLeague version

User avatar
Atletic Rodenc
.
Posts: 313
Joined: Mon Feb 15, 2010 10:28 am
Joomleague version: 2.0.x
Location: Roda de Ter
Contact:

Re: Matchreport K2

Postby Atletic Rodenc » Tue Jan 17, 2012 4:59 pm

Harrie wrote:Ok then, here's the solution ;)

Use Mike Reumer's plugin "Plugin Include Component" (see JED).

Now you can include a matchreport in a K2 article.

Good luck


It's a manual solution .. :thx:

But I think is better an automatic integration .... :confused:

marco_ve
.
Posts: 69
Joined: Sun Nov 07, 2010 10:05 am

Re: Matchreport K2

Postby marco_ve » Wed May 09, 2012 10:34 am

Harrie wrote:Ok then, here's the solution ;)

Use Mike Reumer's plugin "Plugin Include Component" (see JED).

Now you can include a matchreport in a K2 article.

Good luck


Can you explain a little bit in details how to do it?
Thanks!
Bye,
Marco.

===================================================
homesite: http://volleyvvftreviso.altervista.org/
Treviso (IT) Fire Department Volleyball Amateur Team - UISP League
===================================================

User avatar
kubik
.
Posts: 618
Joined: Tue Nov 03, 2009 7:20 pm
Joomleague version: 2.0.x
Location: Oberschlesien
Contact:

Re: Matchreport K2

Postby kubik » Tue May 29, 2012 10:33 pm

marco_ve wrote:Can you explain a little bit in details how to do it?
Thanks!


Sure.

Install plugin from here -> http://joomlacode.org/gf/project/include_comp/frs/
use this pattern inside K2 article -> {component url='component/k2/item/292-20-kolejka-historyczne-zwyciestwo.html'}
Check plugin settings & SEF address {
if SEF address == 0 do nothing
if SEF address == 1 change to curl
method.png


Be happy extending your matchreport... :whistling:
You do not have the required permissions to view the files attached to this post.
Joomla 2.5.x & 3.x
JoomLeague - Latest Git Version
GG Network No : 5739578
www.RegioLiga.pl


Return to “Public”

Who is online

Users browsing this forum: No registered users and 5 guests

cron