[Hippo-cms7-user] Skinning the CMS interface

Frank van Lankvelt f.vanlankvelt at onehippo.com
Thu Dec 3 14:54:34 CET 2009


Hi Edwin,

looking at the issue, it should be fixed in the later 2.09.xx (xx >
00) releases of the CMS.

cheers, Frank

On Wed, Dec 2, 2009 at 6:18 PM, Edwin Benneheij <ettepet at gmail.com> wrote:
> Hi,
> Because of low priority I didn't spend much time on this issue.
> I still can't see my custom "my_class" in the source-code of a document with
> I added in the "CSS class" of its documenttype:
> <sv:property sv:name="css" sv:type="String">
>    <sv:value>my_class</sv:value>
> </sv:property>
> Can anyone confirm this should work in the version we're using:
> <hippoecm.version>2.06.14</hippoecm.version>
> <hst.version>2.04.00</hst.version>
> Regards,
> Edwin
>
> On Oct 16, 2009, at 4:06 PM, Edwin Benneheij wrote:
>
> Hi Frank,
>
> Thanks for your reaction! That's exactly what I expected....
> But no, the css class doesn't get into the html ( indeed, the caption does),
> see my result:
>
> <div class="hippo-editor-field">
>     <h3 class="hippo-editor-field-title"><span>my_caption</span></h3>
> .
> .
> </div>
>
>
> This is what I expected:
> <div class="hippo-editor-field my_class">
>     <h3 class="hippo-editor-field-title"><span>my_caption</span></h3>
> .
> .
> </div>
>
> or:
>
> <div class="hippo-editor-field">
>    <div class="my_class">
>       <h3 class="hippo-editor-field-title"><span>my_caption</span></h3>
> .
> .
>     </div>
> </div>
>
> Unfortunately, searching the html for the string "my_class" doesn't give any
> results !?
> Is there something else besides this "sv:property css"-thing I need to
> export?
>
> By the way, we are using:
>     <hippoecm.version>2.06.13</hippoecm.version>
>     <hst.version>2.04.00</hst.version>
>
>
> Greets, Edwin
>
>
> On Fri, Oct 16, 2009 at 1:56 PM, Frank van Lankvelt
> <f.vanlankvelt at onehippo.com> wrote:
>>
>> the css class should be there on an element higher up in the DOM,
>> including the caption as well.
>>
>> cheers, Frank
>>
>> On Fri, Oct 16, 2009 at 12:19 PM, Edwin Benneheij <ettepet at gmail.com>
>> wrote:
>>>
>>> Hi,
>>>
>>> Whilst customizing the CMS-skin I was wondering how to use the field "CSS
>>> Classes" when creating/editing a field in a documenttype.
>>> I can see it's value eg. "my_class" in the XML-export of the
>>> documenttype:
>>> <sv:property sv:name="css" sv:type="String">
>>>        <sv:value>my_class</sv:value>
>>> </sv:property>
>>>
>>> But, when creating a new document based on this new description, this
>>> class isn't attached to the specified field.
>>> And therefor, I am not able to, for example, change this fields
>>> background.
>>> I expected something like this:
>>> <input class="my_class" />
>>>
>>> And then put in the custom skin.css file something like:
>>> .my_class {
>>>      background: #f00;
>>> }
>>>
>>> Can somebody explain how and where to use this CSS Classes field when
>>> editing a documenttype?
>>>
>>> Thanks in advance,
>>> Edwin
>>>
>>>
>>>
>>> _______________________________________________
>>> Hippo-cms7-user mailing list and forums
>>> http://www.onehippo.org/cms7/support/community.html
>>
>>
>> _______________________________________________
>> Hippo-cms7-user mailing list and forums
>> http://www.onehippo.org/cms7/support/community.html
>
>
>
> _______________________________________________
> Hippo-cms7-user mailing list and forums
> http://www.onehippo.org/cms7/support/community.html
>



More information about the Hippo-cms7-user mailing list