cancel
Showing results for 
Search instead for 
Did you mean: 

editing a custom content

nuga
Champ in-the-making
Champ in-the-making
I want to edit a custom content item with two content wells/entries.
how do i accomplish this?
ex: i have a content with two pieces of data.  A question and an answer. How do i create this content such that both pieces are editable as content items
-luke?


   <type name="fs:FAQ" >
            <title>FAQ</title>
            <parent>fs:webItem</parent>
            <properties>
                <property name="fs:answer">
                    <type>d:content</type>
                    <mandatory>false</mandatory>
                    <!— Index content in the background –>
                    <index enabled="true">
                        <atomic>true</atomic>
                        <stored>false</stored>
                        <tokenised>true</tokenised>
                    </index>
                </property>
            </properties>
        </type>
2 REPLIES 2

nuga
Champ in-the-making
Champ in-the-making
bump!

nuga
Champ in-the-making
Champ in-the-making
an alternate solution that would work would be
would be
if there existed a component-generator that created a "tiny-mce" wrapped input field
has anyone created one or is there an easy way to do this?

  <config evaluator="node-type" condition="fs:FAQ" >
        <property-sheet>
            <show-property name="fs:webName" />
            <show-property name="fs:searchMeta" />
            <show-property name="fs:answer" component-generator="HTMLTextFieldGenerator" />

        </property-sheet>
    </config>