Hyperlink Text in Sightly Page Component | Community
Skip to main content
Prince_Shivhare
New Participant
May 3, 2017
Solved

Hyperlink Text in Sightly Page Component

  • May 3, 2017
  • 3 replies
  • 2014 views

Hi Community,

I have one page component in which I have some menu items.

I want to add hyperlink (href) on this like in Home Page using Sightly code. I tried using <a href='geometrixx/en.html' @ scheme='http', extension='html'">Home</a> 

but its not working. Can you please help me to make it clickable so that it will redirect to some other page like in http://localhost:4502/content/geometrixx-outdoors/en.html when you click on Men's on Menu.

~ Prince

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Feike_Visser1

Expressions are done like this:

${ pageYouWantToLinkTo @ extension='html'}

3 replies

edubey
New Participant
May 3, 2017

This should work

 <a href="${ pageYouWantToLinkTo @ extension='html'}"  >My Page</a>

Prince_Shivhare
New Participant
May 3, 2017

Hi Feike,

Thanks for reply.

It would be great if you will give any example.

~ Prince

Feike_Visser1
Feike_Visser1Accepted solution
Employee
May 3, 2017

Expressions are done like this:

${ pageYouWantToLinkTo @ extension='html'}