I would like to achieve the functionality shown in this theme at http://www.styleshout.com/templates/preview/CoolBlue10/index.html?PHPSESSID=... in a view where you have the main node contents in the main column, and then other items (such as user name, post date, taxonomy terms, etc.) in a block on the side. I need to do have this block both for each item in the view that lists all of the nodes, and also for the node display. Is this only possible with panels, or are there other ways to do it? I found the views_attachment_block module, but it will only attach the blocks list page, and won't work for the node display, and I'm not sure how I could get one block to line up with its respective node in Panels, since you usually just list the entire view in a pane, and can't repeat panes in a pattern.
Any suggestions welcome. I'm sure there's a way to do it; it's just not coming to my mind.
Thanks.
Steve
On Mon, May 31, 2010 at 9:29 AM, Steve Edwards killshot91@gmail.com wrote:
I would like to achieve the functionality shown in this theme at http://www.styleshout.com/templates/preview/CoolBlue10/index.html?PHPSESSID=... in a view where you have the main node contents in the main column, and then other items (such as user name, post date, taxonomy terms, etc.) in a block on the side. I need to do have this block both for each item in the view that lists all of the nodes, and also for the node display. Is this only possible with panels, or are there other ways to do it? I found the views_attachment_block module, but it will only attach the blocks list page, and won't work for the node display, and I'm not sure how I could get one block to line up with its respective node in Panels, since you usually just list the entire view in a pane, and can't repeat panes in a pattern.
Any suggestions welcome. I'm sure there's a way to do it; it's just not coming to my mind.
Thanks.
Steve
[ Drupal support list | http://lists.drupal.org/ ]
Have you checked out the author pane module ? Check this post on my site: http://www.itech7.com/Linux/How-to-reposition-the-minimize-maximize-and-clos... Is it that what you want ?
That post is about Linux, so I'm not sure what I should get out of that. :-P
As for author_pane, it's similar, but that gets author data, and I need data that is part of the node itself, not who wrote it.
Thanks.
Steve
On May 30, 2010, at 9:06 PM, Nilesh Govindarajan wrote:
On Mon, May 31, 2010 at 9:29 AM, Steve Edwards killshot91@gmail.com wrote:
I would like to achieve the functionality shown in this theme at http://www.styleshout.com/templates/preview/CoolBlue10/index.html?PHPSESSID=... in a view where you have the main node contents in the main column, and then other items (such as user name, post date, taxonomy terms, etc.) in a block on the side. I need to do have this block both for each item in the view that lists all of the nodes, and also for the node display. Is this only possible with panels, or are there other ways to do it? I found the views_attachment_block module, but it will only attach the blocks list page, and won't work for the node display, and I'm not sure how I could get one block to line up with its respective node in Panels, since you usually just list the entire view in a pane, and can't repeat panes in a pattern.
Any suggestions welcome. I'm sure there's a way to do it; it's just not coming to my mind.
Thanks.
Steve
[ Drupal support list | http://lists.drupal.org/ ]
Have you checked out the author pane module ? Check this post on my site: http://www.itech7.com/Linux/How-to-reposition-the-minimize-maximize-and-clos... Is it that what you want ?
-- Nilesh Govindarajan Facebook: nilesh.gr Twitter: nileshgr Website: www.itech7.com -- [ Drupal support list | http://lists.drupal.org/ ]
On Mon, May 31, 2010 at 9:50 AM, Steve Edwards killshot91@gmail.com wrote:
That post is about Linux, so I'm not sure what I should get out of that. :-P
As for author_pane, it's similar, but that gets author data, and I need data that is part of the node itself, not who wrote it.
Thanks.
Steve
On May 30, 2010, at 9:06 PM, Nilesh Govindarajan wrote:
On Mon, May 31, 2010 at 9:29 AM, Steve Edwards killshot91@gmail.com wrote:
I would like to achieve the functionality shown in this theme at http://www.styleshout.com/templates/preview/CoolBlue10/index.html?PHPSESSID=... in a view where you have the main node contents in the main column, and then other items (such as user name, post date, taxonomy terms, etc.) in a block on the side. I need to do have this block both for each item in the view that lists all of the nodes, and also for the node display. Is this only possible with panels, or are there other ways to do it? I found the views_attachment_block module, but it will only attach the blocks list page, and won't work for the node display, and I'm not sure how I could get one block to line up with its respective node in Panels, since you usually just list the entire view in a pane, and can't repeat panes in a pattern.
Any suggestions welcome. I'm sure there's a way to do it; it's just not coming to my mind.
Thanks.
Steve
[ Drupal support list | http://lists.drupal.org/ ]
Have you checked out the author pane module ? Check this post on my site: http://www.itech7.com/Linux/How-to-reposition-the-minimize-maximize-and-clos... Is it that what you want ?
-- Nilesh Govindarajan Facebook: nilesh.gr Twitter: nileshgr Website: www.itech7.com -- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
You could use a view based block to extract the teaser and taxonomy probably.
I don't know that you need to do anything special with panels and/or blocks. Just format your node output as desired, with the metadata to the side of the main node title and body. When I look at that page, I see a single sidebar on the right, and a nicely formatted list of nodes as the main content (your view). You probably want to look into node.tpl.php or node-<content_type>.tpl.php
-Benj www.benjfredrick.com
On Sun, May 30, 2010 at 9:59 PM, Steve Edwards killshot91@gmail.com wrote:
I would like to achieve the functionality shown in this theme at http://www.styleshout.com/templates/preview/CoolBlue10/index.html?PHPSESSID=... a view where you have the main node contents in the main column, and then other items (such as user name, post date, taxonomy terms, etc.) in a block on the side. I need to do have this block both for each item in the view that lists all of the nodes, and also for the node display. Is this only possible with panels, or are there other ways to do it? I found the views_attachment_block module, but it will only attach the blocks list page, and won't work for the node display, and I'm not sure how I could get one block to line up with its respective node in Panels, since you usually just list the entire view in a pane, and can't repeat panes in a pattern.
Any suggestions welcome. I'm sure there's a way to do it; it's just not coming to my mind.
Thanks.
Steve
[ Drupal support list | http://lists.drupal.org/ ]
It's not really a block that you're looking for I think, but rather just lay the node out using it's template to put some of the info in a left column and some of the info in a right column. In the example you give what looks like a block to the left is really only styled content (i.e. part of the node).
Anthony.
On 6:59 AM, Steve Edwards wrote:
I would like to achieve the functionality shown in this theme at http://www.styleshout.com/templates/preview/CoolBlue10/index.html?PHPSESSIDR... in a view where you have the main node contents in the main column, and then other items (such as user name, post date, taxonomy terms, etc.) in a block on the side. I need to do have this block both for each item in the view that lists all of the nodes, and also for the node display. Is this only possible with panels, or are there other ways to do it? I found the views_attachment_block module, but it will only attach the blocks list page, and won't work for the node display, and I'm not sure how I could get one block to line up with its respective node in Panels, since you usually just list the entire view in a pane, and can't repeat panes in a pattern.
Any suggestions welcome. I'm sure there's a way to do it; it's just not coming to my mind.
Thanks.
Steve
If you work with field display in views, just provide the necessary fields for each item. Then click on theme information to get the available template files for the view and choose the one where you can layout the fields.
Alternatively I think you could also use http://drupal.org/project/ds, see also http://mustardseedmedia.com/podcast/episode40 and http://mustardseedmedia.com/podcast/episode41 if you prefer to achieve this layout via an interface instead of code.
Hans
On 6:59 AM, Steve Edwards wrote:
I would like to achieve the functionality shown in this theme at
http://www.styleshout.com/templates/preview/CoolBlue10/index.html?PHPSESSIDR... a view where you have the main node contents in the main column, and then other items (such as user name, post date, taxonomy terms, etc.) in a block on the side.
I had forgotten about Display Suite. It turned out to be pretty simple to create both layouts with DS. For the block, I just had to specify a default argument of the nid from the URL, create it as a DS field, and add it to my display. For the list page, I just created the layout as a custom build mode, and then set that build mode as the row style in the view. DS is pretty impressive.
Thanks.
Steve
On May 31, 2010, at 7:17 AM, KOBA | Hans Rossel wrote:
If you work with field display in views, just provide the necessary fields for each item. Then click on theme information to get the available template files for the view and choose the one where you can layout the fields.
Alternatively I think you could also use http://drupal.org/project/ds, see also http://mustardseedmedia.com/podcast/episode40 and http://mustardseedmedia.com/podcast/episode41 if you prefer to achieve this layout via an interface instead of code.
Hans
On 6:59 AM, Steve Edwards wrote:
I would like to achieve the functionality shown in this theme at http://www.styleshout.com/templates/preview/CoolBlue10/index.html?PHPSESSIDR... in a view where you have the main node contents in the main column, and then other items (such as user name, post date, taxonomy terms, etc.) in a block on the side.
-- Hans Rossel KOBA Webdesign bvba Beukenlaan 56 9051 Gent (Sint-Denijs-Westrem) Belgium BTW 0817.931.516 +32.9.334.52.60 +32.472.79.32.16 www.koba.be info@koba.be -- [ Drupal support list | http://lists.drupal.org/ ]
Hello, Steve,
As others have pointed out, you have two viable options here:
1. via the theming layer, override the node display 2. using views, create a view that highlights the fields/data you want, and display it in a block alongside the node. You'd need to set an argument that grabbed the nid via the URL
Using the view would give the end user more options over time; that may or may not be a good thing, depending on the context ;)
Cheers,
Bill
On 5/30/10 8:59 PM, Steve Edwards wrote:
I would like to achieve the functionality shown in this theme at http://www.styleshout.com/templates/preview/CoolBlue10/index.html?PHPSESSID=... in a view where you have the main node contents in the main column, and then other items (such as user name, post date, taxonomy terms, etc.) in a block on the side. I need to do have this block both for each item in the view that lists all of the nodes, and also for the node display. Is this only possible with panels, or are there other ways to do it? I found the views_attachment_block module, but it will only attach the blocks list page, and won't work for the node display, and I'm not sure how I could get one block to line up with its respective node in Panels, since you usually just list the entire view in a pane, and can't repeat panes in a pattern.
Any suggestions welcome. I'm sure there's a way to do it; it's just not coming to my mind.
Thanks.
Steve
Bill,
I like the views approach better, too, and I had tried what you suggested, but I can't get it to work. I have a pathauto rule for blog nodes of blog/[title-raw], I created a block display with Node:nid as the argument, put it in the sidebar, and in the block settings I set it to show only on blog/* pages,
but it's not showing up. I have a feeling it has something to do with Views really seeing node/%nid, not blog/%title, but I'm not sure how to get around that.
However, I have noticed (as someone else pointed out) that the layout is basically just a two column layout with the left block actually being part of the content area, so I'll probably just go the theming route for the view and the node display.
Thanks.
Steve
On May 31, 2010, at 7:56 AM, Bill Fitzgerald wrote:
Hello, Steve,
As others have pointed out, you have two viable options here:
- via the theming layer, override the node display
- using views, create a view that highlights the fields/data you want,
and display it in a block alongside the node. You'd need to set an argument that grabbed the nid via the URL
Using the view would give the end user more options over time; that may or may not be a good thing, depending on the context ;)
Cheers,
Bill
On 5/30/10 8:59 PM, Steve Edwards wrote:
I would like to achieve the functionality shown in this theme at http://www.styleshout.com/templates/preview/CoolBlue10/index.html?PHPSESSID=... in a view where you have the main node contents in the main column, and then other items (such as user name, post date, taxonomy terms, etc.) in a block on the side. I need to do have this block both for each item in the view that lists all of the nodes, and also for the node display. Is this only possible with panels, or are there other ways to do it? I found the views_attachment_block module, but it will only attach the blocks list page, and won't work for the node display, and I'm not sure how I could get one block to line up with its respective node in Panels, since you usually just list the entire view in a pane, and can't repeat panes in a pattern.
Any suggestions welcome. I'm sure there's a way to do it; it's just not coming to my mind.
Thanks.
Steve
-- [ Drupal support list | http://lists.drupal.org/ ]
Not sure if this is what you are looking for but it might help:
http://mustardseedmedia.com/podcast/episode39
There are a couple before this one that expand it a little.
Hi,
When you work with block, you need to put PHP argument for Node:nid like this :
if (arg(0) == 'node' && is_numeric(arg(1))) { return arg(1); }
Florent,
On Mon, 31 May 2010 10:37:19 -0700, Steve Edwards killshot91@gmail.com wrote:
Bill,
I like the views approach better, too, and I had tried what you
suggested,
but I can't get it to work. I have a pathauto rule for blog nodes of blog/[title-raw], I created a block display with Node:nid as the argument, put it in the sidebar, and in the block settings I set it to show only
on
blog/* pages,
but it's not showing up. I have a feeling it has something to do with Views really seeing node/%nid, not blog/%title, but I'm not sure how to
get
around that.
However, I have noticed (as someone else pointed out) that the layout is basically just a two column layout with the left block actually being
part
of the content area, so I'll probably just go the theming route for the view and the node display.
Thanks.
Steve
On May 31, 2010, at 7:56 AM, Bill Fitzgerald wrote:
Hello, Steve,
As others have pointed out, you have two viable options here:
- via the theming layer, override the node display
- using views, create a view that highlights the fields/data you want,
and display it in a block alongside the node. You'd need to set an argument that grabbed the nid via the URL
Using the view would give the end user more options over time; that may
or may not be a good thing, depending on the context ;)
Cheers,
Bill
On 5/30/10 8:59 PM, Steve Edwards wrote:
I would like to achieve the functionality shown in this theme at
http://www.styleshout.com/templates/preview/CoolBlue10/index.html?PHPSESSID=...
in a view where you have the main node contents in the main column,
and
then other items (such as user name, post date, taxonomy terms, etc.)
in
a block on the side. I need to do have this block both for each item
in
the view that lists all of the nodes, and also for the node display.
Is
this only possible with panels, or are there other ways to do it? I found the views_attachment_block module, but it will only attach the blocks list page, and won't work for the node display, and I'm not
sure
how I could get one block to line up with its respective node in
Panels,
since you usually just list the entire view in a pane, and can't
repeat
panes in a pattern.
Any suggestions welcome. I'm sure there's a way to do it; it's just
not
coming to my mind.
Thanks.
Steve
-- [ Drupal support list | http://lists.drupal.org/ ]