Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-01-23 21:12:45

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,373

Output section link containing an anchor

Is there a tidy method of producing a link to a section containing a page anchor?

For example to output: http://www.example.com/mysection#middleofpage

I can create a link manually but I was hoping for something along the lines of:

<txp:section link="1" name="mysection" anchor="middleofpage" />

which would follow the “Permanent link mode” setting in Preferences.

Thanks and a Happy New Year to all in TXP World.

Offline

#2 2009-02-01 09:22:35

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,373

Re: Output section link containing an anchor

I couldn’t think of one either, so adi_link to the rescue …

Offline

Board footer

Powered by FluxBB