I am rather new at using panels. However, I have had a similar problem before with substitutions and I think the problem I am having in related to keyword substitution or the context set up. Maybe someone can teach me how this thing works.

I am attempting to create a new mini panel. What I want to do is.

1. Display the book parent title of a book inside the mini-panel when the user is viewing a child page or parent of the book.

I am having issues trying to implement this because I do not understand how the `context`portion of the mini-panels works.

In context I set up the following three variable :
token --> identifier token
keyword %book_parent
node --> identifier node
keyword %book_parent

relationship --> Book Parent
node --> node
identifier --> Book Parent
keyword --> %book_parent:title
relationship type --> top level

then I update/save the setting and open the 'content' screen.

I go to the top row of the mini panel and create new content.
I then select Node(token) --> book
select Node --> book parent
override title off

I do get a display inside the mini-panel. However the title displayed is of the child page that is being viewed.

I tried something else as well... I changed the overwrite title option to display the book parent using the keyword %book_parent:title. This did not change the display I am still seeing a title in the mini-panel of the child page being viewed.

I am sure that my issue is with the context section of the mini-panel set up.... it is the section I least understand.

Can anyone help?

Spineless

Comments

spineless’s picture

Status: Active » Closed (fixed)

I set up a new view for each condition and just listed all of the views in the panel. Worked well.