We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10357
    • 573 Posts
    Hi,

    i am using the slideshow embed pram, and i am having a really hard time trying to remove the link attached to each picture. I have created my own templates, but nothing seems to work.

    any ideas?
    G
      • 7923
      • 4,213 Posts
      have you tried to use the following in your galleryPictureTpl:

      	countArticle = countArticle+1;
      	mySlideData[+maxigallery.pageinfo.id+][countArticle] = new Array(
      	'[(base_url)][+maxigallery.path_to_gal+][+maxigallery.picture.filename+]',
      	'',
      	'[+maxigallery.picture.title:htmlent+]',
      	'[+maxigallery.picture.descr:htmlent+]');
      


      Eg. the picture_link_url is removed.


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 10357
        • 573 Posts
        yes, but a link to the homepage it still created.
          • 7923
          • 4,213 Posts
          Can you access the SVN repository? If you can, export the newest version from there. I have updated the smoothslideshow to smoothgallery (jon’s newest work what replaces smoothslideshow) and it’s much better templateable and has more parameters to tweak wink


            "He can have a lollipop any time he wants to. That's what it means to be a programmer."
            • 10357
            • 573 Posts
            thanks doze grin

            never checked out the svn before, i will see if i can get the latest version.
              • 10357
              • 573 Posts
              I can’t see a folder for maxigallery in the svn, jot, ditto, ajax search etc are there in the snippets folder.
                • 7923
                • 4,213 Posts
                No, It’s in the maxigallery’s svn/trac site (the stickied topic: http://modxcms.com/forums/index.php/topic,6077.0.html)


                  "He can have a lollipop any time he wants to. That's what it means to be a programmer."
                  • 10357
                  • 573 Posts
                  opps, thank you rolleyes