-
AuthorPosts
-
vernontee Friend
vernontee
- Join date:
- November 2015
- Posts:
- 440
- Downloads:
- 53
- Uploads:
- 22
- Thanks:
- 18
- Thanked:
- 4 times in 4 posts
October 1, 2016 at 10:16 am #972619Do refer to this
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
October 3, 2016 at 3:14 am #972876Hi
The buttons are present in the bottom : http://prntscr.com/cp4sk5
http://ja-directory.demo.joomlart.com/index.php/en/clubs/item/38-brewdog-shoreditch
You can customize the links from
/templates/ja_directory/html/com_k2/default/item.php
here is code used for this<?php if($this->item->params->get('itemNavigation') && !JRequest::getCmd('print') && (isset($this->item->nextLink) || isset($this->item->previousLink))): ?> <!-- Item navigation --> <div class="itemNavigation"> <span class="itemNavigationTitle"><?php echo JText::_('K2_MORE_IN_THIS_CATEGORY'); ?></span> <?php if(isset($this->item->previousLink)): ?> <a class="itemPrevious" href="<?php echo $this->item->previousLink; ?>"> « <?php echo $this->item->previousTitle; ?> </a> <?php endif; ?> <?php if(isset($this->item->nextLink)): ?> <a class="itemNext" href="<?php echo $this->item->nextLink; ?>"> <?php echo $this->item->nextTitle; ?> » </a> <?php endif; ?> </div> <?php endif; ?>
vernontee Friendvernontee
- Join date:
- November 2015
- Posts:
- 440
- Downloads:
- 53
- Uploads:
- 22
- Thanks:
- 18
- Thanked:
- 4 times in 4 posts
October 4, 2016 at 6:19 am #973250hi… its not the links i would like to modify, I’d like to get the COVER IMAGE of that article so it looks a lot better rather than just the link. Thanks!
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
October 4, 2016 at 7:23 am #973289I in this case you have to share the mock up of the page and you are working site URL the screenshot you shared does not giving any clue. it’s very hard for me who assume what you want to achieve
vernontee Friendvernontee
- Join date:
- November 2015
- Posts:
- 440
- Downloads:
- 53
- Uploads:
- 22
- Thanks:
- 18
- Thanked:
- 4 times in 4 posts
October 4, 2016 at 9:12 am #973336http://screenpresso.com/=Umehc
Something like this.. the images appear there.. .all i need to know is whats the code to get the image for that particular item and im good to go.
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
October 4, 2016 at 9:28 am #973343Hi
/templates/ja_directory/html/com_k2/default/item.php
here is code used for this image in the article<div class="itemImageBlock"> <span class="itemImage"> <a class="modal" rel="{handler: 'image'}" href="<?php echo $this->item->imageXLarge; ?>" title="<?php echo JText::_('K2_CLICK_TO_PREVIEW_IMAGE'); ?>"> <img src="<?php echo $this->item->image; ?>" alt="<?php if(!empty($this->item->image_caption)) echo K2HelperUtilities::cleanHtml($this->item->image_caption); else echo K2HelperUtilities::cleanHtml($this->item->title); ?>" style="width:<?php echo $this->item->imageWidth; ?>px; height:auto;" /> </a> </span> <?php if($this->item->params->get('itemImageMainCaption') && !empty($this->item->image_caption)): ?> <!-- Image caption --> <span class="itemImageCaption"><?php echo $this->item->image_caption; ?></span> <?php endif; ?> <?php if($this->item->params->get('itemImageMainCredits') && !empty($this->item->image_credits)): ?> <!-- Image credits --> <span class="itemImageCredits"><?php echo $this->item->image_credits; ?></span> <?php endif; ?> <div class="clr"></div> </div>
you can customize it with php code to get the images of navigation articles .
vernontee Friendvernontee
- Join date:
- November 2015
- Posts:
- 440
- Downloads:
- 53
- Uploads:
- 22
- Thanks:
- 18
- Thanked:
- 4 times in 4 posts
October 4, 2016 at 11:10 am #973382Thanks do let me try this out
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
October 4, 2016 at 3:17 pm #973462you are welcome !
-
AuthorPosts
This topic contains 7 replies, has 2 voices, and was last updated by Pankaj Sharma 8 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum