Sub categorys

Started by Hessu007, 06 October 2015, 13:48:34

Previous topic - Next topic

Hessu007

I tryes great sub categoryes but componets dont allow. Is this feature or bug?

federica

Hi Hessu007,
abook allows to create subcategories. Why you say it doesn't work?
Al mondo ci sono 10 tipi di persone, quelli che hanno capito il codice binario e quelli che non l'hanno capito.
Informatizzati [url="https://informatizzati.org"]https://informatizzati.org[/url]
Stacca la spina [url="https://disconnessi.org"]https://disconnessi.org[/url]

Hessu007

Quote from: federica on 14 October 2015, 11:50:41
Hi Hessu007,
abook allows to create subcategories. Why you say it doesn't work?

ın my platform only one subchategory, we need more

federica

If you try to create sub-sub-category which error appears?
Al mondo ci sono 10 tipi di persone, quelli che hanno capito il codice binario e quelli che non l'hanno capito.
Informatizzati [url="https://informatizzati.org"]https://informatizzati.org[/url]
Stacca la spina [url="https://disconnessi.org"]https://disconnessi.org[/url]

Hessu007

Quote from: federica on 14 October 2015, 12:27:12
If you try to create sub-sub-category which error appears?

Maınly dont save ıt

federica

edit administrator/components/com_abook/models/forms/category.xml line 16
from:
<fieldset name="details"
                addfieldpath="/administrator/components/com_abook/models/fields"
        >
        <field
                name="parent_id"
                type="categoryparent" extension="com_abook" show_root="true"
                label="COM_ABOOK_FIELD_PARENT_LABEL"
                class="inputbox"/>
</fieldset>

to:
       <field
                name="parent_id"
                type="categoryparent" extension="com_abook" show_root="true"
                label="COM_ABOOK_FIELD_PARENT_LABEL"
                class="inputbox"/>
Al mondo ci sono 10 tipi di persone, quelli che hanno capito il codice binario e quelli che non l'hanno capito.
Informatizzati [url="https://informatizzati.org"]https://informatizzati.org[/url]
Stacca la spina [url="https://disconnessi.org"]https://disconnessi.org[/url]