Hello everyone. I need help about block visibility to anonymous user. I allowed Anonymous user to create a node (I called the content type Dictionary). I created a block and set the visibility option to Anonymous. I want this block to be visible only when a user click a link defined by Freelinking module. If the node was already created for that term, the link will go directly to the node but if it is not yet created the user will to "Create Dictionary Form" with the following URL: node/add/dictionary?edit[title]=TERM, where TERM is the keyword highlighted by Freelinking module.

I tried the following in block admin: (Show on only the listed pages.)

/node/add/dictionary*
(the block will show both in /node/add/dictionary and node/add/dictionary?edit[title]=TERM)

node/add/dictionary?edit[title]=*
(The block won't show)

node/add/dictionary
(the block will show both in node/add/dictionary and node/add/dictionary?edit[title]=TERM)

I need the block to show only in this path node/add/dictionary?edit[title]=TERM not in here node/add/dictionary.

Any suggestion? I think this can be done by php but I can't code php.

Comments

jhun vert’s picture

Any suggestion? I really need this to happen. Here is my link:

http://dictionary.mathalino.com/definition/geometry/8/regular-polyhedron

If you click the word Platonic Solids you will go to the page:

http://dictionary.mathalino.com/node/add/dictionary?edit[title]=Platonic...

I need a block to be shown at the "content top" region for the pages similar to the page above. I tried many combination of block visibility under "Show on only the listed pages" but it did not work. Please help.

dilovan’s picture

well, this http://drupal.org/project/cck_blocks could really help. waiting forward to test it.

dilovan’s picture

subscribing