Needs review
Project:
Webform Template
Version:
7.x-4.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
7 Feb 2012 at 00:34 UTC
Updated:
1 Jun 2016 at 11:31 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
rv0 commentedPatch has some coding style issues
is one of them
Ideally I would love to have a matrix style config that allows you to set one or more source types per destination type
(sorry , formatting will probably be ruined)
So setting this to needs work as it doesn't really have any use committing this when it will have to be rewritten later on.
Comment #2
abtm commentedJust realised that I need the "template" or "default" feature for the webform module and went across #1689434: Six overlapping modules. Decided to try webform_template. After enabling the module and making the settings, I have two template options in the node (destination) creating form. (As I have only created two webform nodes.) I am wondering when I have 100 nodes of this type, when creating the 101st node would I have 100 template options in the select box?
Comment #3
rv0 commented@abtm
This seems only slightly on topic to this feature request.
Use a "template only" content type or custom coding (hook_form_alter) for your usecase.
Please create a seperate issue if you need more help with this, this is out of scope for this issue.
Comment #4
SGhosh commentedThanks a lot for the patch. I am using version 7.x-1.2. Works awesome with a few minor changes -
Comment #5
rv0 commented@SGhosh
Why are you removing that function?
And please, use patch files instead of manually inserting large texts in the issue queue
Comment #6
SGhosh commented@rv0
yep sorry about that. I found out later that function is being called somewhere else too.
And about not submitting a patch, following how patches area created for drupal modules I was supposed to first clone the project, however I didn't find one for version 7.x-1.2 so went ahead and pasted the code here. Will be more careful from next time though. Thanks.
Comment #7
rv0 commented@SGhosh
When writing patches always use latest dev. http://drupal.org/project/webform_template/git-instructions
Always provide some explanation about what and why you changed things.
In any case, this patch wont make it for the reasons stated earlier (grid approach)
Comment #7.0
rv0 commentedgrammar
Comment #8
socialnicheguru commentedthe patch no longer applies cleanly to Sept 15, 2015 - 7.x-4.0 version.
https://www.drupal.org/node/2568943
Comment #9
xumepadismal commentedI think we need to switch to the recommended channel…
This patch is an attempt to address #1. Clear caches is required after patching. Please review