Christine Posted April 16, 2015 Share Posted April 16, 2015 I would like to put a link on a folder within the catalogue editor. What code do I need to put in the folder's custom copy field in order to achieve the following: if you click on the folder icon you leave the PTI website and are lead to the actual link. At the present if you click on the folder icon you end up within the folder and see the link which you can then click. Can anyone advise? Thanks! Link to comment Share on other sites More sharing options...
FreightTrain Posted July 23, 2015 Share Posted July 23, 2015 Christine, Yes this can be done. However, I'm only aware of this functionality associated to a custom copy for a folder on the Navigation Bar in the Catalog. See the image below: http://screencast.com/t/EmujEu0Ilz Here is the code: <meta http-equiv="refresh" content="0; URL='http://www.google.com/'" /> Hope this helps Link to comment Share on other sites More sharing options...
Ryan_B Posted July 27, 2015 Share Posted July 27, 2015 Hi Christine. This can be achieved by putting an anchor tag as the Folder Name within the catalog editor, such as <a href="https://www.google.com">Google</a> Note: If you have this folder in a navbar, it places what looks like padding to the left of the folder name. If this bothers you, you'll have to target it and fix it with CSS. Hope this helps! Link to comment Share on other sites More sharing options...
Christine Posted July 28, 2015 Author Share Posted July 28, 2015 Hi Richard and Ryan, Thanks very much for your responses. I tried both tags, but none of them is working. When I click on the folder I always end up in the (empty) folder. Any other ideas? Thanks again! Link to comment Share on other sites More sharing options...
Ryan_B Posted July 28, 2015 Share Posted July 28, 2015 Christine, Are you editing the Folder Name that you want to be a link? http://forums.pti.com/picture.php?albumid=22&pictureid=36 http://forums.pti.com/picture.php?albumid=22&pictureid=37 You may want to add a target="_blank" to the anchor tag too. This will open a new tab. If you've done this and it's still not working, I'm not sure what to suggest. I've used this method several times and have re-tested right before submitting this post. It's working for me... Link to comment Share on other sites More sharing options...
Ryan_B Posted July 28, 2015 Share Posted July 28, 2015 Christine, I reread your original post and see that you want to leave the PTI site. If this is the case, omit the target="_blank" from the anchor tag. Link to comment Share on other sites More sharing options...
Ryan_B Posted July 28, 2015 Share Posted July 28, 2015 I've discovered some unexpected behavior. When hovering over the Catalog link, you can see the folder name, as well as the html tags and classes associated with the link. Not only that, you are unable to click on the link from the dropdown. I don't remember this happening to me in the past. I'm looking into trying to find a way around it. Link to comment Share on other sites More sharing options...
Ryan_B Posted July 28, 2015 Share Posted July 28, 2015 If you add this folder to the Navigation Bar and not the catalog, this will work. Link to comment Share on other sites More sharing options...
Recommended Posts