kentico_ivanat
-
5/28/2012 7:48:43 AM
RE:Getting url from Editable Image
Hi,
this will require a customization.
You can use head html web part and path to image replace with a custom macro.
In your custom macro you can read the content of editable image web part using PageInfo class.
PageInfo pi = PageInfoProvider.GetPageInfo("CorporateSite","/","en-us","",false,ConnectionHelper.ContextConnection); PageTemplateInfo pt = pi.PageTemplateInfo; WebPartZoneInstance wpzi = pt.GetZone("zoneLogo");
But maybe the easiest solution would be to modify head html web part to ensure requested functionality.
Best regards, Ivana Tomanickova
|