Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2012-07-13 21:53:52
- lucass
- Member
- Registered: 2012-07-07
- Posts: 21
Relative URLs
Hi everyone,
Is it possible to make the URLs relative without using a plugin? (link)
Thanks!
Last edited by lucass (2012-07-13 21:54:04)
Offline
Re: Relative URLs
"$":/
"$":lib
"$":/lib
"$":bla/lib
Try that on textile.sitemonks.com/ (Textile 2.2, The newest is 2.4).
Or which URL are you asking for?
Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML
Offline
#3 2012-07-14 14:45:40
- lucass
- Member
- Registered: 2012-07-07
- Posts: 21
Re: Relative URLs
Hi Markuz,
all of them. I like to keep the source code as clean as possible ;)
Offline
Re: Relative URLs
lucass wrote:
all of them. I like to keep the source code as clean as possible ;)
Hi Licas,
no, you cannot do it without the use of a plugin.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: Relative URLs
Guys, the code above produces relative URLs. Check HTML source code (Or am I missing something?).
Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML
Offline
Re: Relative URLs
Hi Markus,
I guess that Lucas also wants relative urls in such lists as <txp:article_custom><txp:permlink><txp:title /></txp:permlink></txp:article_custom>
.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: Relative URLs
you could always construct your own permlinks according to the permlink structure you’re using, e.g.:
<txp:article_custom>
<a href="/<txp:section />/<txp:article_url_title />" title="Permlink to ‘<txp:title />’"><txp:title /></a>
</txp:article_custom>
TXP Builders – finely-crafted code, design and txp
Offline
Re: Relative URLs
lucass Relative URLs are not such a great idea eg in articles read via (online) RSS reader/parser.
Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML
Offline
Pages: 1