Adding an "argument" via panels, and a %.

Status: 
Open
Question: 

Hello All,
I am currently building a Community Website via the Drupal 6 Ultimate Community Guide E-Book, and it's going well, but some of the content is out-of-date, or I simply can't find it.

I am currently working on a section which deals with tweaking user profiles, and I am provided the following instructions. Note this is using the "Panels" system.

"6. Define a context: add the argument3 “node ID” (fig 4.6), select the
content type Profile (for content type and own display)."

I can not figure how how to add said argument, any suggestions?

I am also given this instruction

"Here is the tricky part: set the path to “node/%”, by doing this all of
the node/3, node/4, node/5, . . . pages will be replaced by this panel,
and the argument % will be passed to the panel."

And get this error....

"You cannot have an unnamed placeholder (% or ! by itself). Please name your placeholder by adding a short piece of descriptive text to the % or !, such as %user or %node"

I ultimately said this to node/$nodefoo

Any help on either of these issues would be most welcome. For those who own the guide, refer to page 48/49 to see the instructions for yourself.

Thanks
Devon

Responses

1. Hi, Please refer to this

Hi,

Please refer to this post: http://drupalfun.com/content/converting-panels-3

2. Hi Devon, "6. Define a

Hi Devon,

"6. Define a context: add the argument3 “node ID” (fig 4.6), select the
content type Profile (for content type and own display)."

I can not figure how how to add said argument, any suggestions?

--> replaced by creating a variant called 'profile', viewed content is of content type profile (context-argument)

I am also given this instruction

"Here is the tricky part: set the path to “node/%”, by doing this all of
the node/3, node/4, node/5, . . . pages will be replaced by this panel,
and the argument % will be passed to the panel."

And get this error....

"You cannot have an unnamed placeholder (% or ! by itself). Please name your placeholder by adding a short piece of descriptive text to the % or !, such as %user or %node"

I ultimately said this to node/$nodefoo

--> No need for that, just enable the node_view that;s already existant.

3. Creating a panel page?

Hello Dorien,

Are you saying to create a new panel page and name it Profile, giving it the path node/$nodefoo or are you saying to edit the existent node_view for the profile?

Can you repeat steps for the section 4.3 to correspond to the stable latest release of Panels (3.7), please?

For example, do I use the path node/nodefoo on /admin/build/pages/add ?

If I click on the gear to add content to the right column at /admin/build/pages/add/page-profile/content, and choose add content, then Existing Node, what NID do I enter in the box that pops up?

If I have a summary for the Variant Profile, what values to I enter in the Contexts, Selection Rules or any of the criteria?

Thanks

4. edit the existing view. The

edit the existing view.

The second edition offers a full guide on the latest edition of panels.