Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2016-03-21 05:15:29

sochicomputerRU
Member
From: Россия
Registered: 2013-01-18
Posts: 61
Website

Links, anyway to display a link by its ID or NAME?

Actually I have two questions.

1) Anyway to create links based on your site_url? For example now I have test.sochicomputer.ru/search, but in the future I will have www.sochicomputer.ru/search … link to sphider search engine.

2) In my code how to show a link based on its name or id? For example <txp:link name=“search” /> or <txp:link id=“1” />

Offline

#2 2016-03-21 05:26:53

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,011
Website GitHub Mastodon Twitter

Re: Links, anyway to display a link by its ID or NAME?

You could use site_url.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

Board footer

Powered by FluxBB