PDA

View Full Version : Modify Footer Template Code so NavBar Button Points to Different Website


alfuzzy
04-01-2019, 03:44 PM
Here's a line of code in my sites footer template that controls the name & function in a footer navbar:

<li><a href="//mediakit.inetinteractive.com/<vb:if condition="$inet_mediakit_link = INET_MEDIAKIT_LINK">{vb:raw inet_mediakit_link}</vb:if>">Advertise</a></li>

Currently this button & link in the footer navbar is called "Advertise"...and it points to an old website link I want to change to something else.

If I wanted to change this line of code so it points to a different website address (for example msn.com)...what would I need to do...or how would I modify this line of code?

Thank you:)

scottkoz20
04-02-2019, 12:32 AM
what is that conditional doing?

If the link to mediakit is dormant, I would just change the link and remove the conditional


<li><a href="LINK HERE">Advertise</a></li>

alfuzzy
04-02-2019, 01:15 AM
Thanks very much Scottkoz20...that worked perfectly!:)

Not really sure what the conditional was doing (it was setup by someone else a long time ago). The link is outdated (not needed)...thus wanted to get rid of it.

Thanks again.:)