Closed (fixed)
Project:
Wysiwyg API template plugin
Version:
7.x-2.7
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
14 Jul 2011 at 16:03 UTC
Updated:
24 Oct 2012 at 12:05 UTC
Jump to comment: Most recent file
Comments
Comment #1
guybedford commentedVery nice - thanks for this functionality.
Will certainly look at adding this to the next release.
Comment #2
imp7 commentedHope to see this feature in makes the plugin so much nicer for visual minded editors.
Comment #3
btopro commentedOriginal patch has been refactored against 2.7. File IDs can now be exported, imported, and files can be added / deleted per template added. Also fixes glitches with original patch and removes needless tabs from the module replacing them with spaces. I've attached the patch and two screenshots of what this patch will give you.
Comment #4
Elder Brother commentedAre there any obvious pointers someone could suggest to amend this patch for the latest 6.x version?
Thanks.
Comment #5
btopro commentedhttp://drupal.org/node/1645916 -- this patch provides very basic support for template images in elms. It does this by adding the property automatically when rendering with a link to the templatename lowercase without spaces and .png.
Again, this is extremely simplistic and the 7.x patch is much more robust but it's at least something to get by. Because of the increased file support in D7 it'll be slightly more annoying to do. Also there's no core imagecache support in 6 so images would have to be the right size (or create more dependencies).
Comment #6
guybedford commentedThanks so much for this - it is very welcomed functionality.
It all works nicely - there was a minor bug I had to fix to ensure there were no error messages when there is no image for a template.
I've applied the changes, and pushed it out in the 7.8 release.
Comment #7
btopro commentedahh, yeah commit to alter patch made sense. Wish there was a better way of packaging images as exportables but that's not an issue with this module so much as an issue with bundling static files with deployment routines (via features at least).
Thanks for getting that committed, look forward to a 2.8 release (i see its tagged as it but no release node)
Comment #8
guybedford commentedYeah it's there on the releases page - http://drupal.org/node/487184/release, and will come up publicly soon.
It just takes Drupal some time to push it out there.
Comment #9
guybedford commentedComment #9.0
guybedford commentedupdate: does not...