Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • vernontee Friend
    #972619
    Pankaj Sharma Moderator
    #972876

    Hi
    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; ?>">
                &laquo; <?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; ?> &raquo;
            </a>
            <?php endif; ?>
    
      </div>
      <?php endif; ?>
    
    vernontee Friend
    #973250

    hi… 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 Moderator
    #973289

    I 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 Friend
    #973336

    http://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 Moderator
    #973343

    Hi
    /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 Friend
    #973382

    Thanks do let me try this out

    Pankaj Sharma Moderator
    #973462

    you are welcome !

Viewing 8 posts - 1 through 8 (of 8 total)

This topic contains 7 replies, has 2 voices, and was last updated by  Pankaj Sharma 7 years, 7 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum