Closed (fixed)
Project:
Activity
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
12 Apr 2010 at 03:46 UTC
Updated:
27 Apr 2010 at 01:46 UTC
I've adventured to the code and issue queues, but can't seem to find a way to theme the output of imagefield, so I can make use imagecache. Currently I did it with token replacements which is not flexible enough when moving sites. So is there a theme function I missed?
Thanks for any direction.
Comments
Comment #1
Scott Reynolds commentedI take it you want to display a imagefield that is attached to a node type? The way to do that is to use the Activity -> node relationship and add your field to the View.
If that didn't work, please describe what you tried to do?
Comment #2
gausarts commentedActually, I am trying to have a template in the Activity Publisher Template such as:
Record an activity message when: node insert types with CCK fields.
Something like this perhaps:
Since I prepared lots of templates, I want it done before reaching Views. When I am on Views, I want to grab the generic activity messages, without bothering much about individual fields anymore. Just trying to be efficient with lots of messages :) Perhaps I just I need more tokens related to imagecache paths. Otherwise, node relationship is the way to go.
What bothered me, without exportable capabilitiy, is I have to rewrite lots of "sites/localhost.drupal" into new url when moving sites to live.
Thanks
Comment #3
Scott Reynolds commentedahh interesting. Ya you know what your doing. I am working on: #463854: Generate activity on a current site so you could actually rebuild all activity again, especially if you change your imagecache preset.
Problem with exportable is that we use Actions and triggers and they are part of Core and arn't written with exportable behavior in mind.
Comment #4
gausarts commentedOkay. Tracking on the mentioned issue. Thanks