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...
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??
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') &&...
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......
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...
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?
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>
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...
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...
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!
More