Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-10-04 19:01:26

alexgoesdigital
New Member
Registered: 2008-10-04
Posts: 2

Page redirection

Hi,

I have a dynamic drop down menu in my design similar to this in terms of hierarchy:

<ul>
  <li><a href="home">Home</a></li>
  <li><a href="about">Cats</a>
    <ul>
      <li><a href="profile">Siamese</a></li>
      <li><a href="history">Persian</a></li>
    </ul>
  </li>
  <li><a href="products">Dogs</a>
    <ul>
      <li><a href="plugins">Golden Retriever</a></li>
      <li><a href="coffee">Border Collie</a></li>
    </ul>
  </li>
  <li><a href="contact">Contact us</a></li>
</ul>
I have used sections for Home, Cats, Dogs and Contact us. And Siamese, Persian, Golden Retriever and Border Collie are all articles. My headache arises from wanting to have:
  • Home and Contact us as static pages
  • and for Cats and Dogs to redirect to the first child in the menu. (ie Cats->Siamese, Dogs->Golden Retriever)

Any ideas?

(edit: added bc. for better readability. -Els)

Last edited by els (2008-10-04 20:17:17)

Offline

#2 2008-10-04 20:21:25

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Page redirection

I’m not sure if you’re asking how to build the menu or how to display the right articles for the menu items?

Offline

#3 2008-10-05 02:33:29

alexgoesdigital
New Member
Registered: 2008-10-04
Posts: 2

Re: Page redirection

(thank you for the edit Els – I tried bc. but I couldn’t get textile to work. but that’s off topic)

Hi Els. I’m asking how to create a redirection from one page to another, so that when a visitor clicks on Cats for example, they go to Siamese.

Offline

Board footer

Powered by FluxBB