I have a database where we have many Customers who have many Projects which have many documents.
My public directory stucture matches this model so that images might be stored in /docstore/1000000/1000234/1000034/images where each number is the id for the database row.
At the moment I've integrated CKFinder like this
CKFinder.SetupCKEditor(editor, '/javascripts/ckfinder/','<%= @document.id %>');
so that the document id is used as the type and passed in every subsequent call that CKFinder makes and allows me to extrapolate the Project and Customer number and therefore the correct path for each command in my custom connector.
This works okay but i have a requirement that makes this insufficient, is there a way to add information to all the calls CKFinder makes or can anyone suggest the best way of achieving this? I'd rather not use cookies or session variables.
Regards
Mark
My public directory stucture matches this model so that images might be stored in /docstore/1000000/1000234/1000034/images where each number is the id for the database row.
At the moment I've integrated CKFinder like this
CKFinder.SetupCKEditor(editor, '/javascripts/ckfinder/','<%= @document.id %>');
so that the document id is used as the type and passed in every subsequent call that CKFinder makes and allows me to extrapolate the Project and Customer number and therefore the correct path for each command in my custom connector.
This works okay but i have a requirement that makes this insufficient, is there a way to add information to all the calls CKFinder makes or can anyone suggest the best way of achieving this? I'd rather not use cookies or session variables.
Regards
Mark