Neighbors block

43 views
Skip to first unread message

Marius Marus

unread,
May 20, 2013, 7:56:24 AM5/20/13
to cro...@googlegroups.com
Hi

i have a block with [node:article_neighbors find="neighbors" conditions="Node.type:blog" limit="2"]


what should i do to find the current node (blog) neighbors?

Thib

unread,
Jun 10, 2014, 4:00:30 AM6/10/14
to cro...@googlegroups.com
Need it too. Anyone ?

Rachman Chavik

unread,
Jun 10, 2014, 10:08:11 PM6/10/14
to cro...@googlegroups.com
On Tue, 10 Jun 2014 01:00:30 -0700, Thib wrote:

> Need it too. Anyone ?

In your layout/view:

debug($this->viewVars['nodes_for_layout']);
> --


Marus

unread,
Jun 19, 2014, 8:57:36 AM6/19/14
to cro...@googlegroups.com
You can't set the ID in that block, so you can't find neighbors this way ( [node:article_neighbors find="neighbors" conditions="Node.type:blog"]) .



--
--
You received this message because you are subscribed to the Croogo mailing list.
To post to this group, send email to cro...@googlegroups.com
To unsubscribe from this group, send email to
croogo+un...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/croogo?hl=en
Visit the official website at http://www.croogo.org

---
You received this message because you are subscribed to a topic in the Google Groups "Croogo" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/croogo/xDI1c7Yzoyg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to croogo+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
---------------------
Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such a case, you should destroy this message and kindly notify the sender by reply e-mail.
Reply all
Reply to author
Forward
0 new messages