test
Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • bobthebuilder Friend
    #1069859

    Good day, would you please guide me to the settings to display the category page image at the top of the categoyy page, next to the category description. Thank you.

    Saguaros Moderator
    #1070143

    Hi,

    You can try this tweak:

    • Go to file: root/templates/ja_megastore/html/com_virtuemart/category/default.php
    • Assume that you want to show category’s image before the description, you find this snippet of code which renders the description:

      <div class="category_description">
      <?php echo $this->category->category_description; ?>
      </div>
    • Put this snippet of code for category image above it:
      <div class="category_image">
      <?php echo $this->category->images[0]->displayMediaThumb("",false); ?>
      </div>

    It looks like this: http://prntscr.com/h23siw

    Hope this helps.

    bobthebuilder Friend
    #1070263

    Thank you, that’s kind of what I wanted although I would prefer the image on the right side of the description. Is that possible?

    Saguaros Moderator
    #1070271

    You can change the mockup a bit, try with my attached file:


    1. default.php_-3.zip
    bobthebuilder Friend
    #1070292
    This reply has been marked as private.
    Saguaros Moderator
    #1070366

    You can share the credentials of your site (URL, Admin + FTP account) so I will take a look

    bobthebuilder Friend
    #1070457
    This reply has been marked as private.
    Saguaros Moderator
    #1070867

    Hi,

    Is this the correct directory of the current site? /public_html/registry_megastore/

    I tried to change but see now affect.

    I also check the path in global configuration but it points to this directory: ‘mygiftregistry’ instead.

    Could you confirm the correct path here?

    bobthebuilder Friend
    #1070895
    This reply has been marked as private.
    Saguaros Moderator
    #1071227
    This reply has been marked as private.
    bobthebuilder Friend
    #1071239
    This reply has been marked as private.
    bobthebuilder Friend
    #1071240
    This reply has been marked as private.
    Saguaros Moderator
    #1071475

    Kindly check and let me know if it’s ok now.

    bobthebuilder Friend
    #1071553
    This reply has been marked as private.
    Saguaros Moderator
    #1071685
    This reply has been marked as private.
Viewing 15 posts - 1 through 15 (of 15 total)

This topic contains 14 replies, has 2 voices, and was last updated by  Saguaros 7 years, 1 month ago.

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