Since the past few days I unsuccessfully try to create a context Iam looking for a helping hand.
The following is the case. I use D7, Omega theme, Views, Context, Delta WYSIWYG and Token module. In Views I have created a page with the "Path: / node /% / overview". This View Also got the "Fields: Content: Nid, Content: Title, Content: Edit Link and Content: Delete Link". In the "Fields: Content: Edit link" the Rewrite results are 'Output this field as a link' ".
This view is linked to a menu with Token "Path: node / [current-user: uid] / overview". The concept provides a list of titles of articles are created by a user. Every rule has an Edit link to the full article placed in a textarea with CKEditor.
My problem is that I am unable to give a Delta as a Reaction so that on the page with the entire article in both sidebars blocks are placed. It seems like the path can´t be reached with "Path: asterix-overview".
Obviously I hold myself to a solution searched but could not find anything.
Does anyone have a clue or a better idea? Thanks in advance!
Comments
Take a look at
Take a look at http://drupal.org/project/subpathauto or http://drupal.org/project/path_alias_xt
They should help you register that subpage.
I'm unique, just like everybody else.
If I helped, please pay it forward, backward or sidelong.
Have to dive into it
Thanks for the quick reply.
I have read the description of both modules and I understand the intention: the modules are interesting. I will dive into it this weekend and I come back here to share my findings.
Does it give you energy or take it away? That's the question!
What if you use
What if you use node/*/overview for the path?
Nope but thanks
The path is still not working but thanks anyway. It gave me the inspiration to use Conditions to try to refer to the specific node type. This is working fine and seems to solve the problem, however, limited in my case the possibilities. Along with the suggestion of NotGoddess I continue to try this weekend.
Does it give you energy or take it away? That's the question!
Reply back with what you
Reply back with what you finally ended up doing- I can see others needing something similar and your experience with it will help.
I'm unique, just like everybody else.
If I helped, please pay it forward, backward or sidelong.
Sure
I will do that
Does it give you energy or take it away? That's the question!
Solution
In "Views > Fields > Content: edit link created" instead of using "Output this field as a link" I chose "Rewrite results > Rewrite the output of this field". In the textarea, I have the following html posted: "
<a class="automodal" href="/node/[nid]/edit"> Edit </ a>". This gives the path "node / * / edit" like the path Nevets sugessted "node / * / overview". Handling the Delete is pretty much the same. Only the html is now<a class="automodal" href="/node/[nid]/delete"> Delete </ a>". These three paths are used in several different Context as "Conditions > Path" to the corresponding Delta to choose. In "Delta > Toggle advanced elements" I have the page element "Tabs" disabled. Normally, this will give us two sub tabs "View" and "Edit". Because of the WYSIWYG Editor the user sees immediately how the content will look like and the "View" and "Edit" tab will be obvious redundant.In order to redirect the user after the delete function, I used the Rule module to redirect the user. It is my intention to use the Pathauto module NotGoddes called for end-use paths.
In my first article I wrote about my concept. With above solution, it is possible for each individual page in order to place different blocks which relate to the specific page.
Thanks to everyone for the kind help.
Does it give you energy or take it away? That's the question!