I have a channel "Page".

In the page channel, I have following fields where {assign_parent_page} is a relationship field http://puu.sh/81UAe.png that I have made so as I can assign the channel entry as sub entry for another channel entry. I.e In the PAGE channel, if i have suppose 10 enteries, I want that entry 2 to be a sub entry for entry 1. So, in to obtain this, I made a relationship field ("For eg: sub page in WORDPRESS")


In my template, I am using this code as

{exp:channel:entries channel="page"}

But the output , I am getting is http://puu.sh/81UqV.jpg {assign_parent_page} {assign_parent_page:title} {/assign_parent_page}

Can anyone please help me how to display a relationship field.

Any help is really appreciated.

  • It doesn't look like your regular title and page_body are showing up. Are you sure that your channel entries tags are outputting correctly? Apr 9, 2014 at 14:25
  • Yes, title and body are showing up correctly. Infact, all other fields are showing except the {assign_parent_page}
    – user930026
    Apr 9, 2014 at 16:33
  • Is you relationship field single or multiple? Apr 9, 2014 at 19:15


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.