Hi Srikanth,
Including common business logic is a way to manage your business logic
in one place for multiple templates.
You can add this to your types.xml:
<resource name="common" label="Common (CMS)" type="abstract">
<bl>extensions://types/common/common_bl.xml</bl>
</resource>
Now you can add that business logic in all your templates just by using:
<businesslogic>
<import id="common"/>
</businesslogic>
Regards,
Steven
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of
Srikanth.NT
Sent: maandag 22 december 2008 17:07
To: [email protected]
Subject: RE: [HippoCMS-dev] Using Extension
Thanks very much, it works.
How do I include common business logic file. I tried the way mentioned
in http://www.hippocms.org/display/CMS/03.+Developing+templates
I did not understand where is the folder common defined.
<import href="common/macros"/>
Mine is common_bl.xml under the
\hippo-cms-v6.05.04\sites\hippo-cms-extensions\common\common_bl.xml
Also I would like to know is there any working example / artical which
has common business logic, layout implementation.
Thanks,
Regards,
Srikanth
-----
http://ntsrikanth.blogspot.com/
--
View this message in context:
http://www.nabble.com/Using-Extension-tp21127356p21130223.html
Sent from the Hippo CMS development public mailinglist mailing list
archive at Nabble.com.
********************************************
Hippocms-dev: Hippo CMS development public mailinglist
Searchable archives can be found at:
MarkMail: http://hippocms-dev.markmail.org
Nabble: http://www.nabble.com/Hippo-CMS-f26633.html
********************************************
Hippocms-dev: Hippo CMS development public mailinglist
Searchable archives can be found at:
MarkMail: http://hippocms-dev.markmail.org
Nabble: http://www.nabble.com/Hippo-CMS-f26633.html