Sorry to bother everyone again, but I need to get just the names of
creditors and tags against each workflow. I’ve copied the stuff from
_table.rhtml and got:
<% unless (creditors = workflow.creditors).empty? %> cn_<%=
workflow.id %> = "<% creditors.each do |c| %><%=
contributor(c.creditor_id, c.creditor_type) %><% end %>"; <% else %>
cn_<%= workflow.id %> = ""; <% end %>
<% unless (tags = workflow.tags).empty? %> ta_<%= workflow.id %> =
"<%= tag_cloud_from_collection tags, true %>"; <% else %> ta_<%=
workflow.id %> = ""; <% end %>
But of course contributor and tag_cloud... give full html stuff. I
have tried to figure out where to get this information by searching
the code for relevant bits but have failed. (Maybe now I understand a
*little* bit more I could do with another explanation of how the
myExperiment rails app is structured and works.)
In the meantime, could I ask just for the creditor names and tag names
to plug into the above code?
Thanks,
Tony.
------------------------------------------------------------------------
_______________________________________________
Myexperiment-discuss mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/myexperiment-discuss