Viewing 15 posts - 1 through 15 (of 16 total)
  • Author
    Posts
  • koylyrasf Friend
    #940573

    How can I make the link on image slider to go to the specific page?
    Now, the default is to open the current image in a new page.

    Ninja Lead Moderator
    #940669

    Hi,

    The link on image slider goes to the detailed article page and not option to add the specific page on JA Content Slider module.

    If you want to make that custom, you can do that directly modules/mod_jacontentslider/tmpl/default.php file

    Regards

    koylyrasf Friend
    #942156

    in line 212 I can’t see any anchor.

    How can I delete anchor of each image?

    Ninja Lead Moderator
    #942282

    I could not see the code show anchor on JA Content Slider module, maybe you need to check the content from the article on your site.

    koylyrasf Friend
    #942746

    What I need is on the image slider that I have to http://imlc2016piraeus.gr/index.php/en/ the images will not be linkable.

    How can I do this?

    Ninja Lead Moderator
    #942800

    This way will help you to do that, please add my JS script below to templates/ja_university_t3/js/script.js

    /*remove link under JA Content Slider module*/
    $(".ja-contentslider-center .ja_slideimages .ja_slideimages_inner .content a").bind('click', function(e){
          e.preventDefault();
    });
    
    $(".ja-contentslider-center .ja_slideimages .ja_slideimages_inner .content a").removeAttr("href");

    1. Screen-Shot-2016-06-22-at-15.48.36
    koylyrasf Friend
    #942966

    I add it but the link of each image of the slider is exist.

    I don’t want image on images of the slider.

    Also the navigation of the slider is not work.

    Ninja Lead Moderator
    #943081

    I checked the JS script to http://imlc2016piraeus.gr/templates/ja_university_t3/js/script.js on your site and see it’s not correct, see my highlight


    1. Screen-Shot-2016-06-23-at-09.16.34
    koylyrasf Friend
    #943424

    Can you please explain me briefly of what I have to do for having what I need?

    Ninja Lead Moderator
    #943532

    I fixed that and you can download and extract my attached file and copy it to templates/ja_university_t3/js/ folder


    1. script.js_.zip
    koylyrasf Friend
    #943573

    ok thank u i can see that now the images are not clickable as i want but the navigation of the slider is not working. can u see it?

    Ninja Lead Moderator
    #943632

    @koylyrasf: I see it’s not working before applying my solution, please give me admin login backend of your site and FTP account via private reply. I will help you to check this directly on your site.

    koylyrasf Friend
    #943678
    This reply has been marked as private.
    Ninja Lead Moderator
    #943683

    I changed the configuration from the backend of your site with Number of articles to Display to 7, see the screenshot. Now, you can see it’s working as well


    1. Screen-Shot-2016-06-24-at-16.56.45
    baijianpeng Friend
    #969697

    Why you need to modify the file /templates/ja_university_t3/js/script.js to remove link attribute from images on this module? Why can’t we just modify the php file of this module itself to do this?

    Today I tried to use "html override" for this module to turn off links on images inside this module, but I can not find any link code for images in its php file.

    I think you need to improve this module: just add a new option: "linkable image: yes / no", just like the existing option" linkable title".

    Thank you.

Viewing 15 posts - 1 through 15 (of 16 total)

This topic contains 15 replies, has 3 voices, and was last updated by  Ninja Lead 7 years, 7 months ago.

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