From: Ben W. <be...@re...> - 2008-10-23 12:59:28
|
Hi there, I'm struggling with the events system. I know there are lots of events, and I have started to make use of this, but I can't find the event/s I need. Here's the scenario. - I add a field to upload forms (that part's worked great)§ - When the various pages that show the upload are displayed, I want to include the content of that field. Depending on some other variables associated with the field I may want to display various different texts. I would like to specify exactly where in the page the new texts appear. Thanks, Ben |
From: Victor S. <fou...@gm...> - 2008-10-23 18:47:24
|
On Thu, Oct 23, 2008 at 1:01 PM, Ben Weiner <be...@re...> wrote: > - When the various pages that show the upload are displayed, I want to > include the content of that field. Depending on some other variables > associated with the field I may want to display various different texts. > > I would like to specify exactly where in the page the new texts appear. short answer: "various pages" means specific templates and it means hacking each template. Each template has a "dataview" associated with it and if you don't have your field available during the render phase (like it's in upload_extra) then you need to re-assign the dataview to one of you own that requests that field. I can spell this out in a step-by-step tutorial -- but not until next week. (As a preview you can grep for CC_EVENT_FILTER_EXTRA) VS |
From: Ben W. <be...@re...> - 2008-10-23 19:00:29
|
Hi Victor, Thanks very much for these responses. Hope the conferences are good! Ben |