Jump to content
TNG Community
Francois Richer

Link to Youtube

Recommended Posts

Francois Richer

Excuse my English: my mother tongue is French

How can I put a link in text?  I want to refer a word to an URL or to an other text or image in TNG.  In the next example I would like that by clicking on "video" we have access to a link elsewhere on the site or to a URL link

EX.:  For more information look at this video

Thank you

Share this post


Link to post
Share on other sites
jayat1familytree

Francois,

 

If the link is within your TNG

 

For more information look at this <a href="<?php echo $cms['tngpath']; ?>file_name.ext">video</a>

And you need to add the path below the TNG root folder if the file is not in the tng root folder

For more information look at this <a href="<?php echo $cms['tngpath']; ?>media/videos/file_name.ext">video</a>

 

If it is outside of TNG then

For more information look at this <a href="http://domain_name.com/file_name.ext">video</a>

 

hope that helps

Jay

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×