Closed (fixed)
Project:
Node Convert
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
17 Dec 2009 at 05:28 UTC
Updated:
24 Jan 2011 at 05:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
lee20 commentedOops. The node_convert-better-hook-init.patch wasn't quite right. Here is what I intended:
Comment #2
lee20 commentedComment #3
lee20 commentedPosting a better patch which combines the first 2 patches into a single patch.
Comment #4
lee20 commentedComment #5
jon nunan commentedWorks well for me. My only note would be the look of the 'panel layout' list going down the page, though thats easily fixed with a bit of CSS.
Thanks!
Comment #6
lee20 commentedComment #7
lee20 commentedAttached is a patch which does a better job of integrating with panels_node. It uses panels_choose_layout() to display the layout selection.
This patch also adds validation which wasn't in the previous patch and also corrects an issue with converting from a panels_node node to another type.
There is one known issue. If the conversion validation throws an error (click Convert without selecting a layout), the layout selection is no longer compacted and is a long list of options going down the page (as described by meatsack in #5). I'm not sure why the validation breaks this, but the form remains functional making it a pretty small issue.
Edit: Just wanted to mention that this patch was developed against Panels 3.7
Comment #8
lee20 commentedUpdated patch. Previous patch forgot to properly initialize the validation data.
Comment #9
alcroito commentedThanks. Edited your patch a bit, to make it work with panels-3.8.
Added to DEV.