Closed (fixed)
Project:
InsertNode
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
16 Apr 2008 at 20:43 UTC
Updated:
13 Apr 2009 at 16:24 UTC
Jump to comment: Most recent file
Comments
Comment #1
gost_gost commentedI'm trying to get it to work with 5.7
could you please explain what you did and what the problems were?
right now filter seems not to parse filter tags [node: ] etc.
Comment #2
GeoffGlasson commentedI tried the original patch and it did not apply cleanly. I've made the changes manually and created a new patch file (attached). The module works quite happily within Drupal 6 although the Coder module suggests a number of changes that should be made in order for the module to meet the coding standards. The attached patch DOES NOT address coding standards.
Comment #3
Flying Drupalist commentedCan somebody please update. Thanks.
Comment #4
AlexisWilke commentedI have my own version now... 8-)
Pretty much the same, it includes a "collapsible" mode as well, and the code is reformatted.
Just in case, I put the entire module rather than a patch since it is a lot easy for many people to use a complete tarball instead. (also really the patches were close to nothing.)
Thank you.
Alexis Wilke
Comment #5
basicmagic.net commentedhi alexis and thanks
just fyi-
i am using this on drupal 6.9
works like a charm- perfect!
thanks for sharing your work.
vincent, in buffalo
http://basicmagic.net
Comment #6
basicmagic.net commentedadding tags for this node...
Comment #7
capellicThanks for the archive, Alexis.
Comment #8
lazly commentedIt looks like fine, thx!
Comment #9
alan d. commentedNice.
Just one small point, the module ends with a trailing ?> and a single whitespace\linefeed. This is not needed and can lead to the nasty "white screen of death". Just remove this closing tag altogether.
Comment #10
AlexisWilke commentedThere is a newer version. I also fixed the version in the .info file.
Thank you.
Alexis
Comment #11
dchaffin commentedI have the latest version posted above by Alexis working in my Drupal 6.9 install and it's working perfectly except when trying to insert WebForms. I assumed this would behave like any other node, but I guess not. Does anyone have any suggestions on this?
Thanks.
Comment #12
AlexisWilke commentedWhat do you call WebForms? Is that a module?
Thank you.
Alexis
Comment #13
Grayside commentedIt's a module used for formbuilding. Surveys, Polls, Quizzes, and the like. If InsertNode isn't working with it, I'd guess it doesn't use the same node fields for it's content. For example,
$node->bodymight not have the webform content.Comment #14
AlexisWilke commenteddchaffin & Grayside,
I would think that this module creates the content of pages in a way that does not indeed get copied in the node body variable. I would think that would require us to write specialized code...
I have now created version 6.x for the project (I'm one of the developers since Mar 2, 2009).
Please, create a new post to talk about this problem, so that way we can track that separate from the main Drupal 6 port.
For now, I will close this issue (mark it fixed).
Thank you.
Alexis Wilke
Comment #15
alan d. commented@dchaffin
In the fieldset "Webform advanced settings", select "Show complete form in teaser"
Comment #16
AlexisWilke commentedAlan,
Will that show the Webform with [node:whatnot teaser] ? Or will it also work with the body?
Thank you.
Alexis
Comment #17
alan d. commentedJust a note to readers, this issue is closed
@Alexis With that option checked, both the teaser and body should have the form (see footnote). When it is not it checked, the teaser part of the body section should show by itself
If this is not the case, paste the following code directly into a template, changing xxx to the webform node id: (this only shows for the admin user)
If this shows correctly, but the insertnode tag does not, then check your tag format, and if still an issue, lodge another ticket here. If this does not display properly, lodge an issue in the WebForm queue. Make sure all modules are up to date.
footnote: Please note that if you have defined the teaser break in the description field, the form will not show.
Eg: The following only shows "The description field, Go to form"
The form will never show in the teaser, even with the "Show in teaser" option checked. This can be considered as a bug or a feature, depending on your requirements.
Comment #19
strestus commentedI tried all you sugested , but still empty page .
Comment #20
strestus commentedThe dev version seems to have solved the problem
Comment #21
strestus commentedThe dev version seems to have solved the problem
Comment #22
AlexisWilke commentedStrestus,
Yes. This is also an older bug. You could have created a new entry instead.
Thank you.
Alexis Wilke