Hi @all,

it would be nice if someone could verify my problem ;-) I tried it out
with the example-site in the meantime and there I have the same problem.

As I think this is an usual way to use styles with midgard/midcom I must
do something wrong...

/ingo



Zitat von pascal van hecke <[EMAIL PROTECTED]>:

> Your procedure is correct afaik, maybe there's a (Midcom)cacheing problem?
> You probably called the page already before creating the Sub12 style?

I think not. MidCOM caching should be disabled and the debug.log says it
is loading style 19, which is the ID of Sub12. Already made a little
test page without midcom and assigned the style Sub12 to it. There the
output is as expected. I fear it is a MidCOM problem... The following is 
the output of debug.log:

Feb 24 10:41:38 [info] midcom_helper__styleloader::_getComponentStyle: Current 
component has user defined style: 19
Feb 24 10:41:38 [warn] midcom_helper__styleloader::_get_style_id_from_path: 
Substyle '' not found
Feb 24 10:41:38 [info] midcom_helper__styleloader::show: trying to load "style-
init"
Feb 24 10:41:38 [info] midcom_helper__styleloader::show: trying to load "show-
article"
Feb 24 10:41:38 [info] midcom_helper__styleloader::show: trying to load "style-
finish"
Feb 24 10:41:38 [info] midcom_helper__styleloader::_getComponentStyle: Current 
component has user defined style: 19
Feb 24 10:41:38 [warn] midcom_helper__styleloader::_get_style_id_from_path: 
Substyle '' not found

Any further ideas?

thanks,
Ingo

> 
> pascal van hecke
> 
> > SG :
> >   MyStyle
> >   +Sub1
> >    +Sub12
> >    <[div-titel]>
> >    <[show-article]>
> >   +Sub2
> >   ...
> >   <[show-article]>
> >   <[ROOT]>
> >   <[content-row]>
> >   <[css]>
> >   <[div-box]>
> >   <[div-content]>
> >   <[div-menu]>
> >   <[div-titel]>
> >   <[div-unten]>
> >   <[show-article]>
> >
> > Set the Style of the category in AIS to /MyStyle/Sub1/Sub12 and debug.log
> > says this style is used for this category. But div-title is always used
> > from MyStyle, not from Sub12. Is this a misunderstanding or am I doing
> > something wrong?
> >
> > Thanks for any help,
> > Ingo
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 




-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to