Forum Open Notice
Forum Open Notice
  1. Forum
  2. Profile for

Olle Johansson

Offline
Posts
7
Rank
New Member
Register Date
20 Mar 2012

Posts

Yeah, I know. It just feels wrong having to modify the request variables to use a function. Lefteris Kavadas said:Hi. If you want you can still use these functions. Just try to do something like that: JRequest::setVar('id',1337); right...

English K2 Community Olle Johansson, 17 years 6 days ago 5 replies

Never mind, those methods don't seem to all that useful for plugins anyway. I was kind of hoping to have a method that set all the data up. Like reading the extra fields, creating a link, loading up category item data etc. So I only need...

English K2 Community Olle Johansson, 17 years 1 week ago 5 replies

Basically, I'd like to be able to use the K2ModelItem methods for other items than one read from a request variable. So every method should take an id argument, and use that if available. E.g. $K2ModelItem->getData(1337);

English K2 Community Olle Johansson, 17 years 1 week ago 5 replies

Then it should be quite an easy fix. =) I'll get it added next time I work on it. Manukat said:I was thinking not the whole article, it would just include the text content from an external k2 article. The original main article would deal...

English K2 Community Olle Johansson, 17 years 2 weeks ago 5 replies

As far as I can tell, it's only possible to instantiate the K2ItemModel with the id taken from the request. It would be a good thing if it was possible to do this by sending in an id in as an argument as well. Making it much easier to do...

English K2 Community Olle Johansson, 17 years 2 weeks ago 5 replies

Well... Adding the possibility to enter a code in the article to have multiple articles isn't a problem really. But because of the way K2 handles the data model, it might be a bit of work to get complete articles with the proper template...

English K2 Community Olle Johansson, 17 years 2 weeks ago 5 replies

Here is a preview of the plugin that I'm developing for K2 right now. It is used to show data from an external K2 item when displaying an item. When editing an article you get an extra field to enter the ID of another item. This id will...

English K2 Community Olle Johansson, 17 years 2 weeks ago 5 replies

More