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

jim

Offline @jimmywiddle
Posts
9
Rank
New Member
Register Date
13 Jun 2016

Posts

Hi, I currently have the following code which displays perfectly the number of k2 items/articles within a category. <?php $cat_id = $this->item->category->id; $db = JFactory::getDBO(); $select = "SELECT COUNT(*) FROM #__k2_items WHERE...

English K2 Community jim, 10 years 4 months ago 1 replies

Hi Mohamed, So sorry to post again so soon, am just desperate to get this job finished (this is the last thing I have left to complete). I just wondered if you have any ideas what might be wrong from the errors? Once again any help would...

English K2 Community jim, 10 years 4 months ago 15 replies

Hi Mohamed, Thanks again for this, much appreciated!!! :) Sorry I should have turned on error reporting and included this error in my previous post (sorry about that!) here is the error: Undefined property: stdClass::$relatedItems in...

English K2 Community jim, 10 years 4 months ago 15 replies

Hi Mohamed, Firstly thanks so much for this, very kind of you, much appreciated and also sorry for the delay in my response. I very much hoped to only be thanking you, but im afraid to say (after checking everything 3 times) im afraid to...

English K2 Community jim, 10 years 4 months ago 15 replies

Hi Krikor, Thanks again for your reply/help much appreciated! :) Sorry to bother you again, I was just wondering if you know where abouts I have to copy the related function to, im must be not putting it in the correct place/file, as im...

English K2 Community jim, 10 years 5 months ago 15 replies

@Alex no worries, thanks anyway, I thought so. Is anoying how difficult such a simple requirement is proving to be. @Krikor sorry to bother you again, but i dont suppose you know the file I need to copy the function get relateditems to do you?

English K2 Community jim, 10 years 5 months ago 15 replies

@Krikor, many thanks, could you possibly clarify what you mean by triggered in category view, yes this is what i need I believe just simply the get related items function in the relevant file. @Alex, many thanks, although that module is...

English K2 Community jim, 10 years 5 months ago 15 replies

Hi Krikor, Many thanks for your reply/help! Could you possibly suggest an extension/k2 plugin that might do the trick? Ive looked but haven't found anything. Basically, what im aiming to achieve is, simply a count (only the integer) of...

English K2 Community jim, 10 years 5 months ago 15 replies

I have the following code which I use within the k2 template file 'item.php' <?php echo $this->relatedItems[0]->title->value ;?> Id simply like to use this same code in the k2 template file 'category_item.php' Ive found the function...

English K2 Community jim, 10 years 5 months ago 15 replies

More