I am customizing the go green site , here I want to display a flash banner in the header part.
For this I did the following
In the hst:channelinfo added new property (headerFlashBanner) and path for that (/content/assets/Flash/2010/windymobility.flv).
In the WebsiteInfo.java added the following code :
@Parameter(name = "headerFlashBanner") @JcrPath( pickerInitialPath = "/content/assets/Flash/2010" ) String getHeaderFlashBannerPath();
In
WebsiteLogo.java
I did the following:Fetched the flash doc path with the WebsiteInfo object
final String headerFlashBannerPath = info.getHeaderFlashBannerPath();
Here I did an System.out
to print banner path but it is not showing any path and no exception is occuring.
Please help me how I can display the flash banner on my website.
Please mention what's need to do for displaying flash banner on website.What will be the code changes or what new classes I need to create.