Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-08-25 12:22:10

pedronx
Member
From: Poland
Registered: 2006-01-20
Posts: 18
Website

Link to section with span problem

Helo
I need something like this:

<code> <li> <a href=“link to section”> <span> section name </span> </li> </code>

I can’t do that with normal txp:section tag. Is there any plugin to solve this?

Please help
Thanks
Pedronx

Offline

#2 2006-08-25 13:08:17

mstwntd
Member
From: Melbourne, Australia
Registered: 2004-12-25
Posts: 52

Re: Link to section with span problem

Hi Piotr,

Sure you can.

<a href="<txp:link_to_home /><txp:section link="0" title="0" />"><span><txp:section link="0" title="1" /></span></a>

Offline

#3 2006-08-25 13:23:45

pedronx
Member
From: Poland
Registered: 2006-01-20
Posts: 18
Website

Re: Link to section with span problem

Amazing and simple!!!
I love textpattern;)
thanks a lot mstwntd
BR
Pedronx

Offline

#4 2006-08-25 14:13:42

TNT
Member
From: Rotterdam, Netherlands
Registered: 2006-01-06
Posts: 256
Website

Re: Link to section with span problem

But you wouldn’t need the span now, would you? I’m a little confused…


Prrrrrrrr

Offline

#5 2006-08-25 14:40:12

mstwntd
Member
From: Melbourne, Australia
Registered: 2004-12-25
Posts: 52

Re: Link to section with span problem

TNT wrote:

But you wouldn’t need the span now, would you? I’m a little confused…

Maybe the <span> was needed for some tricky styling. Say, like fluid navigation tabs with rounded corners. ;)

Last edited by mstwntd (2006-08-25 14:41:24)

Offline

#6 2006-08-25 16:39:02

TNT
Member
From: Rotterdam, Netherlands
Registered: 2006-01-06
Posts: 256
Website

Re: Link to section with span problem

Ah, I understand.

Tricky styling… Cool! :-)


Prrrrrrrr

Offline

Board footer

Powered by FluxBB