Hi,
OK, now I understood why I can't do it the way I thought...
As I could not call midcom_show_style("div-titel") that wat ("no MidCOM
context") I get the current topicname from topic->extra out of midcom's
globals and added a switch to display the correct images for each topic. Not
very nice but it works...Now I have a question about repligard: what is the best way to copy the contents of a SG to another SG? If I create a new company in aegir, do a repligard -a -e of SG1 and repligard -a -i into SG2 I have the admin-group of SG1 in SG2 etc. Do you replicate with user set to admin*SG or SGadmin+SG?
Sorry for these stupid questions...
Have a nice weekend /ingo
|>Where and how do you call the Style element "div-titel"? Are you using |>MidCOM's style function? | | | No, I use it as a "normal" Midgard Style. It is called in the ROOT of | the main style:
That's the problem. Normal Midgard styles are attached to a page but MidCOM ties child styles to components (which govern topics, not pages).
So, you should be calling midcom_show_style("div-titel") or something (I can't remember that one by heart ;)).
Cheers!
~ //Henri
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
