Hi!
I made a block view, that displays only for some kind of content (e.g. article), so on the pages whose addresses are /articles/any_article.
I made a page view that lays underneath an article content (e.g. at /articles/any_article/my_view) and that uses "any_article" as argument to display things related to "any_article".
I would like to place a link in the header or footer of the block view, that links to the view at ./my_view
I can't manage that... using href="my_view" or href="./my_view" or any token like "[node:nid]" or "[node:url]" doesn't work :
- "my_view" links to root_url/my_view (is that considered as a bug?)
- the token are not replaced (or the tokens of the first row are used if the corresponding box is checked)
Thanks!
Comments
Comment #1
Grumot commentedI circled the problem by using the "more" link in the block view and a "node/%/my_view" address for the page view.
If somebody would ever solve the previous problem, I am nevertheless interested!
Comment #2
dawehnerNot really because this is how html works if you have a relative path.
You could use a custom area handler which allows you then to add any kind of custom stuff into the header if you want.
Sadly this isn't documented that well at the moment.
Comment #3
Grumot commentedHi Dereine,
Thanks for your answer
You could use a custom area handler
Is it php in any case, thus?
Comment #4
dawehnerYes it is.
Comment #5
dawehnerThat's actually more of a support question.
Mark as fixed because of no response from the author.
Comment #7
hedel commentedJust for future readers - there is Views link area module: