Closed (fixed)
Project:
Inline and link Drupal objects (Linodef)
Version:
6.x-1.x-dev
Component:
Buttons API
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
4 Nov 2008 at 11:17 UTC
Updated:
15 Dec 2008 at 09:33 UTC
This is a common wishlist for Linodef. It could be realized in future but nobody knows if this happens. ;)
Comments
Comment #1
pepe roni commentedWhy don't you extend your filter like this:
[#nid:fieldname:number this is a comment]
and everything after the first blank and before the closing bracket will not be output.
Editors can then comment on the tag, and the linodef-BuEditor Button can also include the description from the selection popup into the linodef tag!
(Btw. it would be better to have a comment filter to insert editor comments into the content area that can be filtered out.)
Comment #2
Roi Danton commentedI currently don't see the advantage of the comment resp what you do intent with such a comment. Could you give some more info please?
EDIT: Ah, you do mean comment == content the tag includes?
Comment #3
pepe roni commentedYes, your right, e.g.
So the Editor knows, what node 5 is about and has no need to go to node/5 to achieve this. Also advices for translators can be added in this manner (e.g. please change this to the translated node when translating this node).
Comment #4
Roi Danton commentedI see the point.
The downsides on this method:
To support WYSIWYG editors it would be best if the filter functions are called via ajax To enable this with all editors those code would be best to go inside the WYSIWYG Api.
Comment #5
pepe roni commentedYou're right, the comment won't change, but the comment will comment about the content of a node, if a node's content completely change, the comment will be wrong. But normally the comment will stay intact. This comment has the same disadvantage as any comment: if the thing the comment comments about is changed in functionality and the comment is not changed, the comment becomes outdated.
So your first point is not relevant.
I suggest to take the title as comment. If the title contains hundred words, take hundred words. If the comment is to large, the editor can trim the comment to his/her needs. The comment is a copied text portion!
So your second point is not relevant, too.
In a WYSIWYG environment you don't need such comments as
Comment #6
Roi Danton commentedChanged title.
So by including a field also the nodetitle should be used as a comment. The buttons will include them in rc3. Admin should be able to turn comments off and on for buttons in the same form as he sets the button sort method: #337302: Sort options for the buttons itemlist.
Comment #7
Roi Danton commentedNotwithstanding what I said before this feature is going to be a part of the RC2 release.
Comitted to D6 branch. Please test the dev release on a test environment for bugs/flaws since with this dev update Linodef got tons of new features. RC2 will be released before Christmas unless major design bugs are found. If you find a bug relating this issue then reactivate it, please. Thx!