Hi

I hope you can help me. I've downloaded your module on the hope that I might be able to do the following and I need to know if this is possible as I'm not quite sure how to use it (I'm pretty new at this so hope it's not a dumb question):

I want to have two blocks - more or less exactly the same - that show different text in the main content area depending on whether the user is on a 'edit' page or the 'view' page.

At the moment in terms of the block's 'visibility settings' I have the 'edit' based block view as 'my_page_URL'/*/edit which does exactly what I want to do (show the block contact on 'edit' page only). However the issue I have is that I am finding it almost impossible to get the other block to show on the 'view' page only. Basically what ever I do in terms of page path combinations for the second block which is only meant to show on the page 'view' the text then shows in both the 'view' and 'edit' page. Can your system allow for this separate requirement and if so how should I write the URL in the 'visibility settings - pages'?

So to be clear, I have 2 blocks with slightly different text that should be shown depending on whether the user is in an 'edit' view or a 'view' view.

Hope you can help

Stephen

Comments

SolomonGifford’s picture

Status: Active » Closed (works as designed)

I don't think you need my module for this - if I understand the question correctly, Drupal supports the path natively. This module would support your needs if you had the following:

my_page_URL?showblock1=true
my_page_URL'/*/edit?showblock2=true

However, I'm assuming thats not what you want.