Sub categorys

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

Previous topic - Next topic
A financial contribution is greatly appreciated as a support, to help us to keep live the project.
If you like this project you can donate some piece of BitCoin to this address: bc1qy5tgq6tvrckac2a57unxvqcnxamrvhduve9sj9

Hessu007

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

A financial contribution is greatly appreciated as a support, to help us to keep live the project.
If you like this project you can donate some piece of BitCoin to this address: bc1qy5tgq6tvrckac2a57unxvqcnxamrvhduve9sj9

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]

A financial contribution is greatly appreciated as a support, to help us to keep live the project.
If you like this project you can donate some piece of BitCoin to this address: bc1qy5tgq6tvrckac2a57unxvqcnxamrvhduve9sj9

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]