Solprovider wrote:
>Suggestions that Assets should be associated with Publications rather
>than Documents seem well-received, but I have not noticed any work on
>it. I filed a bugzilla:
>http://issues.apache.org/bugzilla/show_bug.cgi?id=35173
A limited work around which sort of gives a global
assets management functionality was suggested a while ago by someone on the
list.
Think it might have been gregor rothfuss ? might be
slandering him though.
Anyway we implemented it with okay
results.
- Create a page at the top of your site tree and remove it from being displayed in your site navigation. (We called this page rather optimistically global assets)
- Change the way the the insert assets dialog works so that it list assets for the local page and the global assets page
- Change the way your chosen editor writes internal links into your page xml so that global asset resources are referenced relative to the global assets page (our url's look awful, lots of ../../../../)
- Never ever ever delete the global assets page!!!
Draw backs
- global assets page is live and you must ensure no one can link to it
- when you add an image the global page must be published separately. (adding a asset does not count as an edit so youmust make a dummy edit!!)
- and the major one is: cutting and pasting a page will break global page url references! (move is okay as you can't change the level) I can't quite remember why but i could not get absolute refs to work
HTH
Lee C