Seppo Sahi wrote:
> I'm not familiar with configuring a component. So I think we have to
> start from the basics. I have now the
> '/sitegroup-config/no.odindata.quickform/' snippet directory. I know
> that I can find the default configuration in
> '../midcom/lib/no/odindata/quickform/config' directory in my local
> filesystem. What do I have to do then?
> 1. What is the purpose of each file in the local filesystem?
> 2. Where do I put the modified version under the
> '/sitegroup-config/no.odindata.quickform/' snippet directory?
You don't. Use eg. 'snippets' leaf in Aegir instead. I wrote a quick
entry for the documentation in
https://www.midgard-project.org/documentation/midcom-component-configuration/
In nutshell:
1) log into Aegir
2) go to snippets -leaf
3) create snippet directories '/sitegroup-config/no.odindata.quickform'
4) create snippet 'config'
5) copy and paste the original config
- change the schema path to what you want to
- with experience I'd recommend to use
'/sitegroup-config/no.odindata.quickform' for the path
6) write schema
- you can use the original schema as a guideline
- rule of thumb: if you don't know what 'location' to specify, use
'parameter'
Eclipse might be one tool that might help when browsing through
component schemas, styles and such. I was writing in the summertime a
bit of a small tutoria to explain some parts of schemas, yet the work
was left on the table. It's *very* incomplete, but can be found in
http://www.kaktus.cc/midgard/schema/
> Then I wonder if this customized configuration is sitegroup specific.
> How do I create two different forms in the same sitegroup?
'no.odindata.quickform' has in 'component configuration' a place where
you can enter the schema path if you don't want to use the default.
BTW, if you want to get a local tutor, you can also contact me. My
office is in Matinkylä, so we could also sit down and take a look under
the skirt of MidCOM.
--
Adrenalin
---------------------------------------------------------------------
To unsubscribe, e-mail:
user-unsubscribe@midg...
For additional commands, e-mail:
user-help@midg...
opensubscriber is not affiliated with the authors of this message nor responsible for its content.