Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • lukelee0223 Friend
    #1081471

    Hi guys,

    As the title, would it be possible to add it has the hyperlink?
    Like clicking each of gallery can link to other pages.
    Does anyone have a better suggestion?

    Pankaj Sharma Moderator
    #1081842

    Hi
    Sorry, the ACM style that comes with this template does not have this option.
    You may look at the JA Uber template ACM and import the style on this template with help of this documentation.

    Hope it helps

    Regards

    Saguaros Moderator
    #1081847

    Hi Luke,

    You can achieve that by customizing ACM Gallery type a bit. Try with my tweak:

    • Go to file: root/templates/ja_smallbiz/acm/gallery/tmpl/style-1.xml
    • Add a new field for the link as below:

      <fieldset name="gallery" label="GALLERY_LABEL" description="GALLERY_DESC" multiple="1">
      <field name="gallery-image" type="media" default="" label="GALLERY_LABEL" description="GALLERY_DESC"></field>
      <field name="title-link" type="text" default="" size="40" label="GALLERY_LINK_LABEL" description="GALLERY_LINK_DESC"  />
      </fieldset>
    • Go to file: root/templates/ja_smallbiz/acm/gallery/tmpl/style-1.php
    • Look for the code which renders the image and call the link.

    I attach these 2 files so you can have a comparison.

    Then go to backend settings of this module, there will be a text field underneath the image field and simply add your desired link for each image there.

    Cheers!


    1. acm_gallery_tmpl.zip
    lukelee0223 Friend
    #1081868
    This reply has been marked as private.
    Saguaros Moderator
    #1081883

    Hi Luke,

    You can do that way with almost types of JA ACM but there are some types which need additional JS which added into template JS specific so you will need to check JS also and it’s more complicated.

    Cheers!

    lukelee0223 Friend
    #1082158
    This reply has been marked as private.
    Saguaros Moderator
    #1082304

    Hi Luke,

    You can give it a try.

    If it’s minor customization and not take time, I will try to help you out.

    Cheers!

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

This topic contains 6 replies, has 3 voices, and was last updated by  Saguaros 6 years, 4 months ago.

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