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

Chris Hogan

Offline
Posts
80
Rank
Premium Member
Register Date
02 Feb 2017

Posts

I was about to email about the Homepage and my News sections not working with the code above...but the problem was that I had a test sub-template that I did a while back 'Select a template' option set up in the menus under "Layout options...

English K2 Community Chris Hogan, 7 years 2 months ago 20 replies

Ok that's strange as I have the code working in the category_item.php in the position below, but it doesn't appear to want to show on the homepage??

English K2 Community Chris Hogan, 7 years 3 months ago 20 replies

Ok that's strange as I have the code working in the category_item.php in the position below, but it doesn't appear to want to show on the homepage?? <code> <?php if($this->item->params->get('catItemFeaturedNotice') &&...

English K2 Community Chris Hogan, 7 years 3 months ago 20 replies

Nope! I mustn't have been on an item that had been updated in the past 2 days - which I believe it was setup to show! But its all ok now & it is showing great, I just completely rushed the testing in my haste to see the code working......

English K2 Community Chris Hogan, 7 years 3 months ago 20 replies

Hi, many thanks for putting that together, I'm just having some issues getting it to appear on site. This code will ideally go on my category item.php but I've tried to add the above to both item & category php files in nearly every...

English K2 Community Chris Hogan, 7 years 3 months ago 20 replies

Thanks but can we please do this one step at a time as I have literally no idea what you posted. Step 1: "You need to convert the modified date to a unix timestamp" (using e.g. strtotime($this->item->modified)) where do I need to do this?

English K2 Community Chris Hogan, 7 years 3 months ago 20 replies

The page is no longer broken, just need advise on removing the link from this code: <?php if(isset($this->item->author->link) && $this->item->author->link): ?> <a rel="author" href="<?php echo $this->item->author->link; ?>"><?php echo $this->item->author->name; ?></a>

English K2 Community Chris Hogan, 7 years 3 months ago 7 replies

Hi Guys, I removed all that code and got major errors on page, I also tried removing each line then tested various other parts...and the best I've managed to do was to make it unclickable (even though it still looks like a link!) I did...

English K2 Community Chris Hogan, 7 years 3 months ago 7 replies

Ok great that works ok with just the words in my item.php... I just need to figure out how to have it appear for only recently modified items (within the past 2 weeks or so) As per my other post, I read through the post about 'Publishing...

English K2 Community Chris Hogan, 7 years 3 months ago 20 replies

In regard to this code below, am I placing it in and around the <!-- Start K2 Item Layout --> area on the subtemplate item file? Also, where can I write the words 'Updated News' in the code as well?? Any help will be great!

English K2 Community Chris Hogan, 7 years 3 months ago 20 replies

More