i have created a add on to display views a resource has gotten its working but i have to put this code in template for views
<dl><dt>{xenhrase views}:</dt> <dd>{xen:number $resource.viewcount}</dd></dl>
i want to use following code with my add on ...how it is possible
<modification template="TEMPLATE_NAME" modification_key="ADDON_NAME" description="ADDON_
DESCRIPTION" execution_order="1" enabled="1" action="callback">
<find></find>
<replace></replace>
</modification>
<dl><dt>{xenhrase views}:</dt> <dd>{xen:number $resource.viewcount}</dd></dl>
i want to use following code with my add on ...how it is possible
<modification template="TEMPLATE_NAME" modification_key="ADDON_NAME" description="ADDON_
DESCRIPTION" execution_order="1" enabled="1" action="callback">
<find></find>
<replace></replace>
</modification>