Overriding An Asset

From AV Scripts Wiki
Revision as of 11:47, 18 May 2015 by Andy (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

You can override images and other assets in AVCMS without overwriting the original file. Lets use an example image.

Say you see an image and you see it's URL looks like this:

   yoursite.com/web/resources/Users/images/default_avatar.png

You can take a copy of that file and place it in this matching directory, but in the webmaster folder rather than the web folder:

   yoursite.com/webmaster/resources/Users/images/default_avatar.png

After making your changes, enter your admin panel and from the cog icon in the top-left corner, select Regenerate Assets and your image should now show in place of the old one.