Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2008-11-27 08:49:11
- myplaces
- New Member
- Registered: 2008-11-27
- Posts: 1
how to create external link, that appears in main navigation?
I understand that in admin is links, where i can create external links. And in admin are sections and categories where i can create internal links.
I need to create external link, that is listed in main navigation. For example
About (internal link)
Link to external page
Articles (internal link)
Now I can create internal and external links block, but these are separeted
I do not understand how to create
Internal link
External link
Internal link
External link
I can only
Internal link
Internal link
External link
External link
Please help how to do it
Offline
Re: how to create external link, that appears in main navigation?
are about and articles links to sections?
if so you could do something like:
<ul>
<txp:section name="about" link="1" wraptag="li">
<li><a href="something">external</a></li>
<txp:section name="articles" link="1" wraptag="li">
</ul>
~~~~~~~~~~~~~| monolinea.com | pixilate.com | istockphoto.com/kemie |~~~~~~~~~~~~~
Offline
Re: how to create external link, that appears in main navigation?
A minor correction to kemie’s code
<txp:section name="about" link="1" wraptag="li" />
(notice the closing slash)
Last edited by maniqui (2008-11-27 20:06:42)
Offline