Share » Forums » Developer » Interesting (I think) design issue...

Interesting (I think) design issue regarding caches

Interesting (I think) design issue regarding caches

Thursday 05 January 2006 1:42:10 am - 1 reply

Author Message

Xavier Dutoit

Thursday 05 January 2006 2:56:05 am

Hi,

I've done something similar with the enhanced object relation.

http://ez.no/community/contribs/datatypes/enhanced_objectrelation

here the idea is to fetch the reverse related object as "children".

On the smart cache, I set up to clear the content object and the related objects and it works fine.

This being said, you can set the locations while editing the content and create your custom template to set the locations.

The trick is to add:

<input type="hidden" name="useNodeAssigments" value='1' />

Then you can set placements. The doc is kind of laking last time I checked, so have a look at the forums and source code.

There are the variables I use:

<input type="hidden" name="MainAssignmentElementNumber" value="1" /> 
<input type="hidden" name="SortOrderMap" value="" />
<input type="hidden" name="SortFieldMap" value="" />
<select name="SetPlacementNodeIDArray[1]" ...

Good luck and keep us informed

X+

http://www.sydesy.com

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu