Hi,
I have created product catalogue Magnolia app that is used by our client to 
create and update products.
The client wants to see the products in the pages following the same order as 
they are shown in our Magnolia app.
First thing I thought was to do a JCR query and assuming that the results are 
in the same order as shown in the JCR browser I can provide the results 
directly to the view 

(template script).
However, considering that we have also 2 public instances (at least) everything 
becomes a bit more complicated because the order of the nodes in the public 
instance may vary, 

therefore I think the only way to ensure to have all the nodes in the same 
order in all instances is to unpublish all the nodes from author and then 
republish them all.
The flip side of it is that everytime a a public node is node potentially it 
introduces some discrepancy in the order, because in the meantime the client 
may have changed the 

position on one node in the app, or had published something, therefore when the 
public node comes back a complete unpublish and publish of all nodes would be 
required.

So the questions are:
1.Is correct to assume that a JCR query would retreive the node in the same 
order as they are shown on the Magnolia app (browser)?
2.Unpublish and publish all the nodes would guarantee that the order of the 
nodes is the same across all the servers?
3.Does anybody knows any better way (or authomatised/brainless way) to preserve 
the order of the nodes between author and several public instances?

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=f81e17ec-9755-4257-a9ab-999153dada3b


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------

Reply via email to