Hi Rene,

yes, actions.xml is overridable from extensions. You can see this in the /src/site/actions/sitemap.xmap:

<!-- actions.xml overridable in extensions folder -->
     <map:match pattern="actions.xml">
       <map:select type="resource-exists">
         <map:when test="extensions://actions/resources/xml/actions.xml">
<map:generate src="extensions://actions/resources/xml/actions.xml"/>
         </map:when>
         <map:otherwise>
           <map:generate src="resources/xml/actions.xml"/>
         </map:otherwise>
       </map:select>
       <map:serialize type="xml"/>
     </map:match>

So you can place your custom actions.xml in <extensions folder>/actions/resources/xml/actions.xml .

What resourceType do you want to add / what are you trying to achieve? Can you give us some more details ?

regards,

Dennis




Rene van Lier wrote:
Hi all,

Is there a way to add a resourceType using extensions? We would like to
use actions.xml but not be limited to the default resourceTypes.

Thanks,

Rene.
Ing. R. van. Lier
Consultant
GSM: +31 (0)6 48 05 37 55
Daidalos BV
Source of Innovation
Hoekeindsehof 1-4
2665  JZ  Bleiswijk
Tel.: +31 (0) 10 850 1200
Fax: +31 (0) 10 850 1199
www.daidalos.nl KvK 27164984


De informatie - verzonden in of met dit emailbericht - is afkomstig van 
Daidalos BV en is uitsluitend bestemd voor de geadresseerde. Indien u dit 
bericht onbedoeld hebt ontvangen, verzoeken wij u het te verwijderen. Aan dit 
bericht kunnen geen rechten worden ontleend.
********************************************
Hippocms-dev: Hippo CMS development public mailinglist

********************************************
Hippocms-dev: Hippo CMS development public mailinglist

Reply via email to