Closed (fixed)
Project:
InsertNode
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
31 Aug 2009 at 22:48 UTC
Updated:
8 Nov 2009 at 08:36 UTC
First of all I love this module. It allows me to create individual nodes for products and then easily add and remove them from a page using the inline tag. However it cuts off the footer info like "send to friend", "Print", "Share" etc. Instead it is cleared
<div class="clear-block clear"></div>
Is there a way to include the node footer stuff as well?
Thanks.
Comments
Comment #1
AlexisWilke commentedfuquam,
What is the tag you use to insert your nodes?
The themed parameter should include the links (what you call footers).
Thank you.
Alexis Wilke
Comment #2
fuquam commentedyes links, thats right. It cuts off the div class for "links" and everything after the clear tag. I use [node:191]. Thanks for the reply Alexis. Let me know if you have any ideas.
- Scott
Comment #3
AlexisWilke commentedfuquam,
So did you try to do: [node:191 themed] to see whether that makes a difference?
Thank you.
Alexis
Comment #4
fuquam commentedI did but it doesn't recognize the themed parameter so it just displays . . .
[node:191 themed]
[node:194 themed]
[node:195 themed]
Comment #5
fuquam commentedI'm still using D5 and I don't think the 5.1 version recognizes themed parameters. Is that right?
Comment #6
AlexisWilke commentedfuquam,
Ah! 8-) That would explain. I don't maintain 5.x. I have added the links in 6.x. You'll have to edit the code if you want to support it.
Thank you.
Alexis
Comment #7
fuquam commentedupgrade to D6 but using [node:123 themed] still doesn't display the links. Does a new .tpl file need to accompany the inline node?
Thanks.
Comment #8
AlexisWilke commentedfuquam,
Does it also fails in Garland? Or is that only in your theme?
Thank you.
Alexis
Comment #9
fuquam commentedI tried Garland and get the same results. No links. I mainly want the five_star module to show up in the link section of the inline nodes. It shows up on the node itself just not the inline nodes placed on the page. I looked through the source code and can't figure out why its cutting off the links section.
Comment #10
AlexisWilke commentedHmmm... is that five_star module using the Link area or is that putting a block at the bottom of the screen?
Thank you.
Alexis
Comment #11
fuquam commentedThe Five Star module and the Digg This module use their own
Comment #12
AlexisWilke commentedfuquam,
Well! It looks like that is correct. I did a test on this page:
http://animals.m2osw.com/ants
and the links area is not shown! Argh!
I do call the theme('node', $node) function which I though would display the links too. But it looks like I have to use the node_view() for that.
So... to not change the existing behavior, I will add a new keyword, 'page', for this purpose. The -dev should change within the next 12h. I'm going to implement and test now, so it should be checked in within 1h if you want to look in the CVS.
Thank you.
Alexis Wilke
Comment #13
fuquam commentedI also tried adding the body variable for whatever modules I wanted included in the template for my "product" content type using /admin/content/templates but that didn't work either.
Thanks and nice work. This module really helped me arrange my custom content types. Once the links section show it will be perfect.
Comment #14
fuquam commentedAh-ha. Seems to be working now. I had to go reset my content templates but the links are showing up now.
Nice work. Thanks.
Comment #15
AlexisWilke commentedI'll take that I can mark this as fixed.
Note that the "content" keyword would do nearly the same thing as the "page" keyword. Anyway... it does not hurt to have one more.
Thank you.
Alexis Wilke
Comment #17
fuquam commentedOne note. Using [node:123 themed] does not display the "links" on inline nodes but using regular [node:123] does.
Comment #18
AlexisWilke commentedThe documentation on the front page of the module properly says that [node:123] is equivalent to [node:123 content] and not themed. I guess I first made it equivalent to themed and later changed it because it made more sense to have content.