[Typo3] Previous page, doesn't make any sence (?)

Iona iona at telia.com
Sun Feb 20 12:51:07 CET 2005


Hi again,

thought I found the correct solution for my previous questions, but it won't
really work by some reason.
Please, would anyone want to explain what I'm doing wrong?

Suppose my pagetree looks like this:

root
|__ page1
      |__ page2
            |__ page3

I want to link to a previous page, so when I'm visiting "Page 3" and press
the link "Tillbaka", I'll go to "Page 2".
If I press the link "Tillbaka" in "Page 2", I'll go to Page 1.

So, I've been using this code:

------------------------------
temp.back = HMENU
temp.back.special = browse
temp.back.special {
   items = up
   up.fields.title = Tillbaka
}

temp.back.1 = TMENU
temp.back.1 {
  target = content
  collapse = 1
  wrap = <table border="0" table width = 100%> | </table>
  NO {
    allWrap =  <TR><TD height="15"> | </TD></TR>
    ATagBeforeWrap = 1
    linkWrap = <img border="0" src="fileadmin/frames/dot.gif" hspace="6"
width="6" height="6"> |
  }
}
--------------------------

But by some reason the link will go to a page two levels above. When I press
the link "Tillbaka" on "page 3", I'm ending up at "Page 1".
How come? It doesn't make any sence to me.

I would really appreciate any help.

Sincere,
Iona





More information about the TYPO3-english mailing list